rust-vmm / kvm-ioctls

Apache License 2.0
255 stars 103 forks source link

vcpu: export reg_size as a public method #235

Closed xuejun-xj closed 10 months ago

xuejun-xj commented 10 months ago

For better use of set_one_reg/get_one_reg on arm, it's useful to export the helper method reg_size to be used outside of the crate.

fixes #234

Summary of the PR

Export reg_size as a public function.