Re: [kvm-devel] installation of win xp hangs

2007-12-21 Thread Norbert Preining
Hi Amit, a new day, a new success ... Ok, I got it running, no idea why: - updated the BIOS - updated to kernel 2.6.24-rc6 - kvm kernel part from 2.6.24-rc6 - kvm user part from Debian sid, i.e. v57 And it worked. SO I guess we can close this topic ... anyway, if you are interested in anything

Re: [kvm-devel] [1-5/17] Patch 1-10 of kvm/ia64 V2

2007-12-21 Thread Zhang, Xiantao
Akio Takebe wrote: Hi, Xiantao [3/17] Add firmware virtualization support. +void kvm_sal_emul(struct kvm_vcpu *vcpu) +{ + + struct sal_ret_values result; + u64 index, in1, in2, in3, in4, in5, in6, in7; + + kvm_get_sal_call_data(vcpu, index, in1, in2, +

Re: [kvm-devel] installation of win xp hangs

2007-12-21 Thread Amit Shah
On Friday 21 December 2007 13:32:07 Norbert Preining wrote: Hi Amit, a new day, a new success ... Ok, I got it running, no idea why: - updated the BIOS - updated to kernel 2.6.24-rc6 - kvm kernel part from 2.6.24-rc6 - kvm user part from Debian sid, i.e. v57 And it worked. That's great

[kvm-devel] Oops on 2.6.23.11 with KVM 57

2007-12-21 Thread Guido Guenther
Hi, I got the Oops below on an Dual CPU Dual-Core AMD Opteron(tm) Processor 2220 running a 32bit kernel. Kernel is 2.6.23.11, kvm version 57. Doesn't happen all the time but usually right at VM startup. Seems to be easier to trigger when starting up several VMs in row. Does it help to post more of

[kvm-devel] [PATCH 9/9] qemu: re-add missing definitions for qemu_get_launch_info

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch re applies the definitions added to qemu/vl.h in 4213cbcf86847c8568d0147bd055d6a13bb1c963 and which were missed in merge f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following compilation warning : qemu/migration.c:603: warning: implicit declaration of function

[kvm-devel] [PATCH 6/9] qemu: add missing definition for bdrv_flush_all

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/migration.c:187: warning: implicit declaration of function `bdrv_flush_all' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/block.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/qemu/block.h b/qemu/block.h

[kvm-devel] [PATCH 5/9] qemu: add missing definition for qemu_system_reset

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/qemu-kvm.c:349: warning: implicit declaration of function `qemu_system_reset' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h

[kvm-devel] [PATCH 1/9] qemu: re-add missing definition for vmchannel_init

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch re applies the definitions added to qemu/vl.h in cbd2cefaf7b6185c3ebdb421a4cc4c363f6dbc39 and which were missed in merge f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following compilation warning : qemu/vl.c:9378: warning: implicit declaration of function

[kvm-devel] [Virtio-for-kvm] [PATCH 0/7] userspace virtio

2007-12-21 Thread Dor Laor
This patchset updates kvm repository with Anthony's virtio implementation along with rx performance improvements and guest reset handling. The original code was sent to qemu devel list 2 weeks ago. It contains support for network block devices. Using the performance improvement I was able to do

[kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-21 Thread Zhang, Xiantao
Hi, Avi Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail , this patch fixed them. Xiantao From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 21 Dec 2007 22:47:52 +0800 Subject: [PATCH] kvm: qemu : Fix ia64 build on latest source. Due to last merge with qemu

[kvm-devel] [Virtio-for-kvm] [PATCH 6/7] userspace virtio

2007-12-21 Thread Dor Laor
From 1b493ba192cd677d9feb886eb494cb266a8604e2 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Thu, 20 Dec 2007 10:48:32 +0200 Subject: [PATCH] [VIRTIO] Add virtio_reset callback Call it when the driver sets the pfn to zero and also on qemu_reset notifier list. This fixes crashes

[kvm-devel] [Virtio-for-kvm] [PATCH 5/7] userspace virtio

2007-12-21 Thread Dor Laor
From 35a03164c1b4d138e55898853212bded14cf4ec7 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Mon, 17 Dec 2007 01:43:28 +0200 Subject: [PATCH] Check for device status on tx. Allow tx only if VIRTIO_CONFIG_S_DRIVER_OK. It can prevent an smp race of tx and driver unload.

[kvm-devel] [Virtio-for-kvm] [PATCH 4/7] userspace virtio

2007-12-21 Thread Dor Laor
From bf5361f9b8b00f85e93cddf853f8f7f449c8d8c2 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Sun, 9 Dec 2007 12:17:36 +0200 Subject: [PATCH] Add NIC vendor option to kvm python script It allows picking other NIC vendors than rtl8139. Use --nictype=xxx, the ddefault is rtl8139.

[kvm-devel] [PATCH 8/9] qemu: re-add missing definitions for qemu_live_{savevm, loadvm}_state

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch re applies the definitions added to qemu/vl.h in 4213cbcf86847c8568d0147bd055d6a13bb1c963 and which were missed in merge f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following compilation warnings : qemu/migration.c:193: warning: implicit declaration of

[kvm-devel] [PATCH 0/9] qemu: missing definitions from qemu-cvs merge

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch series fixes compilation warnings from kvm 57 triggered by 25a2e04e5689af63d104de2dea755f30bf643afd : PATCH 1/9 : fix definition for vmchannel_init in qemu/vl.c PATCH 2/9 : fix definition for migrate_incoming in qemu/vl.c PATCH 3/9 : fix definition for pci_hypercall_init

[kvm-devel] [Virtio-for-kvm] [PATCH 3/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From 09d2dcb6b517e7e4cbbdfc960e3171105085ec9e Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Wed, 7 Nov 2007 20:46:30 -0600 Subject: [PATCH] virtio: Export vring functions for modules to use This is needed for the virtio PCI device to be compiled as a module.

[kvm-devel] [Virtio-for-kvm] [PATCH 05/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From c8a8b56ccb6e12954b4752fd8ca46850fe354741 Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 21:30:26 -0600 Subject: [PATCH] virtio: PCI device This is a PCI device that implements a transport for virtio. It allows virtio devices to be used by QEMU

[kvm-devel] [PATCH 2/9] qemu: add migration.h to vl.c so that migrate_incoming is defined

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/vl.c:9450: warning: implicit declaration of function `migrate_incoming' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/vl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/vl.c b/qemu/vl.c index

[kvm-devel] [PATCH 3/9] qemu: re-add missing definition for pci_hypercall_init

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch re applies the definitions added to qemu/vl.h in 2ea040d9b4a2f0642cb595898801d1abe6e47dc4 and which were missed in merge f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following compilation warning : qemu/hw/pc.c:1028: warning: implicit declaration of function

[kvm-devel] [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch re applies the definitions added to qemu/vl.h in 469b506a270347a88d11c65392ac1df7b476d176 and which were missed in merge f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following compilation warnings : qemu/qemu-kvm.c:343: warning: implicit declaration of function

[kvm-devel] [PATCH 7/9] qemu: add missing definitions for monitor_{resume, suspend}

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/migration.c:210: warning: implicit declaration of function `monitor_resume' qemu/migration.c:507: warning: implicit declaration of function `monitor_suspend' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/console.h |2 ++ 1 files

[kvm-devel] [Virtio-for-kvm] [PATCH 13/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From 9f5a551d7e2a00eb019b158f8f3130e8176ec27c Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Mon, 17 Dec 2007 01:40:15 +0200 Subject: [PATCH] Update all status fields on driver unload Both VIRTIO_CONFIG_S_DRIVER and VIRTIO_CONFIG_S_DRIVER_OK should be cleaned upon driver unload.

[kvm-devel] [Virtio-for-kvm] [PATCH 11/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From 867f898388bda2dccf6d0aba2a9c96abae1697ed Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Sun, 16 Dec 2007 15:19:43 +0200 Subject: [PATCH] Parametrize the napi_weight for virtio receive queue. It is done in order to improve performance. Signed-off-by: Dor Laor [EMAIL

[kvm-devel] [Virtio-for-kvm] [PATCH 8/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From aad0cb3074950a49714cf98562a0602d11ebb3d1 Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 21:30:26 -0600 Subject: [PATCH] virtio: add debug/performance stats to network driver ifconfig down or remove the module to get the statistics dump. ---

[kvm-devel] [Virtio-for-kvm] [PATCH 6/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From c1e1126c39fe107f68adec196d4e558a14540939 Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 21:30:26 -0600 Subject: [PATCH] virtio: use an hrtimer for tx coalescing. Not sure why hrtimer's cb_mode only exists with CONFIG_HIGH_RES_TIMERS; that seems like

[kvm-devel] [Virtio-for-kvm] [PATCH 2/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From 2334d90a3b9f8b9207163e9e0fad714e88a28771 Mon Sep 17 00:00:00 2001 From: Rusty Russell [EMAIL PROTECTED] Date: Wed, 7 Nov 2007 21:02:22 +1100 Subject: [PATCH] virtio: An entropy device, as suggested by hpa. Signed-off-by: Rusty Russell [EMAIL PROTECTED] --- Documentation/lguest/lguest.c

[kvm-devel] [patch 4/5] KVM: export follow_page()

2007-12-21 Thread Marcelo Tosatti
follow_page() is required by KVM to find the struct page which maps to a given address in spinlock protected code. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm.quilt/mm/memory.c === --- kvm.quilt.orig/mm/memory.c +++

[kvm-devel] [Virtio-for-kvm] [PATCH 0/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
This patchset updates kvm repository with Rusty's/Anthony's virtio implementation along with already sent tx performance bug fix and new module reload fixes. The first 9 patches are Rusty's and Anthony's work and are pending in Rusty's tree. This code together with the userspace patches able to

[kvm-devel] [patch 1/5] KVM: concurrent guest walkers

2007-12-21 Thread Marcelo Tosatti
Do not hold kvm-lock mutex across the entire pagefault code, only acquire it in places where it is necessary, such as mmu hash list, active list, rmap and parent pte handling. Allow concurrent guest walkers by switching walk_addr() to use mmap_sem in read-mode. And get rid of the lockless

[kvm-devel] [patch 0/5] KVM shadow scalability enhancements

2007-12-21 Thread Marcelo Tosatti
The following patchset increases KVM shadow scalability by allowing concurrent guest walking, allocation and instruction emulation. -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual

[kvm-devel] [patch 2/5] KVM: add kvm_read_guest_atomic()

2007-12-21 Thread Marcelo Tosatti
In preparation for a mmu spinlock, add kvm_read_guest_atomic() and use it in fetch() and prefetch_page(). Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm.quilt/arch/x86/kvm/paging_tmpl.h === ---

[kvm-devel] [patch 3/5] KVM: add kvm_follow_page()

2007-12-21 Thread Marcelo Tosatti
In preparation for a mmu spinlock, avoid schedules in mmu_set_spte() by using follow_page() instead of get_user_pages(). The fault handling work by get_user_pages() now happens outside the lock. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm.quilt/arch/x86/kvm/mmu.c

[kvm-devel] [Virtio-for-kvm] [PATCH 1/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From 5d85cee1fb14608b79b5b6103d8be2d90bb76ca4 Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 21:30:26 -0600 Subject: [PATCH] virtio: simplify config mechanism. Previously we used a type/len pair within the config space, but this seems overkill. We now

[kvm-devel] [Virtio-for-kvm] [PATCH 7/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From e49289d5a2137118a61b00a184a07f47ba9d04f5 Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Wed, 7 Nov 2007 20:46:31 -0600 Subject: [PATCH] virtio: free transmit skbs when notified, not on next xmit. This fixes a potential dangling xmit problem. We also suppress refill

[kvm-devel] [Virtio-for-kvm] [PATCH 9/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From e761e0d22af833c9d0d48f191f38fc25f6a5f753 Mon Sep 17 00:00:00 2001 From: Anthony Liguori [EMAIL PROTECTED] Date: Fri, 21 Dec 2007 02:17:47 +0200 Subject: [PATCH] Fix vring_init/vring_size to take unsigned long Using unsigned int resulted in silent truncation of the upper 32-bit on x86_64

[kvm-devel] [Virtio-for-kvm] [PATCH 12/13] [Mostly resend] virtio additions

2007-12-21 Thread Dor Laor
From 20a01e0c24f47e9805a88bebc9310163f99b5e99 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Sun, 16 Dec 2007 23:35:35 +0200 Subject: [PATCH] Handle module unload Add the device release function. Signed-off-by: Dor Laor [EMAIL PROTECTED] --- drivers/virtio/virtio.c |7

[kvm-devel] [Virtio-for-kvm] [PATCH 1/7] userspace virtio

2007-12-21 Thread Dor Laor
From 80b234220ea85d6fb291b0509ce2b3322e5ecc1f Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Wed, 19 Dec 2007 23:07:16 +0200 Subject: [PATCH] [PATCH 1/3] virtio infrastructure This patch implements the basic infrastructure for virtio devices. These devices are exposed to the

[kvm-devel] [Virtio-for-kvm] [PATCH 2/7] userspace virtio

2007-12-21 Thread Dor Laor
From 83e942e0c7634121243478fa2f4e3459b33d4a67 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Wed, 19 Dec 2007 23:43:24 +0200 Subject: [PATCH] virtio network device This patch implements the backend support for the virtio network device. The device is optimized for virtualized

[kvm-devel] [Virtio-for-kvm] [PATCH 3/7] userspace virtio

2007-12-21 Thread Dor Laor
From 4780a4792ca7776268107e200ae77003c36d55c9 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Wed, 19 Dec 2007 23:52:43 +0200 Subject: [PATCH] virtio block device This patch implements the backend support for the virtio block device. It's designed to support in-order queueing of

[kvm-devel] [Virtio-for-kvm] [PATCH 7/7] userspace virtio

2007-12-21 Thread Dor Laor
From f244bcad756c4f761627557bb7f315b1d8f22fb2 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Thu, 20 Dec 2007 13:26:30 +0200 Subject: [PATCH] [VIRTIO-NET] Rx performance improvement The current performance are not good enough, the problem lies in qemu tap handling code that

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-21 Thread Amit Shah
On Friday 21 December 2007 20:28:23 Zhang, Xiantao wrote: Hi, Avi Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail , this patch fixed them. Xiantao I've not checked the patch yet; but a curiosity question: Do you also test x86 compiles / builds?

[kvm-devel] external module sched_in event

2007-12-21 Thread Andrea Arcangeli
Hello, [ I already sent it once as [EMAIL PROTECTED] but it didn't go through for whatever reason, trying again from private email, hope there won't be dups ] My worst longstanding problem with KVM is that as the uptime of my host system increased, my opensuse guest images started to

Re: [kvm-devel] external module sched_in event

2007-12-21 Thread Izik Eidus
Andrea Arcangeli wrote: Hello, [ I already sent it once as [EMAIL PROTECTED] but it didn't go through for whatever reason, trying again from private email, hope there won't be dups ] oh, it was sent to the list, dont trust (in case you did) the source forge site for the mails inside

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-21 Thread Izik Eidus
Amit Shah wrote: On Friday 21 December 2007 20:28:23 Zhang, Xiantao wrote: Hi, Avi Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail , this patch fixed them. Xiantao I've not checked the patch yet; but a curiosity question: Do you also

Re: [kvm-devel] external module sched_in event

2007-12-21 Thread Andrea Arcangeli
On Fri, Dec 21, 2007 at 07:52:52PM +0200, Izik Eidus wrote: oh, it was sent to the list, dont trust (in case you did) the source forge site for the mails But this time I received it in my kvm-devel folder... previously I didn't, so it had to be blocked my some spamfilter in the other account

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-21 Thread Amit Shah
On Friday 21 December 2007 23:38:14 Izik Eidus wrote: Amit Shah wrote: On Friday 21 December 2007 20:28:23 Zhang, Xiantao wrote: Hi, Avi Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail , this patch fixed them. Xiantao I've not checked the

[kvm-devel] mailman setup for kvm-devel (was Re: external module sched_in event)

2007-12-21 Thread Carlo Marcelo Arenas Belon
On Fri, Dec 21, 2007 at 07:22:57PM +0100, Andrea Arcangeli wrote: On Fri, Dec 21, 2007 at 07:52:52PM +0200, Izik Eidus wrote: oh, it was sent to the list, dont trust (in case you did) the source forge site for the mails But this time I received it in my kvm-devel folder... for some

Re: [kvm-devel] [Virtio-for-kvm] [PATCH 13/13] [Mostly resend] virtio additions

2007-12-21 Thread Rusty Russell
On Saturday 22 December 2007 02:27:33 Dor Laor wrote: From 9f5a551d7e2a00eb019b158f8f3130e8176ec27c Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Mon, 17 Dec 2007 01:40:15 +0200 Subject: [PATCH] Update all status fields on driver unload OK, looks like I missed the last 4

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-21 Thread Zhang, Xiantao
Amit Shah wrote: On Friday 21 December 2007 20:28:23 Zhang, Xiantao wrote: Hi, Avi Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail , this patch fixed them. Xiantao I've not checked the patch yet; but a curiosity question: Do you also test x86