Re: [kvm-devel] kvm_regs vs kvm_sregs?

2007-03-22 Thread Hollis Blanchard
On Sun, 2007-03-18 at 07:13 +0200, Avi Kivity wrote: Hollis Blanchard wrote: What is the distinction between kvm_regs and kvm_sregs? As far as I can see, kvm_regs is only used when emulating IO, emulating MMIO, and emulating CPUID, where guest GPRs are directly modified. kvm_sregs is only

[kvm-devel] kvm_regs vs kvm_sregs?

2007-03-16 Thread Hollis Blanchard
What is the distinction between kvm_regs and kvm_sregs? As far as I can see, kvm_regs is only used when emulating IO, emulating MMIO, and emulating CPUID, where guest GPRs are directly modified. kvm_sregs is only used for full CPU state save (for later restore). When the kernel had to use