[PATCH] KVM Test: nicdriver_unload.py: Fix some failure whan running RHEL4.8 guest

2011-03-03 Thread Qingtang Zhou
1. readlink in RHEL4.8 doesn't have a '-e' parameter, replace it with '-f'. 2. nic driver parameter path in '/sys' is different, get it from config file. Signed-off-by: Qingtang Zhou --- client/tests/kvm/tests/nicdriver_unload.py | 13 ++--- client/tests/kvm/tests_base.cfg.sample |

Re: [PATCH 09/18] Introduce event-tap.

2011-03-03 Thread ya su
Yokshiaki: event-tap record block and io wirte events, and replay these on the other side, so block_save_live is useless during the latter ft phase, right? if so, I think it need to process the following code in block_save_live function: if (stage == 1) { init_blk_migration(mon, f

[Bug 29232] [VT-d] VT-d device passthrough fail to guest

2011-03-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=29232 Jay Ren changed: What|Removed |Added CC||yongjie@intel.com --- Comment #2 from J

kvm_amd BUG: unable to handle kernel NULL pointer dereference at 00000014

2011-03-03 Thread IVAN ANGELOV
Hello, This provided dmesg message and kernel behavior appear when trying to run qemu-kvm with kvm_amd module. Without kvm_amd qemu-kvm runs fine but a slower. I managed to see that this happens with 2.6.38-rc6 , 2.6.38-rc7 vanilla kernels compiled using kernel-package. OS ubuntu natty. Using the s

Re: regression - 2.6.36 -> 2.6.37 - kvm - 32bit SMP guests don't boot

2011-03-03 Thread Nikola Ciprich
> That sounds like a kernel which will be vulnerable to broken KVM clock > on 32-bit. There's a kernel side fix that is needed, but why the server > side change triggers the problem needs more investigation. OK, it's important for me that I can fix this by kernel parameter, but if I can help s

Re: regression - 2.6.36 -> 2.6.37 - kvm - 32bit SMP guests don't boot

2011-03-03 Thread Zachary Amsden
On 03/03/2011 04:06 PM, Nikola Ciprich wrote: What is the exact kernel version you are using in the guest. It's latest centos (2.6.18-194.32.1.el5), so I guess there are a lot of fixes, but it's possible the kvm-clock is broken in it. I can't influence what kernel is used there (at least n

Re: regression - 2.6.36 -> 2.6.37 - kvm - 32bit SMP guests don't boot

2011-03-03 Thread Nikola Ciprich
> What is the exact kernel version you are using in the guest. It's latest centos (2.6.18-194.32.1.el5), so I guess there are a lot of fixes, but it's possible the kvm-clock is broken in it. I can't influence what kernel is used there (at least not on customer's guests), but I guess asking for addi

Re: regression - 2.6.36 -> 2.6.37 - kvm - 32bit SMP guests don't boot

2011-03-03 Thread Zachary Amsden
On 03/03/2011 02:06 AM, Nikola Ciprich wrote: No worries. What mess? twice sending the same mail, nevermind :) I have two things you can try: first is running a single VCPU guest, if you have not done so already. yup, UP guest is fine, just SMP doesn't work. Second is

Moving of mmap'ed files from one guest into another guest

2011-03-03 Thread Chigurupati, Chaks
Hi folks, Any comments/insight on the following problem statement will be appreciated. Host and the guests are running the same linux distro and a recent kernel (say 2.6.34 and later). The applications on guest 1 are creating several mmap'ed files that dynamically grow and shrink. The application

Re: [PATCH 0/3] [RFC] Implement multiqueue (RX & TX) virtio-net

2011-03-03 Thread Andrew Theurer
On Mon, 2011-02-28 at 12:04 +0530, Krishna Kumar wrote: > This patch series is a continuation of an earlier one that > implemented guest MQ TX functionality. This new patchset > implements both RX and TX MQ. Qemu changes are not being > included at this time solely to aid in easier review. > Comp

Re: [PATCH v3 00/17] [uq/master] Patch queue, part IV (MCE edition)

2011-03-03 Thread Marcelo Tosatti
On Wed, Mar 02, 2011 at 08:56:03AM +0100, Jan Kiszka wrote: > This is mostly a rebase of the previous round, just including one > additional ppc build fix (patch 2) for a regression in a previous part. > Please merge. > > CC: David Gibson > CC: Hidetoshi Seto > CC: Huang Ying > CC: Jin Dongming

Re: Bug inkvm_set_irq

2011-03-03 Thread Michael S. Tsirkin
On Thu, Mar 03, 2011 at 04:26:11PM +0100, Jean-Philippe Menil wrote: > Le 03/03/2011 15:47, Michael S. Tsirkin a écrit : > >On Tue, Mar 01, 2011 at 03:39:12PM +0100, Jean-Philippe Menil wrote: > >>so this time the bug is: > >> > >>[17882.612303] BUG: unable to handle kernel paging request at > >>00

Re: Bug inkvm_set_irq

