Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
On Wednesday 23 February 2011 16:45:37 Michael S. Tsirkin wrote: On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote: On Sun, 2011-01-30 at 13:11 +0800, Sheng Yang wrote: Then we can support mask bit operation of

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command name, the meaning is clearer. Signed-off-by: Lai Jiangshanla...@cn.fujitsu.com --- diff --git

Out-dated Qemu link on http://www.linux-kvm.org/Main_page

2011-02-24 Thread Philipp Hahn
Hello, On http://www.linux-kvm.org/page/Main_Page in the Common External Pages sections the QEMU link links to the out-dated http://www.nongnu.org/qemu page, which just shows the info, that the site has moved to http://wiki.qemu.org/Index.html. (This internally redirects to

Re: Out-dated Qemu link on http://www.linux-kvm.org/Main_page

2011-02-24 Thread Michael Tokarev
24.02.2011 12:08, Philipp Hahn wrote: Hello, On http://www.linux-kvm.org/page/Main_Page in the Common External Pages sections the QEMU link links to the out-dated http://www.nongnu.org/qemu Fixed, the link is set up to point to www.qemu.org. Thanks! /mjt -- To unsubscribe from this list:

Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

2011-02-24 Thread James Neave
On Wed, Feb 23, 2011 at 8:09 PM, James Neave robo...@gmail.com wrote: On Wed, Feb 23, 2011 at 7:44 PM, James Neave robo...@gmail.com wrote: On Wed, Feb 23, 2011 at 12:11 AM, Chris Wright chr...@sous-sol.org wrote: * James Neave (robo...@gmail.com) wrote: On Tue, Feb 22, 2011 at 1:51 AM, Chris

Re: [PATCH 07/18] Introduce fault tolerant VM transaction QEMUFile and ft_mode.

2011-02-24 Thread Juan Quintela
[ trimming cc to kvm qemu lists] Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: Juan Quintela wrote: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote: This code implements VM transaction protocol. Like buffered_file, it sits between savevm and migration layer. With this

Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
On Wednesday 23 February 2011 16:45:37 Michael S. Tsirkin wrote: On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote: On Sun, 2011-01-30 at 13:11 +0800, Sheng Yang wrote: Then we can support mask bit operation of

Re: [PATCH 07/18] Introduce fault tolerant VM transaction QEMUFile and ft_mode.

2011-02-24 Thread Yoshiaki Tamura
2011/2/24 Juan Quintela quint...@redhat.com: [ trimming cc to kvm qemu lists] Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: Juan Quintela wrote: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp  wrote: This code implements VM transaction protocol.  Like buffered_file, it sits between

[PATCH 0/4 v10] MSI-X MMIO support for KVM

2011-02-24 Thread Sheng Yang
Change from v8: 1. Fix one MSI-X routing update exit bug. 2. Update according to the comments of Alex and Michael. Notice this patchset still based on 2.6.37 due to a block bug on assigned device in the upstream now. Sheng Yang (4): KVM: Move struct kvm_io_device to kvm_host.h KVM: Add

[PATCH 2/4] KVM: Add kvm_io_ext_data to IO handler

2011-02-24 Thread Sheng Yang
Add a new parameter to IO writing handler, so that we can transfer information from IO handler to caller. Signed-off-by: Sheng Yang sh...@linux.intel.com --- arch/x86/kvm/i8254.c |6 -- arch/x86/kvm/i8259.c |3 ++- arch/x86/kvm/lapic.c |3 ++- arch/x86/kvm/x86.c

[PATCH 3/4] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
Then we can support mask bit operation of assigned devices now. Signed-off-by: Sheng Yang sh...@linux.intel.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/Makefile |2 +- arch/x86/kvm/mmu.c |2 + arch/x86/kvm/x86.c | 40 -

[PATCH 4/4] KVM: Add documents for MSI-X MMIO API

2011-02-24 Thread Sheng Yang
Signed-off-by: Sheng Yang sh...@linux.intel.com --- Documentation/kvm/api.txt | 58 + 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt index e1a9297..dd10c3b 100644 ---

[PATCH 1/4] KVM: Move struct kvm_io_device to kvm_host.h

2011-02-24 Thread Sheng Yang
Then it can be used by other struct in kvm_host.h Signed-off-by: Sheng Yang sh...@linux.intel.com --- include/linux/kvm_host.h | 23 +++ virt/kvm/iodev.h | 25 + 2 files changed, 24 insertions(+), 24 deletions(-) diff --git

