[PATCH] kvm: Prevent kvm_init from corrupting debugfs structures

2009-10-14 Thread Darrick J. Wong
and freeing them twice. Signed-off-by: Darrick J. Wong djw...@us.ibm.com --- virt/kvm/kvm_main.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index b7c78a4..7495ce3 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c

Re: [RFC 1/2] Simulate Intel cpufreq MSRs in kvm guests to influencenice priority

2008-09-04 Thread Darrick J. Wong
On Mon, Jul 28, 2008 at 08:56:34AM +0800, Tian, Kevin wrote: I guess the solution for such issues is not to have kvm (or qemu) play with nice levels, but instead send notifications on virtual frequency changes on the qemu monitor. The management application can then choose whether to ignore

Re: [RFC 1/2] Simulate Intel cpufreq MSRs in kvm guests to influencenice priority

2008-07-17 Thread Darrick J. Wong
On Wed, Jul 16, 2008 at 01:56:51PM +0800, Tian, Kevin wrote: How many VMs did you run in this test? 100 idle All the VMs are idle except the one where your benchmark runs? Yes. How about the actual effect when several VMs are doing some stuff? If there are multiple VMs that are busy,

[RFC 1/2] Simulate Intel cpufreq MSRs in kvm guests to influence nice priority

2008-07-15 Thread Darrick J. Wong
against vanilla 2.6.26. Signed-off-by: Darrick J. Wong [EMAIL PROTECTED] --- arch/x86/kvm/x86.c | 51 +--- include/asm-x86/kvm_host.h |1 + 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c

[RFC 2/2] kvm-userspace: Simulate Intel cpufreq MSRs in kvm guests to influence nice priority

2008-07-15 Thread Darrick J. Wong
complete discussion. Signed-off-by: Darrick J. Wong [EMAIL PROTECTED] --- bios/acpi-dsdt.dsl| 85 - qemu/pc-bios/bios.bin | Bin qemu/target-i386/helper.c |2 + 3 files changed, 85 insertions(+), 2 deletions(-) diff --git a/bios/acpi