RE: [patch] fix kvm_arch_vcpu_ioctl_[gs]et_regs()
"Zhang, Xiantao" <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64 |
|---|---|
| Message-ID | <706158FABBBA044BAD4FE898A02E4BC21C53B03F@pdsmsx503.ccr.corp.intel.com> |
Jes,
The patch is fine for me. Please push this patch and the privious one together to Avi, and Avi will help to push them into 2.6.29. Thanks a lot!
Xiantao
Jes Sorensen wrote:
> Zhang, Xiantao wrote:
>> Jes
>> Good work! I ever talked about the issue with Avi and wanted to
>> enable the logic with the following patch, and Avi thought it may
>> lead to security issues, so deferred to now :)
>>
>> One comment: We still need the logic to save and restore the vcpu's
>> stack for vcpu resuming to the guest in the same environment. Maybe
>> you can allocate one buf to save it in kvm_reg structure. Xiantao
>
> Xiantao,
>
> I have come up with a patch for this. Before we push it, would you
> mind taking a look at it and let me know if it looks right? I don't
> have any way of really testing this.
>
> Cheers,
> Jes