device passthrough

2010-05-28 Thread Mu Lin
Hi, All: Is there any method to directly assign a device to Guest OS without VT-d? Thanks Mu-- 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 http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 00/10] Redirct and make use of the guest serial console

2010-05-28 Thread Jason Wang
Lucas Meneghel Rodrigues wrote: > On Tue, 2010-05-11 at 17:03 +0800, Jason Wang wrote: > >> The guest console is useful for failure troubleshooting especially for >> the one who has calltrace. And as we plan to push the network related >> test in the next few weeks, we found the serial session i

Re: [PATCH 2/3] KVM test: Do not use the hard-coded address during unattended installation

2010-05-28 Thread Jason Wang
Lucas Meneghel Rodrigues wrote: > On Wed, 2010-05-19 at 17:20 +0800, Jason Wang wrote: > >> When we do the unattended installation in tap mode, we should use >> vm.get_address() instead of the 'localhost' in order the connect to >> the finish program running in the guest. >> >> Signed-off-by: Ja

[PATCH 1/3] KVM test: Add the support of kernel and initrd option for qemu-kvm

2010-05-28 Thread Jason Wang
"-kernel" option is useful for both unattended installation and the unittest in /kvm/user/test. Signed-off-by: Jason Wang --- client/tests/kvm/kvm_vm.py | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py inde

[PATCH 2/3] KVM test: Do not use the hard-coded address during unattended installation

2010-05-28 Thread Jason Wang
When we do the unattended installation in tap mode, we should use vm.get_address() instead of the 'localhost' in order the connect to the finish program running in the guest. Signed-off-by: Jason Wang --- client/tests/kvm/tests/unattended_install.py | 25 + 1 files chan

[PATCH 3/3] KVM test: Add implementation of network based unattended installation

2010-05-28 Thread Jason Wang
This patch could let the unattended installation to be done through the following method: - unattended.cdrom: the original method which does the installation from cdrom - unattended.url: installing the linux guest from http or ftp, tree url was specified through url - unattended.nfs: installin

Re: [PATCHv2-RFC 0/2] virtio: put last seen used index into ring itself

2010-05-28 Thread Jes Sorensen
On 05/26/10 21:50, Michael S. Tsirkin wrote: > Here's a rewrite of the original patch with a new layout. > I haven't tested it yet so no idea how this performs, but > I think this addresses the cache bounce issue raised by Avi. > Posting for early flames/comments. > > Generally, the Host end of th

Re: [Qemu-devel] [PATCH 0/2] Fix scsi-generic breakage in upstream qemu-kvm.git

2010-05-28 Thread Kevin Wolf
Am 27.05.2010 17:56, schrieb Nicholas A. Bellinger: > On Thu, 2010-05-20 at 15:18 +0200, Kevin Wolf wrote: >> Am 17.05.2010 18:45, schrieb Nicholas A. Bellinger: >>> From: Nicholas Bellinger >>> >>> Greetings, >>> >>> Attached are the updated patches following hch's comments to fix >>> scsi-gener

Question about IOMMU

2010-05-28 Thread James Neave
Hi, I'm trying to use KVM virtualization at home and I've run into what I think is a limitation of my hardware. I'm trying to pass a PCI card (WinTV NOVA-T 500) through to a guest OS but I get the error 'IOMMU not found'. Now I've read that this is because my motherboard does not have an IOMMU to

[PATCH] KVM test: Measure the timedrift after continuing a stopped vm

2010-05-28 Thread Jason Wang
This test extends the timedifrt test and measures the timedirft across the vm stopping and continuing. Two helpers function are also added in kvm_test_utils to do the stop and continue. Signed-off-by: Jason Wang --- client/tests/kvm/tests/timedrift_with_stop.py | 97 +

KVM: MMU: always invalidate and flush on spte page size change

2010-05-28 Thread Marcelo Tosatti
Always invalidate spte and flush TLBs when changing page size, to make sure different sized translations for the same address are never cached in a CPU's TLB. The first case where this occurs is when a non-leaf spte pointer is overwritten by a leaf, large spte entry. This can happen after dirty l

Re: [PATCH 2/3] workqueue: Add an API to create a singlethread workqueue attached to the current task's cgroup

2010-05-28 Thread Michael S. Tsirkin
On Thu, May 27, 2010 at 11:20:22PM +0200, Tejun Heo wrote: > Hello, Michael. > > On 05/27/2010 07:32 PM, Michael S. Tsirkin wrote: > > Well, this is why I proposed adding a new API for creating > > workqueue within workqueue.c, rather than exposing the task > > and attaching it to cgroups in our d

Re: [PATCH 2/3] workqueue: Add an API to create a singlethread workqueue attached to the current task's cgroup

2010-05-28 Thread Tejun Heo
Hello, On 05/28/2010 05:08 PM, Michael S. Tsirkin wrote: > Well, we have create_singlethread_workqueue, right? > This is not very different ... is it? > > Just copying structures and code from workqueue.c, > adding vhost_ in front of it will definitely work: Sure it will, but you'll probably be

