[PATCH] uhci: Fixed length handling for SETUP and OUT tokens

2008-08-21 Thread Max Krasnyansky
Fixes regression reported agains Linux 2.6.18. Looks like XP and newer Linux kernels are less sensitive to length returned for control transfers. Signed-off-by: Max Krasnyansky <[EMAIL PROTECTED]> --- hw/usb-uhci.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) dif

[PATCH] uhci: improved TD matching, working ISOC transfers

2008-08-21 Thread Max Krasnyansky
While trying to make VX-3000 camera work on XP under KVM I realized that we do not necessarily have to find original TD address. All we care about is the token which identifies the transfer rather well (direction, endpoint, size, etc). This is especially important for the isochronous transfers beca

RE: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Zhang, Xiantao
Avi Kivity wrote: > Avi Kivity wrote: >> Zhang, Xiantao wrote: >>> Hi, AviSince ia64 has supported userspace's build, could we >>> include ia64 bits in next release? >> >> I updated my scripts. I'll send you a test tarball via private mail >> to see I hadn't missed any files. >> > > Better

Re: [PATCH 0/8] Various USB fixes and improvements (update 2)

2008-08-21 Thread Anthony Liguori
Max Krasnyansky wrote: This is an updated version of the USB patches I sent out yesterday. It includes changes and fixes suggested by Anthony. Applied whole series. Thanks! Regards, Anthony Liguori -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message

kvm-70; Ubuntu Hardy: many kvm_handle_exit errors in dmesg

2008-08-21 Thread Randy Smith
Greetings, I'm running KVM-70 on Ubuntu Hardy (2.6.24-16-server x86_64) running ten VMs. After some time, I start to get this message in dmesg: kvm_handle_exit: unexpected, valid vectoring info and exit reason is 0x9 And a bunch of these in my syslog: Aug 21 06:43:57 trinity kernel: tortorint

Re: [PATCH 0/8] Various USB fixes and improvements (update 2)

2008-08-21 Thread Anthony Liguori
Max Krasnyansky wrote: Anthony Liguori wrote: Any objections to applying this series? It seems like the consensus is that OHCI support is better long term but this series seems pretty sane and self-contained. I'm actually having seconds thought on the OHCI vs UHCI. You probably saw my reply

RE: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Zhang, Xiantao
Avi Kivity wrote: > Zhang, Xiantao wrote: >> Hi, Avi >>Since ia64 has supported userspace's build, could we include ia64 >> bits in next release? >> > > I updated my scripts. I'll send you a test tarball via private mail > to see I hadn't missed any files. Great! I will guarantee it can wo

Re: [PATCH 2/4] libkvm: add kvm_has_mmu_notifiers

2008-08-21 Thread Avi Kivity
Anthony Liguori wrote: This patch adds a kvm_has_mmu_notifiers routine to libkvm. This allows userspace to query the existence of mmu notifiers which is important for ballooning since madvise() is not safe from userspace without it. Can we call this kvm_has_sync_mmu()? s390 doesn't need m

Re: [PATCH] kvm: qemu: Handle tap fds with IFF_VNET_HDR

2008-08-21 Thread Anthony Liguori
Avi Kivity wrote: Mark McLoughlin wrote: I'll take a stab at "-capabilities" later. It's quite tricky; anything we forget now, we won't have a way to detect in the future, so it needs to be fairly complete. BTW, I prefer that it's part of the output from -version. Regards, Anthony Lig

Re: [PATCH] kvm: qemu: Handle tap fds with IFF_VNET_HDR

2008-08-21 Thread Avi Kivity
Mark McLoughlin wrote: I'll take a stab at "-capabilities" later. It's quite tricky; anything we forget now, we won't have a way to detect in the future, so it needs to be fairly complete. In the mean time, it may make sense to commit the patch minus the -help string. Done. --

Re: [PATCH] Use .fixup instead of .text.fixup on __kvm_handle_fault_on_reboot

2008-08-21 Thread Avi Kivity
Eduardo Habkost wrote: [oops. sent it to the old kvm-devel list. sending to the right list, now] vmlinux.lds expects the fixup code to be on a section named .fixup. The .text.fixup section is not mentioned on vmlinux.lds, and is included on the resulting vmlinux (just after .text) only because o

Re: Issues while "Debugging Windows Kernel" running on KVM

2008-08-21 Thread Dor Laor
Can you try http://kvm.qumranet.com/kvmwiki/WindowsGuestDebug You can use windows host as a VM too. Since (in the past) there was a problem with the virtual serial polling you can use -no-kvm and the qemu patch, as described in the wiki. Good luck, Dor. Muppana, Bhaskar wrote: Hi, I am facing

Re: [PATCH 2/2] KVM: Device assignemnt with VT-d

2008-08-21 Thread Amit Shah
* On Thursday 21 Aug 2008 16:35:57 Ben-Ami Yassour wrote: > On Thu, 2008-08-21 at 12:13 +0530, Amit Shah wrote: > > * On Thursday 07 Aug 2008 19:44:47 Ben-Ami Yassour wrote: > > > Based on a patch by: Kay, Allen M <[EMAIL PROTECTED]> > > > > > > This patch enables pci device assignment based on VT-