Re: [RFC PATCH 0/3] Weight-balanced binary tree + KVM growable memory slots using wbtree

2011-02-24 Thread Avi Kivity
On 02/23/2011 09:28 PM, Alex Williamson wrote: I had forgotten about1M mem, so actually the slot configuration was: 0:1M 1: 1M - 3.5G 2: 4G+ I stacked the deck in favor of the static array (0: 4G+, 1: 1M-3.5G, 2: 1M), and got these kernbench results: base (stdev)reorder

Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Michael S. Tsirkin
On Thu, Feb 24, 2011 at 04:08:22PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 16:45:37 Michael S. Tsirkin wrote: On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote: On Sun, 2011-01-30 at 13:11 +0800, Sheng

Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Michael S. Tsirkin
On Thu, Feb 24, 2011 at 05:44:20PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 16:45:37 Michael S. Tsirkin wrote: On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 08:19:21 Alex Williamson wrote: On Sun, 2011-01-30 at 13:11 +0800, Sheng

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

2011-02-24 Thread Avi Kivity
On 02/24/2011 01:42 AM, Nikola Ciprich wrote: Hello Avi et al, seems like I've hit regression in 2.6.37: 32bit SMP centos guest stopped booting, they just hang during initrd phase. (haven't tried different distros) UP guest are OK. when I (forcibly) compiled kvm-kmod-2.6.36.2 and used it in

Re: [PATCH 2/4] KVM: Add kvm_io_ext_data to IO handler

2011-02-24 Thread Michael S. Tsirkin
On Thu, Feb 24, 2011 at 05:51:03PM +0800, Sheng Yang wrote: Add a new parameter to IO writing handler, so that we can transfer information from IO handler to caller. Signed-off-by: Sheng Yang sh...@linux.intel.com --- arch/x86/kvm/i8254.c |6 -- arch/x86/kvm/i8259.c |

Re: [RFC PATCH 2/3] kvm: Allow memory slot array to grow on demand

2011-02-24 Thread Avi Kivity
On 02/22/2011 08:55 PM, Alex Williamson wrote: Remove fixed KVM_MEMORY_SLOTS limit, allowing the slot array to grow on demand. Private slots are now allocated at the front instead of the end. Only x86 seems to use private slots, so this is now zero for all other archs. The memslots pointer is

Re: [PATCH 3/4] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Michael S. Tsirkin
On Thu, Feb 24, 2011 at 05:51:04PM +0800, Sheng Yang wrote: Then we can support mask bit operation of assigned devices now. Signed-off-by: Sheng Yang sh...@linux.intel.com Doesn't look like all comments got addressed. E.g. gpa_t entry_base is still there and in reality you said it's a host

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

2011-02-24 Thread Nikola Ciprich
On Thu, Feb 24, 2011 at 12:17:40PM +0200, Avi Kivity wrote: On 02/24/2011 01:42 AM, Nikola Ciprich wrote: Hello Avi et al, seems like I've hit regression in 2.6.37: 32bit SMP centos guest stopped booting, they just hang during initrd phase. (haven't tried different distros) UP guest are

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

2011-02-24 Thread Avi Kivity
On 02/24/2011 12:48 PM, Nikola Ciprich wrote: On Thu, Feb 24, 2011 at 12:17:40PM +0200, Avi Kivity wrote: On 02/24/2011 01:42 AM, Nikola Ciprich wrote: Hello Avi et al, seems like I've hit regression in 2.6.37: 32bit SMP centos guest stopped booting, they just hang during initrd phase.

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

2011-02-24 Thread Nikola Ciprich
Not very useful when the guest is making progress, I'm afraid. can perf report help here? Can you try a little trace-cmd -e kvm -b 2? ugh, I'm afraid I'll have some dumb questions here :-[ You mean this: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git ? and then

Re: Out-dated Qemu link on http://www.linux-kvm.org/Main_page

2011-02-24 Thread Kenni Lund
2011/2/24 Philipp Hahn h...@univention.de: Hello, On http://www.linux-kvm.org/page/Main_Page in the Common External Pages sections the QEMU link links to the out-dated http://www.nongnu.org/qemu page, which just shows the info, that the site has moved to http://wiki.qemu.org/Index.html.

Re: [v3 RFC PATCH 0/4] Implement multiqueue virtio-net