2011-03-03 Thread Jean-Philippe Menil
Le 03/03/2011 15:47, Michael S. Tsirkin a écrit : On Tue, Mar 01, 2011 at 03:39:12PM +0100, Jean-Philippe Menil wrote: so this time the bug is: [17882.612303] BUG: unable to handle kernel paging request at 2458 [17882.612342] IP: [] kvm_set_irq+0x30/0x140 [kvm] markup_oops give me

[ kvm-Bugs-1906272 ] Debian 4 fails to boot on KVM-AMD

2011-03-03 Thread SourceForge.net
Bugs item #1906272, was opened at 2008-03-03 14:53 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1906272&group_id=180599 Please note that this message will contain a full copy of the comme

Re: Bug inkvm_set_irq

2011-03-03 Thread Michael S. Tsirkin
On Tue, Mar 01, 2011 at 03:39:12PM +0100, Jean-Philippe Menil wrote: > so this time the bug is: > > [17882.612303] BUG: unable to handle kernel paging request at > 2458 > [17882.612342] IP: [] kvm_set_irq+0x30/0x140 [kvm] > > markup_oops give me this: > > root@ayrshire:~# cat bug-010

[Bug 30402] New: Debian 4 fails to boot in KVM

2011-03-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30402 Summary: Debian 4 fails to boot in KVM Product: Virtualization Version: unspecified Kernel Version: 2.6.38-rc7 Platform: All OS/Version: Linux Tree: Mainline Status: N

[ kvm-Bugs-2530908 ] QEMU segfaults in reboot test

2011-03-03 Thread SourceForge.net
Bugs item #2530908, was opened at 2009-01-23 12:31 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2530908&group_id=180599 Please note that this message will contain a full copy of the comme

Re: [PATCH 0/4 v12] MSI-X MMIO support for KVM

2011-03-03 Thread Sheng Yang
On Wed, Mar 02, 2011 at 03:51:20PM -0300, Marcelo Tosatti wrote: > On Wed, Mar 02, 2011 at 11:23:14AM +0200, Michael S. Tsirkin wrote: > > On Wed, Mar 02, 2011 at 03:26:53PM +0800, Sheng Yang wrote: > > > Change from v10: > > > 1. Update according to the comments of Michael. > > > 2. Use mmio_neede

[ kvm-Bugs-2219215 ] SVM: WinXP install with the --no-kvm-irqchip fails with BSOD

2011-03-03 Thread SourceForge.net
Bugs item #2219215, was opened at 2008-11-03 17:17 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2219215&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2962575 ] MINIX 3.1.6 works in QEMU-0.12.3 only with KVM disabled

2011-03-03 Thread SourceForge.net
Bugs item #2962575, was opened at 2010-03-03 13:20 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2962575&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2914397 ] Virtio drivers for Windows - large volumes fail

2011-03-03 Thread SourceForge.net
Bugs item #2914397, was opened at 2009-12-14 22:06 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2914397&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2729621 ] usb_add on garmin gps fails

2011-03-03 Thread SourceForge.net
Bugs item #2729621, was opened at 2009-04-04 05:02 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2729621&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2835276 ] segfault using -cpu pentium3 on coreduo

2011-03-03 Thread SourceForge.net
Bugs item #2835276, was opened at 2009-08-11 03:38 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2835276&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2792656 ] System freeze after modprobe kvm-intel

2011-03-03 Thread SourceForge.net
Bugs item #2792656, was opened at 2009-05-16 14:32 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2792656&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2834538 ] low network speed with Windows virtio NIC drivers

2011-03-03 Thread SourceForge.net
Bugs item #2834538, was opened at 2009-08-09 19:23 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2834538&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2840321 ] Qemu/KVM Can't boot scsi or virtio

2011-03-03 Thread SourceForge.net
Bugs item #2840321, was opened at 2009-08-19 16:11 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2840321&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2584543 ] Migration failed on kvm 83 (regression from 79)

2011-03-03 Thread SourceForge.net
Bugs item #2584543, was opened at 2009-02-10 11:16 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2584543&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2351433 ] unhandled vm exit: 0x80000021 running UnixWare guest

2011-03-03 Thread SourceForge.net
Bugs item #2351433, was opened at 2008-11-26 17:39 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2351433&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2609069 ] cannot create guests with >3584 mb memory with >=kvm-81

2011-03-03 Thread SourceForge.net
Bugs item #2609069, was opened at 2009-02-17 13:38 Message generated for change (Settings changed) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2609069&group_id=180599 Please note that this message will contain a full copy of the co

[ kvm-Bugs-2519737 ] DHCP/NAT: Vista fails to get IP from NAT engine

2011-03-03 Thread SourceForge.net
Bugs item #2519737, was opened at 2009-01-19 14:07 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2519737&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2725367 ] KVM userspace segfaults due to internal VNC server

2011-03-03 Thread SourceForge.net
Bugs item #2725367, was opened at 2009-04-01 18:57 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2725367&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2275173 ] savevm is extremely slow

