[COMMIT master] Update source link

2009-05-10 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/linux-2.6 b/linux-2.6 index 66b0aed..545c64b 16 --- a/linux-2.6 +++ b/linux-2.6 @@ -1 +1 @@ -Subproject commit 66b0aed4a9e15a2ea3a00763f362b6ee0b28d538 +Subproject commit

[COMMIT master] bios: dynamically track available rsdt entries

2009-05-10 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Instead of using hardcoded offsets into the rsdt table, keep a count of used entries. Signed-off-by: Avi Kivity a...@redhat.com diff --git a/kvm/bios/rombios32.c b/kvm/bios/rombios32.c index f4c58b9..cbd5f15 100755 --- a/kvm/bios/rombios32.c +++

[COMMIT master] Regenerate bios for latest merge

2009-05-10 Thread Avi Kivity
From: Avi Kivity a...@redhat.com - dynamic acpi tables - dynamic SMBIOS tables - SRAT (NUMA) - make rsdt entry tracking saner Signed-off-by: Avi Kivity a...@redhat.com diff --git a/pc-bios/bios.bin b/pc-bios/bios.bin index d5d42f3..70bd7ad 100644 Binary files a/pc-bios/bios.bin and

[COMMIT master] bios: Load SMBIOS entries and files from qemu (Alex Williamson)

2009-05-10 Thread Avi Kivity
From: Alex Williamson alex.william...@hp.com Allow SMBIOS fields to be overridden and entries replaced by those read from qemu. Signed-off-by: Alex Williamson alex.william...@hp.com Signed-off-by: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Avi Kivity a...@redhat.com diff --git

[COMMIT master] KVM: use smp_send_reschedule in kvm_vcpu_kick

2009-05-10 Thread Avi Kivity
From: Marcelo Tosatti mtosa...@redhat.com KVM uses a function call IPI to cause the exit of a guest running on a physical cpu. For virtual interrupt notification there is no need to wait on IPI receival, or to execute any function. This is exactly what the reschedule IPI does, without the

[COMMIT master] nr_cpu_ids compat

2009-05-10 Thread Avi Kivity
From: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index 8cb5440..d7fec25 100644 --- a/external-module-compat-comm.h +++

[COMMIT master] smp_send_reschedule compat

2009-05-10 Thread Avi Kivity
From: Marcelo Tosatti mtosa...@redhat.com smp_send_reschedule was exported (via smp_ops) in v2.6.24. Create a compat function which schedules the IPI to keventd context, in case interrupts are disabled, for kernels 2.6.24. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Avi

Re: [PATCH 1/3] virtio: find_vqs/del_vqs virtio operations

2009-05-10 Thread Michael S. Tsirkin
On Sun, May 10, 2009 at 01:37:06PM +0930, Rusty Russell wrote: Yes, and in fact a rough look at your patch reveals that we don't actually need del_vq: now we track them, we can just do that as part of vdev destruction, right? Let's assume that a driver encounters an error in probe after it

Re: [PATCH 0/2] Deal with shadow interrupts after emulated instructions

2009-05-10 Thread Gleb Natapov
On Fri, May 08, 2009 at 04:23:05PM -0400, Glauber Costa wrote: Hi, This is the same patch you're all used to by now, but split in two per Avi request. Acked-by: Gleb Natapov g...@redhat.com -- Gleb. -- To unsubscribe from this list: send the line unsubscribe kvm

Re: boot=on option fails on win 2k/xp double boot

2009-05-10 Thread Federico Fissore
Gleb Natapov, il 10/05/2009 07:21, ha scritto: On Sat, May 09, 2009 at 07:53:50PM +0200, Federico Fissore wrote: I've a windows (virtual) box with windows xp originally installed and a windows 2k lately installed Are they both installed on the same disk? yes they are If I run kvm from

Re: boot=on option fails on win 2k/xp double boot