2011-02-24 Thread Krishna Kumar2
Michael S. Tsirkin m...@redhat.com wrote on 02/23/2011 09:25:34 PM: Sure, will get a build/test on latest bits and send in 1-2 days. The TX-only patch helped the guest TX path but didn't help host-guest much (as tested using TCP_MAERTS from the guest). But with the TX+RX patch,

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

2011-02-24 Thread Avi Kivity
On 02/24/2011 01:27 PM, Nikola Ciprich wrote: Not very useful when the guest is making progress, I'm afraid. can perf report help here? Can you try a little trace-cmd -e kvm -b 2? ugh, I'm afraid I'll have some dumb questions here :-[ You mean this:

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-02-24 Thread Avi Kivity
On 02/23/2011 11:46 PM, Alex Williamson wrote: But kvm_arch_flush_shadow() takes mmu_lock currently, so that needs fixing. Hmm, I tried to follow the example in the !npages path just above this that does: rcu_assign_pointer() synchronize_srcu_expedited() kvm_arch_flush_shadow() Do we

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-02-24 Thread Avi Kivity
On 02/24/2011 02:34 PM, Avi Kivity wrote: Hmm, your patch dereferences kvm-memslots without rcu_dereference(). That's a mortal (as in oops) sin. Sorry, that's wrong, all those places are under -slots_lock. Note that sticking an rcu_dereference() blindly may or may not work - we might

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

2011-02-24 Thread Avi Kivity
On 02/24/2011 02:41 PM, Nikola Ciprich wrote: Yes. If you have udis86 and udis86-devel installed when building it, it's even better. yes, now I remember! I've done some tracing for You already.. You don't have to execute qemu-kvm under it, if you have a running instance you can run

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

2011-02-24 Thread Nikola Ciprich
The only activity I can see is the timer interrupt, so I'm afraid a bisect is needed. OK, nevermind, it's easy to reproduce, so I'll just bisect it and report. n. If you let git bisect just kvm, it'll be a bit faster: $ git bisect $BAD $GOOD virt/kvm arch/x86/kvm -- error compiling

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

2011-02-24 Thread Nikola Ciprich
Yes. If you have udis86 and udis86-devel installed when building it, it's even better. yes, now I remember! I've done some tracing for You already.. You don't have to execute qemu-kvm under it, if you have a running instance you can run trace-cmd in parallel and it will record whatever's

Re: Out-dated Qemu link on http://www.linux-kvm.org/Main_page

2011-02-24 Thread Avi Kivity
On 02/24/2011 01:50 PM, Kenni Lund wrote: I also sometimes fix stuff in the wiki, when I spot outdated things like the one you just found. Unfortunately, there doesn't seem to be a big interest in keeping the information on the wiki up to date, so I think most of the updates are done by users of

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Anthony Liguori
On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command name, the meaning is clearer. Signed-off-by: Lai

Re: Problem with bridged tap interface

2011-02-24 Thread andreas . ames
Hi Daniel, all, Daniel P. Berrange berra...@redhat.com schrieb am 23.02.2011 14:37:16: There have been QEMU NIC model implementation bugs that exhibit that characteristic. If you have the drivers available in the guest, then I'd recommend trying out different NIC models than ne2k, since

Re: [PATCH] stop and show registers on error.

2011-02-24 Thread Avi Kivity
On 02/21/2011 02:57 PM, Gleb Natapov wrote: FWIW, this patch just aligns qemu-kvm to what upstream already does and what qemu-kvm will soon or later do as well when it starts using the upstream loop. I'm neutral /wrt applying this patch before the cleanup or achieving the same by

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Markus Armbruster
Anthony Liguori aligu...@linux.vnet.ibm.com writes: On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command

Re: [PATCH 3/3][RESEND] Provide control over unmapped pages (v4)

2011-02-24 Thread Satoru Moriya
On 02/01/2011 11:55 AM, Balbir Singh wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 7b56473..2ac8549 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1660,6 +1660,9 @@ zonelist_scan: unsigned long mark; int ret; +

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Anthony Liguori
On 02/24/2011 10:20 AM, Markus Armbruster wrote: Anthony Liguorialigu...@linux.vnet.ibm.com writes: On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject

Re: [RFC PATCH 0/3] Weight-balanced binary tree + KVM growable memory slots using wbtree

