Re: VFIO v2 design plan

2011-08-31 Thread David Gibson
On Tue, Aug 30, 2011 at 08:51:38AM -0600, Alex Williamson wrote: > On Tue, 2011-08-30 at 17:48 +1000, David Gibson wrote: > > On Mon, Aug 29, 2011 at 10:24:43PM -0600, Alex Williamson wrote: > > > On Tue, 2011-08-30 at 13:04 +1000, David Gibson wrote: > > > > On Fri, Aug 26, 2011 at 11:05:23AM -060

Re: [Qemu-devel] [PATCH] hw: Add test device for unittests execution v2

2011-08-31 Thread Edgar E. Iglesias
On Wed, Aug 31, 2011 at 06:06:09PM -0300, Lucas Meneghel Rodrigues wrote: > Add a test device which supports the kvmctl ioports, > for running the KVM test suite. > > Usage: > > qemu > -chardev file,path=/log/file/some/where,id=testlog > -device pc-testdev,chardev=testlog > > lmr: I'

[PATCH] kvm_unit_tests: vm.c - Retrieve RAM size from fwcfg

2011-08-31 Thread Lucas Meneghel Rodrigues
Rather than letting the test dev do it. CC: Avi Kivity CC: Marcelo Tosatti Signed-off-by: Lucas Meneghel Rodrigues --- lib/x86/fwcfg.c |5 + lib/x86/fwcfg.h |1 + lib/x86/vm.c|2 +- 3 files changed, 7 insertions(+), 1 deletions(-) diff --git a/lib/x86/fwcfg.c b/lib/x86/fwc

[PATCH] hw: Add test device for unittests execution v2

2011-08-31 Thread Lucas Meneghel Rodrigues
Add a test device which supports the kvmctl ioports, for running the KVM test suite. Usage: qemu -chardev file,path=/log/file/some/where,id=testlog -device pc-testdev,chardev=testlog lmr: I've tried to address the comments made by the reviewers, but I probably left out some things. P

Re: [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc

2011-08-31 Thread Justin M. Forbes
On Wed, 2011-08-31 at 10:14 +0200, Kevin Wolf wrote: > Am 31.08.2011 09:40, schrieb Jan Kiszka: > > On 2011-08-31 02:03, Chris Friesen wrote: > > c62f6d1d76aea587556c85b6b7b5c44167006264 and > > 860341f60582959698d2e1d839a5b7a004a2d76f need to be applied to > > stable-0.15 of upstream QEMU. > > S

Re: [PATCH] virtio-net: Read MAC only after initializing MSI-X

2011-08-31 Thread Sasha Levin
I'm wondering if we can switch to using a linked list 'capabilities' structure similar to whats being done with PCI capabilities. Here are the pros and the cons as I see them: Pros: * Simpler code - currently before each access to the virtio config space we have to check whether MSI-X is on and

Re: Temporary kvm and qemu git repositories

2011-08-31 Thread Lucas Meneghel Rodrigues
On 08/31/2011 12:38 PM, Avi Kivity wrote: Since master.kernel.org is down for maintenance, I've set up temporary repositories on github: git://github.com/avikivity/kvm.git git://github.com/avikivity/qemu.git Please use these instead of kvm.git and qemu-kvm.git until further notice. Ok, thanks

Temporary kvm and qemu git repositories

2011-08-31 Thread Avi Kivity
Since master.kernel.org is down for maintenance, I've set up temporary repositories on github: git://github.com/avikivity/kvm.git git://github.com/avikivity/qemu.git Please use these instead of kvm.git and qemu-kvm.git until further notice. -- error compiling committee.c: too many argument

Re: [PATCH] KVM: Update documentation to include detailed ENABLE_CAP description

2011-08-31 Thread Alexander Graf
On 31.08.2011, at 15:07, Avi Kivity wrote: > On 08/31/2011 04:02 PM, Alexander Graf wrote: >> On 31.08.2011, at 14:52, Sasha Levin wrote: >> >> > On Wed, 2011-08-31 at 10:58 +0200, Alexander Graf wrote: >> >> +This capaobility enables interception of OSI hypercalls that otherwise >> >> would

Re: [PATCH] KVM: Update documentation to include detailed ENABLE_CAP description

2011-08-31 Thread Avi Kivity
On 08/31/2011 04:02 PM, Alexander Graf wrote: On 31.08.2011, at 14:52, Sasha Levin wrote: > On Wed, 2011-08-31 at 10:58 +0200, Alexander Graf wrote: >> +This capaobility enables interception of OSI hypercalls that otherwise would >capability Oops :). Avi, you pulled that one in already.

Re: [PATCH] KVM: Update documentation to include detailed ENABLE_CAP description