Re: [Qemu-devel] [PATCH 1/1] ceph/rbd block driver for qemu-kvm (v2)

2010-05-28 Thread Kevin Wolf
Am 27.05.2010 21:11, schrieb Christian Brunner: > This is a block driver for the distributed file system Ceph > (http://ceph.newdream.net/). This driver uses librados (which > is part of the Ceph server) for direct access to the Ceph object > store and is running entirely in userspace. Therefore

Re: Perf trace event parse errors for KVM events

2010-05-28 Thread Stefan Hajnoczi
I get parse errors when using Steven Rostedt's trace-cmd tool, too. Any ideas what is going on here? I can provide more info (e.g. trace files) if necessary. Stefan -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majord

[Reminder] KVM Forum 2010: Early Bird Registration

2010-05-28 Thread KVM Forum 2010 Program Committee
Just a reminder...The early bird registration period ends on May 30th. It's shaping up to be an excellent KVM Forum, look forward to seeing you there. Registration link is here: http://events.linuxfoundation.org/component/registrationpro/?func=details&did=34 thanks, -KVM Forum 2010 Program Comm

Re: device passthrough

2010-05-28 Thread Chris Wright
* Mu Lin (m...@juniper.net) wrote: > Is there any method to directly assign a device to Guest OS without VT-d? Assuming you mean a PCI device, no, there isn't. Without an IOMMU[1] you can't directly assign a PCI device to a guest (nor is it safe). There have been patches floating around to allo

Re: [Qemu-devel] Re: Another SIGFPE in display code, now in cirrus

2010-05-28 Thread Michael Tokarev
12.05.2010 22:11, Stefano Stabellini wrote: On Wed, 12 May 2010, Jamie Lokier wrote: Stefano Stabellini wrote: On Wed, 12 May 2010, Avi Kivity wrote: It's useful if you have a one-line horizontal pattern you want to propagate all over. It might be useful all right, but it is not entirely cle

Re: [Qemu-devel] [PATCH 1/1] ceph/rbd block driver for qemu-kvm (v2)

2010-05-28 Thread Christian Brunner
Hi Kevin, thanks for your review notes. Yehuda and I have already worked this into the git tree on the ceph site. I'll do some testing on Monday. After that I'll send an updated patch. Regards, Christian 2010/5/28 Kevin Wolf : > Am 27.05.2010 21:11, schrieb Christian Brunner: >> This is a block

Re: Perf trace event parse errors for KVM events

2010-05-28 Thread Marcelo Tosatti
On Fri, May 28, 2010 at 05:42:51PM +0100, Stefan Hajnoczi wrote: > I get parse errors when using Steven Rostedt's trace-cmd tool, too. > > Any ideas what is going on here? I can provide more info (e.g. trace > files) if necessary. Non standard print_format for the problematic entries? -- To uns

Re: Perf trace event parse errors for KVM events

2010-05-28 Thread Steven Rostedt
On Fri, 2010-05-28 at 17:42 +0100, Stefan Hajnoczi wrote: > I get parse errors when using Steven Rostedt's trace-cmd tool, too. > > Any ideas what is going on here? I can provide more info (e.g. trace > files) if necessary. Does trace-cmd fail on the same tracepoints? Have you checkout the lates

RE: device passthrough

2010-05-28 Thread Mu Lin
Thanks, Chris, Do you know where is the patch, I just need something quick and dirty for now, my shining new board does have VT-d but the BIOS is not ready yet, I want to have something "working" now. Mu > -Original Message- > From: Chris Wright [mailto:chr...@sous-sol.org] > Sent: F

Re: device passthrough

2010-05-28 Thread Chris Wright
* Mu Lin (m...@juniper.net) wrote: > Do you know where is the patch, I just need something quick and dirty > for now, my shining new board does have VT-d but the BIOS is not ready > yet, I want to have something "working" now. Sorry, I don't have a handy pointer. You can search for either pv dma

Re: [PATCH] VFIO driver: Non-privileged user level PCI drivers

2010-05-28 Thread Randy Dunlap
Hi, On Fri, 28 May 2010 16:07:38 -0700 Tom Lyon wrote: Missing diffstat -p1 -w 70: Documentation/vfio.txt | 176 MAINTAINERS|7 drivers/Kconfig|2 drivers/Makefile |1 drivers/vfio/Kconfig |9 dri

Re: [PATCH] VFIO driver: Non-privileged user level PCI drivers

2010-05-28 Thread Randy Dunlap
On Fri, 28 May 2010 16:07:38 -0700 Tom Lyon wrote: > diff -uprN linux-2.6.34/Documentation/vfio.txt > vfio-linux-2.6.34/Documentation/vfio.txt > --- linux-2.6.34/Documentation/vfio.txt 1969-12-31 16:00:00.0 > -0800 > +++ vfio-linux-2.6.34/Documentation/vfio.txt 2010-05-28 14:03:05