2011-02-24 Thread Alex Williamson
On Thu, 2011-02-24 at 12:06 +0200, Avi Kivity wrote: On 02/23/2011 09:28 PM, Alex Williamson wrote: I had forgotten about1M mem, so actually the slot configuration was: 0:1M 1: 1M - 3.5G 2: 4G+ I stacked the deck in favor of the static array (0: 4G+, 1: 1M-3.5G, 2: 1M), and got

Re: [RFC PATCH 2/3] kvm: Allow memory slot array to grow on demand

2011-02-24 Thread Alex Williamson
On Thu, 2011-02-24 at 12:39 +0200, Avi Kivity wrote: On 02/22/2011 08:55 PM, Alex Williamson wrote: Remove fixed KVM_MEMORY_SLOTS limit, allowing the slot array to grow on demand. Private slots are now allocated at the front instead of the end. Only x86 seems to use private slots, so

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-02-24 Thread Alex Williamson
On Thu, 2011-02-24 at 14:34 +0200, Avi Kivity wrote: On 02/23/2011 11:46 PM, Alex Williamson wrote: But kvm_arch_flush_shadow() takes mmu_lock currently, so that needs fixing. Hmm, I tried to follow the example in the !npages path just above this that does:

Is it possible to duplicate running KVM guest ?

2011-02-24 Thread Ernest Beinrohr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, my question is whether it is possible with KVM to duplicate a running VM. I can save the guest, copy the raw LVM (or a snapshot), but how do I restore it under another name. And with disabled networking (pull cable)? Is that possible? PS: Just

[RFC PATCH 0/3] Make kvm-unit-tests more friendly to upstream QEMU

2011-02-24 Thread Anthony Liguori
This series makes an attempt to make kvm-unit-tests more friendly to upstream QEMU. I've been writing unit tests for all of the QMP commands and many of them, like ballooning, require guest cooperation to be tested in a meaningful way. I'm leaning towards building simple guests using libcflat in

[PATCH 2/3] kvm-unit-tests: do not set level sensitive irq when initializing the PIC

2011-02-24 Thread Anthony Liguori
I'm not sure if this was intentional but the QEMU i8259 does not support this flag. I haven't observed any issues with this but I'll happily admit that I'm not very aware of what I'm doing here. Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/lib/x86/apic.c b/lib/x86/apic.c

[PATCH 1/3] kvm-unit-tests: add x86 port io accessors

2011-02-24 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/lib/x86/io.h b/lib/x86/io.h new file mode 100644 index 000..bd6341c --- /dev/null +++ b/lib/x86/io.h @@ -0,0 +1,40 @@ +#ifndef IO_H +#define IO_H + +static inline unsigned char inb(unsigned short port) +{ +unsigned char

[PATCH 3/3] kvm-unit-tests: make I/O more friendly to existing QEMU hardware

2011-02-24 Thread Anthony Liguori
Use the serial port for printf() and use the Bochs bios exit port if the testdev port isn't available. This unconditionally switches to use the serial port but tries to use the testdev exit port since that lets you pass an exit status. Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff

[PATCH 0/3] device-assigment: cleanup

2011-02-24 Thread Juan Quintela
Hi This series just: - use qemu_mallocz() everywhere. - remove NULL tests for qemu_mallocz(). - change all container_of to DO_UPCAST() (there were both of them). Later, Juan. Juan Quintela (3): device-assignment: Use qemu_mallocz() instead of calloc() device-assignment: Be consistent and

[PATCH 1/3] device-assignment: Use qemu_mallocz() instead of calloc()

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/device-assignment.c | 12 ++-- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index e5205cf..115df19 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c

[PATCH 2/3] device-assignment: Be consistent and use DO_UPCAST everywhere

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/device-assignment.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 115df19..dc70b80 100644 --- a/hw/device-assignment.c +++

[PATCH 3/3] device-assignment: remove qemu_mallocz() test

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/device-assignment.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index dc70b80..968a8d9 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@

Re: [PATCH 0/3] device-assigment: cleanup

2011-02-24 Thread Alex Williamson
On Thu, 2011-02-24 at 22:56 +0100, Juan Quintela wrote: Hi This series just: - use qemu_mallocz() everywhere. - remove NULL tests for qemu_mallocz(). - change all container_of to DO_UPCAST() (there were both of them). Later, Juan. Juan Quintela (3): device-assignment: Use

Re: [RFC PATCH 1/3] Weight-balanced tree