2011-03-03 Thread SourceForge.net
Bugs item #2275173, was opened at 2008-11-13 09:36 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2275173&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2235570 ] 100% cpu usage with KVM-78

2011-03-03 Thread SourceForge.net
Bugs item #2235570, was opened at 2008-11-07 18:58 Message generated for change (Settings changed) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2235570&group_id=180599 Please note that this message will contain a full copy of the co

[ kvm-Bugs-2135076 ] Lilo boot on virtio; keytable read / checksum error

2011-03-03 Thread SourceForge.net
Bugs item #2135076, was opened at 2008-09-29 04:02 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2135076&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2122614 ] Guests do not boot (W2k/Lilo) when using "boot=on" flag

2011-03-03 Thread SourceForge.net
Bugs item #2122614, was opened at 2008-09-22 11:46 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2122614&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2121747 ] bug with kernel 0.0.1

2011-03-03 Thread SourceForge.net
Bugs item #2121747, was opened at 2008-09-21 15:58 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2121747&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2113643 ] guests AND host still getting stuck under CPU load

2011-03-03 Thread SourceForge.net
Bugs item #2113643, was opened at 2008-09-16 09:34 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2113643&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-2104487 ] Soft lockups when installing RHEL5 over PXE

2011-03-03 Thread SourceForge.net
Bugs item #2104487, was opened at 2008-09-11 00:07 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2104487&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-1858949 ] USB is unstable

2011-03-03 Thread SourceForge.net
Bugs item #1858949, was opened at 2007-12-27 15:26 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1858949&group_id=180599 Please note that this message will contain a full copy of the comme

[ kvm-Bugs-1814637 ] Windows 2000 setup unstable

2011-03-03 Thread SourceForge.net
Bugs item #1814637, was opened at 2007-10-16 20:39 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1814637&group_id=180599 Please note that this message will contain a full copy of the comme

Re: [PATCH v3 uq/master 00/22] Win32 iothread support

2011-03-03 Thread Avi Kivity
On 03/03/2011 11:13 AM, Paolo Bonzini wrote: On 03/03/2011 10:07 AM, Jan Kiszka wrote: Does it fail every time? Have you tested if qemu.git also fails without the patches? Then we may have a chance to bisect. I plan to check this sometime between today and Monday. One thing Avi can answer is:

[PATCH] kvm: remove useless function define from file arch/x86/kvm/irq.h

2011-03-03 Thread Duan Jiong
Just remove useless function define kvm_pic_clear_isr_ack() and pit_has_pending_timer() Signed-off-by: Duan Jiong --- arch/x86/kvm/irq.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h index ba910d1..15df9b5 100644 --- a/arch/x86/

Re: [PATCH v3 uq/master 00/22] Win32 iothread support

2011-03-03 Thread Paolo Bonzini
On 03/03/2011 10:07 AM, Jan Kiszka wrote: Does it fail every time? Have you tested if qemu.git also fails without the patches? Then we may have a chance to bisect. I plan to check this sometime between today and Monday. One thing Avi can answer is: do you routinely test qemu.git with or witho

Re: [PATCH v3 uq/master 00/22] Win32 iothread support

2011-03-03 Thread Avi Kivity
On 03/03/2011 11:07 AM, Jan Kiszka wrote: > > Well that's strange, since qemu-kvm now passes autotest (and this was > qemu.git + patchset, not qemu-kvm). > Does it fail every time? Have you tested if qemu.git also fails without the patches? Then we may have a chance to bisect. I didn't check

Re: [PATCH v3 uq/master 00/22] Win32 iothread support

2011-03-03 Thread Jan Kiszka
On 2011-03-03 09:48, Avi Kivity wrote: > On 03/02/2011 09:42 PM, Marcelo Tosatti wrote: >> On Wed, Mar 02, 2011 at 04:36:34PM -0300, Marcelo Tosatti wrote: >>> On Wed, Mar 02, 2011 at 08:03:42PM +0100, Jan Kiszka wrote: >>> > On 2011-03-02 19:43, Marcelo Tosatti wrote: >>> > > On Tue, Mar 01,

Re: [PATCH v3 uq/master 00/22] Win32 iothread support

2011-03-03 Thread Avi Kivity
On 03/02/2011 09:42 PM, Marcelo Tosatti wrote: On Wed, Mar 02, 2011 at 04:36:34PM -0300, Marcelo Tosatti wrote: > On Wed, Mar 02, 2011 at 08:03:42PM +0100, Jan Kiszka wrote: > > On 2011-03-02 19:43, Marcelo Tosatti wrote: > > > On Tue, Mar 01, 2011 at 02:35:56PM +0200, Avi Kivity wrote: >

Question on handle_exit

2011-03-03 Thread Nathan Perry
Hi, everyone, I'm reading kvm-5 source code (very old but good enough to learn svm). Inside svm.c, there is a function called handle_exit: static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run){    u32 exit_code = vcpu->svm->vmcb->control.exit_code;     kvm_run->exit_type = KVM_E