Re: [kvm-devel] Windows XP internal Power error

2006-12-13 Thread ignazio . cassano
Good moorning, I changed the -boot option in 'c' but when my Windows Xp boot to complete the installation I got the following errors: unhandled vm exit: 0x8022 rax 0800 rbx ffdff120 rcx c080 rdx rsi rdi c080 rsp 00

Re: [kvm-devel] [RFT] Fix for unhandled msr c0000081 problems under Intel cpus

2006-12-13 Thread Michael Riepe
Oh well... I was wondering which stupid piece of sh^H^Hcode generated so many wrong rdmsr instructions without looking at the CPU feature flags. So I grepped through the linux kernel and glibc sources as well as some other likely suspects and found - nothing. Guess what? It's qemu! In qemu-kvm.c

Re: [kvm-devel] [RFT] Fix for unhandled msr c0000081 problems under Intel cpus

2006-12-13 Thread Michael Riepe
Avi Kivity wrote: > If you've experienced this problem, please test the attached patch (to > qemu, not the kernel module) and report back. The patch basically tells > the guest that the msr doesn't exist. That doesn't help, the messages are still there. -- Michael "Tired" Riepe <[EMAIL PROTEC

Re: [kvm-devel] Windows XP internal Power error

2006-12-13 Thread Dor Laor
> Good morning, > I installed kvm on an intel machine with intel virtualization support. > My machine runs linux FC6 and I am able to run xen with windows xp > guests (so I think intel virtualization works fine). > If I try to use kvm version 7, I am able to install Windows with > no-acpi option.

[kvm-devel] Windows XP internal Power error

2006-12-13 Thread ignazio . cassano
Good morning, I installed kvm on an intel machine with intel virtualization support. My machine runs linux FC6 and I am able to run xen with windows xp guests (so I think intel virtualization works fine). If I try to use kvm version 7, I am able to install Windows with no-acpi option. At the firs

[kvm-devel] [PATCH 3/3] KVM: AMD SVM: Save and restore the floating point unit state

2006-12-13 Thread Avi Kivity
Fixes sf bug 1614113 (segfaults in nbench). Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/svm.c === --- linux-2.6.orig/drivers/kvm/svm.c +++ linux-2.6/drivers/kvm/svm.c @@ -575,6 +575,8 @@ static int svm_

Re: [kvm-devel] [PATCH 1/3] KVM: Disallow the kvm-amd module on intel hardware, and vice versa

2006-12-13 Thread Avi Kivity
Avi Kivity wrote: > They're not on speaking terms. > > Please disregard - this patch was already sent. Slippery fingers. -- error compiling committee.c: too many arguments to function - Take Surveys. Earn Cash. Influen

[kvm-devel] [PATCH 2/3] KVM: AMD SVM: handle MSR_STAR in 32-bit mode

2006-12-13 Thread Avi Kivity
This is necessary for linux guests. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/svm.c === --- linux-2.6.orig/drivers/kvm/svm.c +++ linux-2.6/drivers/kvm/svm.c @@ -402,11 +402,11 @@ static __init int svm

[kvm-devel] [PATCH 1/3] KVM: Disallow the kvm-amd module on intel hardware, and vice versa

2006-12-13 Thread Avi Kivity
They're not on speaking terms. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/svm.c === --- linux-2.6.orig/drivers/kvm/svm.c +++ linux-2.6/drivers/kvm/svm.c @@ -377,6 +377,7 @@ static __init int svm_hardwa

[kvm-devel] [PATCH 1/3] KVM: add valid_vcpu() helper

2006-12-13 Thread Avi Kivity
From: James Morris <[EMAIL PROTECTED]> Consolidate the logic for checking whether a vcpu index is valid. Also, use likely(), as a valid value should be the overwhelmingly common case. Signed-off-by: James Morris <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6

[kvm-devel] [PATCH 0/3] KVM: Updates

2006-12-13 Thread Avi Kivity
A cleanup and two AMD SVM fixes (the STAR MSR on 32-bit hosts, and the floating point unit state on all AMD hosts). -- error compiling committee.c: too many arguments to function - Take Surveys. Earn Cash. Influence the Fu

[kvm-devel] [RFT] Fix for unhandled msr c0000081 problems under Intel cpus

2006-12-13 Thread Avi Kivity
If you've experienced this problem, please test the attached patch (to qemu, not the kernel module) and report back. The patch basically tells the guest that the msr doesn't exist. -- error compiling committee.c: too many arguments to function Index: qemu/qemu-kvm.c ==

Re: [kvm-devel] Problem with Ubuntu Edgy and AMD X2

2006-12-13 Thread Avi Kivity
Franco Spinelli wrote: Using dmesg command I geta lot of this error: [17192500.496000] kvm: unhandled rdmsr: 0xc081 The attached patch should fix it (we didn't handle MSR_STAR on 32-bit AMD hosts) -- error compiling committee.c: too many arguments to function Index: kernel/svm.c ==

Re: [kvm-devel] Problem with Ubuntu Edgy and AMD X2

2006-12-13 Thread Dor Laor
> Franco Spinelli wrote: > > I am testing kvm on my new PC > > MB is Asus M2NPV-VM with AMD CPU X2. > > Installed OS is Ubuntu Edgy > > > > I get kvm tarball and compiled it. > > > > After installing gcc 3.4 I begin compile step > > > > On Ubuntu Edgy there is no uuid/uuid.h file so I have grab it

Re: [kvm-devel] Problem with Ubuntu Edgy and AMD X2

2006-12-13 Thread Avi Kivity
Franco Spinelli wrote: > I am testing kvm on my new PC > MB is Asus M2NPV-VM with AMD CPU X2. > Installed OS is Ubuntu Edgy > > I get kvm tarball and compiled it. > > After installing gcc 3.4 I begin compile step > > On Ubuntu Edgy there is no uuid/uuid.h file so I have grab it from tar > file at

Re: [kvm-devel] [PATCH] Add valid_vcpu() helper.

2006-12-13 Thread Avi Kivity
James Morris wrote: > Consolidate the logic for checking whether a vcpu index is valid. Also, > use likely(), as a valid value should be the overwhelmingly common case. > > Applied, thanks. -- error compiling committee.c: too many arguments to function