2011-02-24 Thread Andrew Morton
On Tue, 22 Feb 2011 11:55:05 -0700 Alex Williamson alex.william...@redhat.com wrote: Signed-off-by: Alex Williamson alex.william...@redhat.com --- include/linux/wbtree.h | 55 lib/Makefile |3 + lib/wbtree.c | 170

Re: [PATCH] expose kvmclock upper msr set.

2011-02-24 Thread Glauber Costa
On Thu, 2011-02-24 at 18:24 -0500, Steven Rostedt wrote: On Wed, Feb 23, 2011 at 12:44:14PM -0500, Glauber Costa wrote: We've been supporting kvmclock MSRs in the 0x4b564d00-0x4b564dff range for a while now, but we're not exposing it yet, meaning nobody is using it. This simple patch takes

Re: [PATCH] expose kvmclock upper msr set.

2011-02-24 Thread Steven Rostedt
On Thu, 2011-02-24 at 20:48 -0300, Glauber Costa wrote: On Thu, 2011-02-24 at 18:24 -0500, Steven Rostedt wrote: On Wed, Feb 23, 2011 at 12:44:14PM -0500, Glauber Costa wrote: We've been supporting kvmclock MSRs in the 0x4b564d00-0x4b564dff range for a while now, but we're not exposing it

Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

2011-02-24 Thread Chris Wright
* James Neave (robo...@gmail.com) wrote: libvirtError: this function is not supported by the connection driver: Unable to reset PCI device :00:14.4: no FLR, PM reset or bus reset available Right, libvirt is more restrictive than qemu-kvm (forgot you were using libvirt here). There is

Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

2011-02-24 Thread Chris Wright
* James Neave (robo...@gmail.com) wrote: OK, here's my latest dmesg with amd_iommu_dump and debug with no quiet http://pastebin.com/JxEwvqRA Yeah, that's what I expected: [0.724403] AMD-Vi: DEV_ALIAS_RANGE devid: 08:00.0 flags: 00 devid_to: 00:14.4 [0.724439] AMD-Vi:

Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

2011-02-24 Thread Chris Wright
* James Neave (robo...@gmail.com) wrote: Just out of interest, what kind of mileage would I expect out of buying a shiny new PCIe tuner? Hard to say. One advantage would be if it's using MSI or MSI-X interrupts. Can I pass through PCIe? Often, yes (still some caveats w.r.t. extended config

Re: [PATCH 2/4] KVM: Add kvm_io_ext_data to IO handler

2011-02-24 Thread Sheng Yang
On Thursday 24 February 2011 18:22:19 Michael S. Tsirkin wrote: On Thu, Feb 24, 2011 at 05:51:03PM +0800, Sheng Yang wrote: Add a new parameter to IO writing handler, so that we can transfer information from IO handler to caller. Signed-off-by: Sheng Yang sh...@linux.intel.com ---

Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
On Thursday 24 February 2011 18:11:44 Michael S. Tsirkin wrote: On Thu, Feb 24, 2011 at 04:08:22PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 16:45:37 Michael S. Tsirkin wrote: On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 08:19:21

Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
On Thursday 24 February 2011 18:17:34 Michael S. Tsirkin wrote: On Thu, Feb 24, 2011 at 05:44:20PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 16:45:37 Michael S. Tsirkin wrote: On Wed, Feb 23, 2011 at 02:59:04PM +0800, Sheng Yang wrote: On Wednesday 23 February 2011 08:19:21

Re: [PATCH 3/4] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
On Thursday 24 February 2011 18:45:08 Michael S. Tsirkin wrote: On Thu, Feb 24, 2011 at 05:51:04PM +0800, Sheng Yang wrote: Then we can support mask bit operation of assigned devices now. Signed-off-by: Sheng Yang sh...@linux.intel.com Doesn't look like all comments got addressed. E.g.

[PATCH 3/4] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
Then we can support mask bit operation of assigned devices now. Signed-off-by: Sheng Yang sh...@linux.intel.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/Makefile |2 +- arch/x86/kvm/mmu.c |2 + arch/x86/kvm/x86.c | 40 -

[PATCH 3/4 v10 UPDATED] KVM: Emulate MSI-X table in kernel

2011-02-24 Thread Sheng Yang
Then we can support mask bit operation of assigned devices now. Signed-off-by: Sheng Yang sh...@linux.intel.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/Makefile |2 +- arch/x86/kvm/mmu.c |2 + arch/x86/kvm/x86.c | 40 -