2009-05-10 Thread Gleb Natapov
On Sun, May 10, 2009 at 10:38:18AM +0200, Federico Fissore wrote: Gleb Natapov, il 10/05/2009 07:21, ha scritto: On Sat, May 09, 2009 at 07:53:50PM +0200, Federico Fissore wrote: I've a windows (virtual) box with windows xp originally installed and a windows 2k lately installed Are they

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-10 Thread Avi Kivity
Gregory Haskins wrote: That only works if the device exposes a pio port, and the hypervisor exposes HC_PIO. If the device exposes the hypercall, things break once you assign it. Well, true. But normally I would think you would resurface the device from G1 to G2 anyway, so any relevant

[PATCH] Work around misreported kvm cpuid features

2009-05-10 Thread Avi Kivity
kvm misreports MCA, MCE, MTRR, and PAT as unsupported. This causes Vista to fail. Since QEMU does not support any version of kvm that does not actually support these features, it is safe to enable them unconditionally. These features are needed by Vista x64 to boot. Signed-off-by: Avi Kivity

Re: [PATCH] make migration work again

2009-05-10 Thread Avi Kivity
Glauber Costa wrote: Due to a small messup in version checking, migration was not working. fix it. Signed-off-by: Glauber Costa glom...@redhat.com --- migration-tcp.c |1 + savevm.c |1 + target-i386/helper.c |1 + target-i386/machine.c |8 4 files

Re: [PATCH 1/2] replace drop_interrupt_shadow by set_interrupt_shadow

