suspend/resume on BHyVe

Takuya ASADA syuu at dokukino.com
Wed Mar 27 10:05:48 UTC 2013


Hi,

> A brute force way of figuring out all the state must be saved is to
> look at all the initialization functions that are called when a vm and
> a vcpu are created. So, this would be vm_create() and vcpu_init() in
> the kernel module.

I think these things are need to dump by resume action:

- guest memory area
- struct vmxctx
- VMCS page
- VLAPIC registers
- virtio device state (dumping virtio ring?)
- current configuration of bhyve process (with was configured by an
arguments passed to bhyve process)

Maybe there's more.


More information about the freebsd-virtualization mailing list