Re: kexec/kdump of a kvm guest?

2008-07-24 Thread Alexander Graf
On Jul 24, 2008, at 2:13 AM, Mike Snitzer wrote: On Sat, Jul 5, 2008 at 7:20 AM, Avi Kivity [EMAIL PROTECTED] wrote: Mike Snitzer wrote: My host is x86_64 RHEL5U1 running 2.6.25.4 with kvm-70 (kvm-intel). When I configure kdump in the guest (running 2.6.22.19) and force a crash (with 'echo

RE: scsi broken 4GB RAM

2008-07-24 Thread Martin Maurer
Hi, I tried windows server 2008 (64 bit) on Proxmox VE 0.9beta2 (KVM 71), see http://pve.proxmox.com): Some details: --memory 6144 --cdrom en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso --name win2008-6gb-scsi --smp 1 --bootdisk scsi0 --scsi0 80 The installer

RE: scsi broken 4GB RAM

2008-07-24 Thread Martin Maurer
Sorry, just returned to the installer - also stopped with the same error code, using just 2 gb ram. Best Regards, Martin Maurer [EMAIL PROTECTED] http://www.proxmox.com Proxmox Server Solutions GmbH Kohlgasse 51/10, 1050

Re: [PATCH 4/8] KVM: PCIPT: fix interrupt handling

2008-07-24 Thread Ben-Ami Yassour
On Wed, 2008-07-23 at 19:07 +0530, Amit Shah wrote: * On Wednesday 16 Jul 2008 18:47:01 Ben-Ami Yassour wrote: This patch fixes a few problems with the interrupt handling for passthrough devices. 1. Pass the interrupt handler the pointer to the device, so we do not need to lock the

[PATCH 9/9] kvm: qemu: Eliminate extra virtio_net copy

2008-07-24 Thread Mark McLoughlin
This is Anthony's net-tap-zero-copy.patch which eliminates a copy on the host-guest data path with virtio_net. --- qemu/hw/virtio-net.c | 76 - qemu/net.h |3 ++ qemu/vl.c| 50 + 3 files

[PATCH 0/9][RFC] KVM virtio_net performance

2008-07-24 Thread Mark McLoughlin
Hey, Here's a bunch of patches attempting to improve the performance of virtio_net. This is more an RFC rather than a patch submission since, as can be seen below, not all patches actually improve the perfomance measurably. I've tried hard to test each of these patches with as stable

[PATCH 6/9] kvm: qemu: Add support for partial csums and GSO

2008-07-24 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/hw/virtio-net.c | 86 +- qemu/net.h |5 +++ qemu/vl.c| 73 +++--- 3 files changed, 144 insertions(+), 20 deletions(-) diff

[PATCH 8/9] kvm: qemu: Drop the mutex while reading from tapfd

2008-07-24 Thread Mark McLoughlin
The idea here is that with GSO, packets are much larger and we can allow the vcpu threads to e.g. process irq acks during the window where we're reading these packets from the tapfd. Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/vl.c |2 ++ 1 files changed, 2 insertions(+), 0

Re: kexec/kdump of a kvm guest?

2008-07-24 Thread Mike Snitzer
On Thu, Jul 24, 2008 at 4:39 AM, Alexander Graf [EMAIL PROTECTED] wrote: On Jul 24, 2008, at 2:13 AM, Mike Snitzer wrote: On Sat, Jul 5, 2008 at 7:20 AM, Avi Kivity [EMAIL PROTECTED] wrote: Mike Snitzer wrote: My host is x86_64 RHEL5U1 running 2.6.25.4 with kvm-70 (kvm-intel). When I

[PATCH 7/9] kvm: qemu: Increase size of virtio_net rings

2008-07-24 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/hw/virtio-net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/hw/virtio-net.c b/qemu/hw/virtio-net.c index 81282c4..a681a7e 100644 --- a/qemu/hw/virtio-net.c +++ b/qemu/hw/virtio-net.c @@ -305,8 +305,8 @@

[PATCH 5/9] kvm: qemu: Disable recv notifications until avail buffers exhausted

2008-07-24 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/hw/virtio-net.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/qemu/hw/virtio-net.c b/qemu/hw/virtio-net.c index 4adfa42..419a2d7 100644 --- a/qemu/hw/virtio-net.c +++ b/qemu/hw/virtio-net.c @@ -106,9 +106,12

[PATCH 2/9] kvm: qemu: Fix virtio_net tx timer

2008-07-24 Thread Mark McLoughlin
The current virtio_net tx timer is 2ns, which doesn't make any sense. Set it to a more reasonable 150us instead. Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/hw/virtio-net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu/hw/virtio-net.c

[PATCH 1/9] kvm: qemu: Set MIN_TIMER_REARM_US to 150us

2008-07-24 Thread Mark McLoughlin
Equivalent to ~300 syscalls on my machine Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/vl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu/vl.c b/qemu/vl.c index 5d285cc..b7d3397 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -891,7 +891,7 @@ static void

[PATCH 3/9] kvm: qemu: Remove virtio_net tx ring-full heuristic

2008-07-24 Thread Mark McLoughlin
virtio_net tries to guess when it has received a tx notification from the guest whether it indicates that the guest has no more room in the tx ring and it should immediately flush the queued buffers. The heuristic is based on the fact that there are 128 buffer entries in the ring and each packet

[PATCH 4/9] kvm: qemu: Add VIRTIO_F_NOTIFY_ON_EMPTY

2008-07-24 Thread Mark McLoughlin
Set the VIRTIO_F_NOTIFY_ON_EMPTY feature bit so the guest can rely on us notifying them when the queue is empty. Also, only notify when the available queue is empty *and* when we've finished with all the buffers we had detached. Right now, when the queue is empty, we notify the guest for every

RE: scsi broken 4GB RAM

2008-07-24 Thread Martin Maurer
Using IDE boot disk, no problem. Win2008 (64bit) works without any problems - 6 gb ram in the guest. After successful booting IDE, I added a second disk using SCSI: windows see the disk but cannot initialize the disk. So SCSI looks quite unusable if you run windows guest (win2003 sp2 also

Re: [PATCH 4/8] KVM: PCIPT: fix interrupt handling

2008-07-24 Thread Amit Shah
* On Thursday 24 Jul 2008 16:58:57 Ben-Ami Yassour wrote: On Wed, 2008-07-23 at 19:07 +0530, Amit Shah wrote: * On Wednesday 16 Jul 2008 18:47:01 Ben-Ami Yassour wrote: This patch fixes a few problems with the interrupt handling for passthrough devices. 1. Pass the interrupt handler

[ kvm-Bugs-2019608 ] Ubuntu 8.04.1 (IA32 x86_64) - cannot install bootloader

2008-07-24 Thread SourceForge.net
Bugs item #2019608, was opened at 2008-07-16 15:03 Message generated for change (Comment added) made by awwy You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2019608group_id=180599 Please note that this message will contain a full copy of the comment

Re: Simple way of putting a VM on a LAN

2008-07-24 Thread Javier Guerra
On Wed, Jul 23, 2008 at 11:15 PM, Bill Davidsen [EMAIL PROTECTED] wrote: Your easy way seems to mean using Debian, other distributions don't have some of the scripts, or they are in different places or do different things. Other thoughts below. yep, on Gentoo and SuSE i didn't find the

Re: [PATCH 4/8] KVM: PCIPT: fix interrupt handling

2008-07-24 Thread Ben-Ami Yassour
On Thu, 2008-07-24 at 19:01 +0530, Amit Shah wrote: * On Thursday 24 Jul 2008 16:58:57 Ben-Ami Yassour wrote: On Wed, 2008-07-23 at 19:07 +0530, Amit Shah wrote: * On Wednesday 16 Jul 2008 18:47:01 Ben-Ami Yassour wrote: if (irqchip_in_kernel(kvm)) { +

Release of OpenNebula 1.0 for Data Center Virtualization Cloud Solutions

2008-07-24 Thread Tino Vázquez
The dsa-research group (http://dsa-research.org) is pleased to announce that a stable release (v1.0) of the OpenNebula (ONE) Virtual Infrastructure Engine (http://www.OpenNebula.org) is available for download under the terms of the Apache License, Version 2.0. ONE enables the dynamic

[ kvm-Bugs-2026870 ] xorg-cirrus 1.2.1 fails in x86_64 kvm guests.

2008-07-24 Thread SourceForge.net
Bugs item #2026870, was opened at 2008-07-24 16:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2026870group_id=180599 Please note that this message will contain a full copy of

[ kvm-Bugs-2026870 ] xorg-cirrus 1.2.1 fails in x86_64 kvm guests.

2008-07-24 Thread SourceForge.net
Bugs item #2026870, was opened at 2008-07-24 16:56 Message generated for change (Comment added) made by shawarma You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2026870group_id=180599 Please note that this message will contain a full copy of the comment

[ kvm-Bugs-2019053 ] tbench fails on guest when AMD NPT enabled

2008-07-24 Thread SourceForge.net
Bugs item #2019053, was opened at 2008-07-15 18:10 Message generated for change (Comment added) made by alex_williamson You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2019053group_id=180599 Please note that this message will contain a full copy of the

Re: e1000 and PXE issues

2008-07-24 Thread H. Peter Anvin
Greg Kurtzer wrote: Hello, I noticed some problems with the e1000 implementation in kvm = 70. At first glance it seemed liked a PXE problem as it would not acknowledge the DHCP offer from the server. I tried several different Etherboot ROM images and version 5.2.6 seemed to work. That version

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-24 Thread Anthony Liguori
Mark McLoughlin wrote: Hey, One all all-important thing I forgot to include was a comparison with lguest :-) Hey Mark, This patch set is really great! I guess the hard part now is deciding what all we want to apply. Do you have a suggestion of which patches you think are worth

Live Migration, DRBD

2008-07-24 Thread Kent Borg
I am very happy to discover that KVM does live migration. Now I am figuring out whether it will work for me. What I have in mind is to use DRBD for the file system image. The problem is that during the migration I want to shift the file system access at the moment when the VM has quit running

Re: kexec/kdump of a kvm guest?

2008-07-24 Thread Anthony Liguori
Mike Snitzer wrote: On Thu, Jul 24, 2008 at 9:15 AM, Vivek Goyal [EMAIL PROTECTED] wrote: On Thu, Jul 24, 2008 at 07:49:59AM -0400, Mike Snitzer wrote: On Thu, Jul 24, 2008 at 4:39 AM, Alexander Graf [EMAIL PROTECTED] wrote: I can do further research but welcome others'

Re: [PATCH 0/9][RFC] KVM virtio_net performance

2008-07-24 Thread Anthony Liguori
Hi Mark, Mark McLoughlin wrote: Hey, Here's a bunch of patches attempting to improve the performance of virtio_net. This is more an RFC rather than a patch submission since, as can be seen below, not all patches actually improve the perfomance measurably. I'm still seeing the same

Re: [PATCH 2/2] Remove -tdf

2008-07-24 Thread Dor Laor
Anthony Liguori wrote: Gleb Natapov wrote: On Tue, Jul 22, 2008 at 08:20:41PM -0500, Anthony Liguori wrote: Currently both in-kernel PIT and even the in kernel irqchips are not 100% bullet proof. Of course this code is a hack, Gleb Natapov has send better fix for PIT/RTC to qemu list.

Re: Live Migration, DRBD

2008-07-24 Thread Dor Laor
Kent Borg wrote: I am very happy to discover that KVM does live migration. Now I am figuring out whether it will work for me. What I have in mind is to use DRBD for the file system image. The problem is that during the migration I want to shift the file system access at the moment when the

Re: scsi broken 4GB RAM

2008-07-24 Thread Dor Laor
Martin Maurer wrote: Using IDE boot disk, no problem. Win2008 (64bit) works without any problems - 6 gb ram in the guest. After successful booting IDE, I added a second disk using SCSI: windows see the disk but cannot initialize the disk. So SCSI looks quite unusable if you run windows guest

Re: [PATCH 8/9] kvm: qemu: Drop the mutex while reading from tapfd

2008-07-24 Thread Dor Laor
Mark McLoughlin wrote: The idea here is that with GSO, packets are much larger and we can allow the vcpu threads to e.g. process irq acks during the window where we're reading these packets from the tapfd. Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/vl.c |2 ++ 1 files

Re: [PATCH 3/9] kvm: qemu: Remove virtio_net tx ring-full heuristic

2008-07-24 Thread Dor Laor
Mark McLoughlin wrote: virtio_net tries to guess when it has received a tx notification from the guest whether it indicates that the guest has no more room in the tx ring and it should immediately flush the queued buffers. The heuristic is based on the fact that there are 128 buffer entries in

Re: [PATCH 3/9] kvm: qemu: Remove virtio_net tx ring-full heuristic

2008-07-24 Thread Rusty Russell
On Friday 25 July 2008 09:22:53 Dor Laor wrote: Mark McLoughlin wrote: vq-vring.used-flags = ~VRING_USED_F_NO_NOTIFY; qemu_del_timer(n-tx_timer); n-tx_timer_active = 0; As stated by newer messages, we should handle the first tx notification if the timer wasn't active to

Re: kexec/kdump of a kvm guest?

2008-07-24 Thread Vivek Goyal
On Thu, Jul 24, 2008 at 03:03:33PM -0400, Mike Snitzer wrote: On Thu, Jul 24, 2008 at 9:15 AM, Vivek Goyal [EMAIL PROTECTED] wrote: On Thu, Jul 24, 2008 at 07:49:59AM -0400, Mike Snitzer wrote: On Thu, Jul 24, 2008 at 4:39 AM, Alexander Graf [EMAIL PROTECTED] wrote: As you're stating

Re: Live Migration, DRBD

2008-07-24 Thread Jim
Kent Borg kentborg at borg.org writes: I am very happy to discover that KVM does live migration. Now I am figuring out whether it will work for me. What I have in mind is to use DRBD for the file system image. The problem is that during the migration I want to shift the file system