Re: [kvm-devel] [PATCH] load_pdptrs cleanups

2007-07-26 Thread Avi Kivity
Rusty Russell wrote: > load_pdptrs can be handed an invalid cr3, and it should not oops. > This can happen because we injected #gp in set_cr3() after we set > vcpu->cr3 to the invalid value, or from kvm_vcpu_ioctl_set_sregs(), or > possibly (?) memory configuration changes after the guest did > set

[kvm-devel] [PATCH] load_pdptrs cleanups

2007-07-24 Thread Rusty Russell
load_pdptrs can be handed an invalid cr3, and it should not oops. This can happen because we injected #gp in set_cr3() after we set vcpu->cr3 to the invalid value, or from kvm_vcpu_ioctl_set_sregs(), or possibly (?) memory configuration changes after the guest did set_cr3(). We should also copy th