Re: suspend/resume on BHyVe

2013-04-02 Thread Iori怀YONEJI
Hi all, I couldn't spare much time to consider about this topic because I have to move to new house, but now I'm OK. I'm implementing registers-save feature including: 1. libvmmapi with get_vmxctx 2. kernel supports of 1. 3. user-land hack using 1, that saves registers and some configuratio

Re: suspend/resume on BHyVe

2013-04-02 Thread Takuya ASADA
You can dump whole struct just a binary array(don't look into it in your program), and get sizeof(vmxctx) via ioctl return. It should enough to suspend/resume. Then if AMD SVM mode will have different values on the structure, your implementation won't break. Does it make sense? > Peter, Neel And,