Re: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Avi Kivity
Avi Kivity wrote: Zhang, Xiantao wrote: Hi, AviSince ia64 has supported userspace's build, could we include ia64 bits in next release? I updated my scripts. I'll send you a test tarball via private mail to see I hadn't missed any files. Better a link: http://userweb.kernel.org/~a

Re: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Avi Kivity
Zhang, Xiantao wrote: Hi, Avi Since ia64 has supported userspace's build, could we include ia64 bits in next release? I updated my scripts. I'll send you a test tarball via private mail to see I hadn't missed any files. -- error compiling committee.c: too many arguments to function

Re: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Avi Kivity
Yang, Sheng wrote: On Thursday 21 August 2008 00:43:22 Muli Ben-Yehuda wrote: On Wed, Aug 20, 2008 at 06:04:26PM +0300, Avi Kivity wrote: Other noteworthy changes: speedups of both virtio-net and qcow2 with cache=off. Two important works-in-progress: device assignment (not usable yet,

Re: [PATCH] Make " make sync" get correct header files with latest Linux source.

2008-08-21 Thread Avi Kivity
Zhang, Xiantao wrote: Avi, Please drop the previous one due to its incompleteness, and help to check-in this one. Sure; applied. -- 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 t

[PATCH 2/2] KVM: Device assignemnt with VT-d

2008-08-21 Thread Ben-Ami Yassour
Based on a patch by: Kay, Allen M <[EMAIL PROTECTED]> This patch enables pci device assignment based on VT-d support. When a device is assigned to the guest, the guest memory is pinned and the mapping is updated in the VT-d IOMMU. Signed-off-by: Kay, Allen M <[EMAIL PROTECTED]> Signed-off-by: Wei

[PATCH 1/2] VT-d: changes to support KVM

2008-08-21 Thread Ben-Ami Yassour
From: Kay, Allen M <[EMAIL PROTECTED]> This patch extends the VT-d driver to support KVM [Ben: fixed memory pinning] Signed-off-by: Kay, Allen M <[EMAIL PROTECTED]> Signed-off-by: Weidong Han <[EMAIL PROTECTED]> Signed-off-by: Ben-Ami Yassour <[EMAIL PROTECTED]> --- drivers/pci/dmar.c

VT-d support for device assignment

2008-08-21 Thread Ben-Ami Yassour
Avi, I am re-sending the VT-d patches, please apply. The following two patches contains the VT-d support for device assignment. The first patch contains the changes that are required to the generic VT-d code. The second patch contains the changes to KVM. Regards, Ben -- To unsubscribe from thi

Re: [PATCH 2/2] KVM: Device assignemnt with VT-d

2008-08-21 Thread Ben-Ami Yassour
On Thu, 2008-08-21 at 12:13 +0530, Amit Shah wrote: > * On Thursday 07 Aug 2008 19:44:47 Ben-Ami Yassour wrote: > > Based on a patch by: Kay, Allen M <[EMAIL PROTECTED]> > > > > This patch enables pci device assignment based on VT-d support. > > When a device is assigned to the guest, the guest mem

RE: [PATCH] Make " make sync" get correct header files with latest Linux source.

2008-08-21 Thread Zhang, Xiantao
Avi, Please drop the previous one due to its incompleteness, and help to check-in this one. Xiantao >From ae0e1b37520f6aba051b5ebb47028520383ca494 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang <[EMAIL PROTECTED]> Date: Thu, 21 Aug 2008 17:30:32 +0800 Subject: [PATCH] KVM: Userspace: Make " mak

Re: [PATCH] kvm: qemu: Handle tap fds with IFF_VNET_HDR

2008-08-21 Thread Mark McLoughlin
On Wed, 2008-08-20 at 20:51 +0300, Avi Kivity wrote: > Anthony Liguori wrote: > > Mark McLoughlin wrote: > >> Allow users to pass an IFF_VNET_HDR tap fd via "-net tap,fd=X" > >> by querying the fd with the recently added TUNGETIFF ioctl() to > >> see if IFF_VNET_HDR has been enabled. > >> > >> Note

Issues while "Debugging Windows Kernel" running on KVM

2008-08-21 Thread Muppana, Bhaskar
Hi, I am facing issues while trying to debug Windows XP kernel running on top of Linux KVM. I have to debug Windows XP kernel running in a VM. I have dedicated ttyS0 on the host to the guest. I am using the following command to bring up Windows VM. /usr/local/kvm/bin/qemu-system-x86_64 \

Re: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Muli Ben-Yehuda
On Thu, Aug 21, 2008 at 11:26:59AM +0800, Han, Weidong wrote: > I thought the patches would be merged into KVM mainline first. Avi, > is it possible? If not, we should send the patch to LKML soon. That was my understanding too from previous discussions. Cheers, Muli -- Workshop on I/O Virtualiz

Re: [ANNOUNCE] kvm-73 release

2008-08-21 Thread Yang, Sheng
On Thursday 21 August 2008 09:45:29 Yang, Sheng wrote: > On Thursday 21 August 2008 00:43:22 Muli Ben-Yehuda wrote: > > On Wed, Aug 20, 2008 at 06:04:26PM +0300, Avi Kivity wrote: > > > Other noteworthy changes: speedups of both virtio-net and qcow2 > > > with cache=off. Two important works-in-pro