2009-05-10 Thread Avi Kivity
Glauber Costa wrote: This patch replaces drop_interrupt_shadow with the more general set_interrupt_shadow, that can either drop or raise it, depending on its parameter. void (*skip_emulated_instruction)(struct kvm_vcpu *vcpu); + void (*set_interrupt_shadow)(struct kvm_vcpu *vcpu,

Re: [PATCH 2/2] deal with interrupt shadow state for emulated instruction

2009-05-10 Thread Avi Kivity
Glauber Costa wrote: we currently unblock shadow interrupt state when we skip an instruction, but failing to do so when we actually emulate one. This blocks interrupts in key instruction blocks, in particular sti; hlt; sequences If the instruction emulated is an sti, we have to block shadow

[PATCH v2] Work around misreported kvm cpuid features

2009-05-10 Thread Avi Kivity
kvm misreports MCA, MCE, MTRR, and PAT as unsupported. This causes Vista to fail. Since QEMU does not support any version of kvm that does not actually support these features, it is safe to enable them unconditionally. These features are needed by Vista x64 to boot. Signed-off-by: Avi Kivity

[ kvm-Bugs-2789729 ] Destination guest will reboot when Migration

2009-05-10 Thread SourceForge.net
Bugs item #2789729, was opened at 2009-05-10 08:09 Message generated for change (Tracker Item Submitted) made by jiajun You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2789729group_id=180599 Please note that this message will contain a full copy of the

Biweekly KVM Test report, kvm.git 66b0ae... qemu-kvm.git 6e57bb...

2009-05-10 Thread Xu, Jiajun
Hi All, This is our Weekly KVM Testing Report against lastest kvm.git 66b0aed4a9e15a2ea3a00763f362b6ee0b28d538 and qemu-kvm.git 6e57bb9a636cefdaba7decbd5ac10f1508ff64c0. There is a Live Migration bug found in this two weeks. One New Issue: 1.

Re: Biweekly KVM Test report, kvm.git 66b0ae... qemu-kvm.git 6e57bb...

2009-05-10 Thread Avi Kivity
Xu, Jiajun wrote: Hi All, This is our Weekly KVM Testing Report against lastest kvm.git 66b0aed4a9e15a2ea3a00763f362b6ee0b28d538 and qemu-kvm.git 6e57bb9a636cefdaba7decbd5ac10f1508ff64c0. There is a Live Migration bug found in this two weeks. One New Issue:

Re: [patch 0/4] smp_send_reschedule / assigned dev host intx race v2

2009-05-10 Thread Avi Kivity
mtosa...@redhat.com wrote: Addressing comments. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [patch 3/4] KVM: introduce kvm_arch_can_free_memslot, disallow slot deletion if cached cr3

2009-05-10 Thread Avi Kivity
mtosa...@redhat.com wrote: Disallow the deletion of memory slots (and aliases, for x86 case), if a vcpu contains a cr3 that points to such slot/alias. This complements commit 6c20e1442bb1c62914bb85b7f4a38973d2a423ba. v2: - set KVM_REQ_TRIPLE_FAULT - use __KVM_HAVE_ARCH_CAN_FREE_MEMSLOT to

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-10 Thread Anthony Liguori
Gregory Haskins wrote: Anthony Liguori wrote: I'm surprised so much effort is going into this, is there any indication that this is even close to a bottleneck in any circumstance? Yes. Each 1us of overhead is a 4% regression in something as trivial as a 25us UDP/ICMP rtt ping.m

Re: [PATCH 1/3] virtio: find_vqs/del_vqs virtio operations

2009-05-10 Thread Christian Borntraeger
Am Sunday 10 May 2009 06:07:06 schrieb Rusty Russell: Yes, and in fact a rough look at your patch reveals that we don't actually need del_vq: now we track them, we can just do that as part of vdev destruction, right? Some of my students are working on a test module for virtio. Its a driver

kvm hardlocks on hp dv9010us

2009-05-10 Thread Piotr Jaroszyński
Hello, kvm-85 with vanilla kernel 2.6.29.3 (kvm modules from kernel) hard locks for me: - sometimes at the very beginning, just after the QEMU window opens, but nothing is displayed before the hardlock. - sometimes during runtime with various guests: e.g. Windows XP 64bit and Exherbo 64bit [1].

Re: kvm hardlocks on hp dv9010us

2009-05-10 Thread Piotr Jaroszyński
I have tried debugging with netconsole but I am not getting anything directly preceding the hardlock, only: kvm: 4682: cpu0 unhandled wrmsr: 0xc0010117 data 0 on every startup (also manages to be logged when kvm hangs at the very beginning). -- Best Regards, Piotr Jaroszyński -- To unsubscribe

RE: Implement generic double fault generation mechanism

2009-05-10 Thread Dong, Eddie
There is not point referring to current code. Current code does not handle serial exceptions properly. So fix it in your patch otherwise I propose to use my patch that fixes current code (http://patchwork.kernel.org/patch/21829/). I would like Avi to decide. As comments to the difference

RE: Luvalley-2 has been released: running KVM below any operating system

2009-05-10 Thread Dong, Eddie
Xiaodong Yi wrote: It is not a typo. I copied from UnixBench output directly. Howver, it must be a bug of Luvalley because even the native Linux benchmark on Double-Precision Whetstone is not that high. I also noticed that other benchmarks are all lower than native Linux. About timing,

Re: [RFC -v3 1/2] QEMU-KVM: MCE: Add MCE simulation to qemu/tcg

2009-05-10 Thread Huang Ying
On Sat, 2009-05-09 at 05:08 +0800, Anthony Liguori wrote: Huang Ying wrote: - MCE features are initialized when VCPU is intialized according to CPUID. - A monitor command mce is added to inject a MCE. - A new interrupt mask: CPU_INTERRUPT_MCE is added to inject the MCE. Signed-off-by:

problems with pci passthrough of nic and a DL380G6

2009-05-10 Thread David S. Ahern
Are the instructions for passing a device at: http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM supposed to work for passing one of four onboard nics to a guest? I ask because not only did it not work, it made my server a very unhappy camper. Server: HP DL380 G6, 1 E5540, 6

Re: Luvalley-2 has been released: running KVM below any operating system

2009-05-10 Thread Xiaodong Yi
Thanks for your advice and hope your continue attention on Luvalley. Regards, Xiaodong 2009/5/11 Dong, Eddie eddie.d...@intel.com: Xiaodong Yi wrote: It is not a typo. I copied from UnixBench output directly. Howver, it must be a bug of Luvalley because even the native Linux benchmark on