2011-08-31 Thread Alexander Graf
On 31.08.2011, at 14:52, Sasha Levin wrote: > On Wed, 2011-08-31 at 10:58 +0200, Alexander Graf wrote: >> +This capaobility enables interception of OSI hypercalls that otherwise would > capability Oops :). Avi, you pulled that one in already. Can you still change it in-tree (it's not gone

Re: [PATCH] KVM: Update documentation to include detailed ENABLE_CAP description

2011-08-31 Thread Sasha Levin
On Wed, 2011-08-31 at 10:58 +0200, Alexander Graf wrote: > +This capaobility enables interception of OSI hypercalls that otherwise would capability -- Sasha. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH] pci-assign: Use declarative interface to prevent migration

2011-08-31 Thread Avi Kivity
On 08/31/2011 02:57 PM, Jan Kiszka wrote: Signed-off-by: Jan Kiszka Applied, thanks. -- 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 to majord...@vger.kernel.org More majordomo info at

[PATCH] pci-assign: Use declarative interface to prevent migration

2011-08-31 Thread Jan Kiszka
Signed-off-by: Jan Kiszka --- hw/device-assignment.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index bfa0edf..288f80c 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -1523,9 +1523,7 @@ sta

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

2011-08-31 Thread Avi Kivity
On 08/31/2011 02:51 AM, Lucas Meneghel Rodrigues wrote: aliguori - 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 meaningfu

Re: [PULL 00/14] ppc patch queue 2011-08-25

2011-08-31 Thread Avi Kivity
On 08/25/2011 05:39 PM, Alexander Graf wrote: Hi Avi, This is my current patch queue for ppc. Please pull. Thanks, pulled and applied the doc patch on top. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in th

[PATCH] KVM: Update documentation to include detailed ENABLE_CAP description

2011-08-31 Thread Alexander Graf
We have an ioctl that enables capabilities individually, but no description on what exactly happens when we enable a capability using this ioctl. This patch adds documentation for capability enabling in a new section of the API documentation. Signed-off-by: Alexander Graf --- Documentation/virt

Re: [PATCH 10/14] KVM: PPC: Enable the PAPR CAP for Book3S

2011-08-31 Thread Avi Kivity
On 08/31/2011 11:37 AM, Alexander Graf wrote: On 31.08.2011, at 10:31, Avi Kivity wrote: > On 08/25/2011 05:39 PM, Alexander Graf wrote: >> Now that Book3S PV mode can also run PAPR guests, we can add a PAPR cap and >> enable it for all Book3S targets. Enabling that CAP switches KVM into PAPR

Re: [PATCH 10/14] KVM: PPC: Enable the PAPR CAP for Book3S

2011-08-31 Thread Alexander Graf
On 31.08.2011, at 10:31, Avi Kivity wrote: > On 08/25/2011 05:39 PM, Alexander Graf wrote: >> Now that Book3S PV mode can also run PAPR guests, we can add a PAPR cap and >> enable it for all Book3S targets. Enabling that CAP switches KVM into PAPR >> mode. >> >> #define KVM_CAP_PPC_RMA 65 >

Re: [PATCH 10/14] KVM: PPC: Enable the PAPR CAP for Book3S

2011-08-31 Thread Avi Kivity
On 08/25/2011 05:39 PM, Alexander Graf wrote: Now that Book3S PV mode can also run PAPR guests, we can add a PAPR cap and enable it for all Book3S targets. Enabling that CAP switches KVM into PAPR mode. #define KVM_CAP_PPC_RMA 65 #define KVM_CAP_MAX_VCPUS 66 /* returns max vcpus

Re: [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc

2011-08-31 Thread Kevin Wolf
Am 31.08.2011 09:40, schrieb Jan Kiszka: > On 2011-08-31 02:03, Chris Friesen wrote: >> Hi, >> >> I've run into another problem. I configured qemu-kvm-0.15.0 as: >> >> ./configure --target-list="i386-softmmu,x86_64-softmmu" --disable-sdl >> --disable-vnc --disable-curses >> >> >> Building it, I g

Re: [BUG] error compiling qemu-kvm-0.15.0 without vnc

2011-08-31 Thread Jan Kiszka
On 2011-08-31 02:03, Chris Friesen wrote: > Hi, > > I've run into another problem. I configured qemu-kvm-0.15.0 as: > > ./configure --target-list="i386-softmmu,x86_64-softmmu" --disable-sdl > --disable-vnc --disable-curses > > > Building it, I get: > > CCi386-softmmu/pcspk.o > CC

Re: help? need to enable VT-d for 2.6.27

2011-08-31 Thread Jan Kiszka
On 2011-08-31 01:03, Chris Friesen wrote: > On 08/30/2011 01:59 PM, Jan Kiszka wrote: >> On 2011-08-30 21:39, Chris Friesen wrote: > >>> 2) If I create such a link, it builds a few files, and then gives the >>> following: >>> >>> /home/cfriesen/Download/kvm-kmod-3.0b/x86/x86.c: In function >>> ‘vc