Re: [Qemu-devel] [PATCH] allow update of MSR_EFER_SVM

2008-02-29 Thread Bernhard Kauer
On Fri, Feb 29, 2008 at 11:20:24AM +0100, Alexander Graf wrote: > Keep in mind that updating the bit should fail within a virtual machine. I found the following sentence in the manual: The effect of turning off EFER.SVME while a guest is running is undefined; therefore, the VMM s

Re: [Qemu-devel] [PATCH] allow update of MSR_EFER_SVM

2008-02-29 Thread Alexander Graf
On Feb 29, 2008, at 10:41 AM, Bernhard Kauer wrote: On Wed, Feb 27, 2008 at 06:03:49PM +0100, Alexander Graf wrote: MSR_EFER_SVM is not defined in my qemu version. What does the bit change if set? The AMD vol2 reads like this: Secure Virtual Machine Enable (SVME) Bit. Bit 12. Enables the

Re: [Qemu-devel] [PATCH] allow update of MSR_EFER_SVM

2008-02-29 Thread Bernhard Kauer
On Wed, Feb 27, 2008 at 06:03:49PM +0100, Alexander Graf wrote: > MSR_EFER_SVM is not defined in my qemu version. What does the bit change > if set? The AMD vol2 reads like this: Secure Virtual Machine Enable (SVME) Bit. Bit 12. Enables the SVM extensions. When this bit is zero,

Re: [Qemu-devel] [PATCH] allow update of MSR_EFER_SVM

2008-02-27 Thread Alexander Graf
On Feb 27, 2008, at 5:07 PM, Bernhard Kauer wrote: MSR_EFER_SVM is not defined in my qemu version. What does the bit change if set?

[Qemu-devel] [PATCH] allow update of MSR_EFER_SVM

2008-02-27 Thread Bernhard Kauer
The wrmsr_helper should allow to set the SVM flag in EFER. Bernhard Kauer Index: target-i386/helper.c === RCS file: /sources/qemu/qemu/target-i386/helper.c,v retrieving revision 1.101 diff -u -r1.101 helper.c --- target-i386/