Re: [Qemu-devel] [PATCH] kvm: Set default accelerator to kvm if the host supports it

2012-10-03 Thread Michael Tokarev
On 02.10.2012 11:46, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: IMHO, default to KVM, fallback to TCG is the most friendly default behaviour. Friendly perhaps, generating an infinite series of questions why is my guest slow as molasses? certainly. With a

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can be done for free in case guest net stack allocated extra head room for the packet, and I

Re: usr/include/linux/kvm_para.h:26: included file 'asm-m68k/kvm_para.h' is not exported

2012-10-03 Thread Geert Uytterhoeven
On Wed, Oct 3, 2012 at 3:44 AM, Fengguang Wu fengguang...@intel.com wrote: FYI, something goes wrong since commit: 2bbc89a8e9c652ee71c6c3b2e0679b7ecedb1a09 m68k: Use Kbuild logic to import asm-generic headers config: m68k-allmodconfig All error/warnings: usr/include/linux/kexec.h:49:

Re: [PATCH] kvm: Set default accelerator to kvm if the host supports it

2012-10-03 Thread Jan Kiszka
On 2012-10-01 18:20, Anthony Liguori wrote: Jan Kiszka jan.kis...@siemens.com writes: If we built a target for a host that supports KVM in principle, set the default accelerator to KVM as well. This also means the start of QEMU will fail to start if KVM support turns out to be unavailable at

Re: [Qemu-devel] qemu-kvm: remove boot=on|off drive parameter compatibility

2012-10-03 Thread Gleb Natapov
On Mon, Oct 01, 2012 at 03:26:05PM +0200, Jan Kiszka wrote: On 2012-10-01 15:19, Anthony Liguori wrote: Jan Kiszka jan.kis...@siemens.com writes: On 2012-10-01 11:31, Marcelo Tosatti wrote: It's not just about default configs. We need to validate if the migration formats are truly

Re: [kvmarm] [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-03 Thread Will Deacon
On Tue, Oct 02, 2012 at 08:45:54PM +0100, Peter Maydell wrote: On 2 October 2012 20:28, Will Deacon will.dea...@arm.com wrote: On Tue, Oct 02, 2012 at 07:31:43PM +0100, Peter Maydell wrote: We probably want to be passing in the base of the cpu-internal peripherals, rather than base of the

Re: [Qemu-devel] qemu-kvm: remove boot=on|off drive parameter compatibility

2012-10-03 Thread Gleb Natapov
On Wed, Oct 03, 2012 at 12:06:57PM +0200, Jan Kiszka wrote: On 2012-10-03 11:55, Gleb Natapov wrote: On Mon, Oct 01, 2012 at 03:26:05PM +0200, Jan Kiszka wrote: On 2012-10-01 15:19, Anthony Liguori wrote: Jan Kiszka jan.kis...@siemens.com writes: On 2012-10-01 11:31, Marcelo Tosatti

Error: KVM Guest with virtio network driver loses network connectivity

2012-10-03 Thread hung -cuncon
Hi all, I setup Host with centos 6.0 - 64bits, Guest with centos5.3 - 64bits (kernel updated), I have installed qemu-kvm-tool http://rpmfind.net/linux/RPM/centos/updates/6.3/x86_64/Packages/qemu-kvm-tools-0.12.1.2-2.295.el6_3.1.x86_64.html with Bug Fix: 804578 But I can't fix error:

Re: Error: KVM Guest with virtio network driver loses network connectivity

2012-10-03 Thread Michael Tokarev
On 03.10.2012 14:32, hung -cuncon wrote: Hi all, I setup Host with centos 6.0 - 64bits, Guest with centos5.3 - 64bits (kernel updated), I have installed qemu-kvm-tool

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Paolo Bonzini
Il 03/10/2012 08:44, Rusty Russell ha scritto: There's a reason I haven't done this. I really, really dislike my implemention isn't broken feature bits. We could have an infinite number of them, for each bug in each device. However, this bug affects (almost) all implementations and (almost)

[patch 3/6] Use machine options to emulate -no-kvm-pit

2012-10-03 Thread Marcelo Tosatti
Commit e81dda195556e72f8cd294998296c1051aab30a8 from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Leave the related command line option in place, just issuing a warning that it has no function anymore. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-compat-kvm/vl.c

[patch 4/6] Use global properties to emulate -no-kvm-pit-reinjection

2012-10-03 Thread Marcelo Tosatti
Commit 80019541e9c13fab476bee35edcef3e11646222c from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Use global properties to emulate -no-kvm-pit-reinjection Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-compat-kvm/vl.c

[patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Marcelo Tosatti
Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Upstream is moving towards this mechanism, so start using it in qemu-kvm already to configure the specific defaults: kvm enabled on, just like in-kernel irqchips. Signed-off-by:

[patch 6/6] Emulate qemu-kvms -tdf option

2012-10-03 Thread Marcelo Tosatti
Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Add a warning that there is no effect anymore. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-compat-kvm/vl.c

[patch 1/6] cirrus_vga: allow configurable vram size

2012-10-03 Thread Marcelo Tosatti
Allow RAM size to be configurable for cirrus, to allow migration compatibility from qemu-kvm. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-compat-kvm/hw/cirrus_vga.c === --- qemu-compat-kvm.orig/hw/cirrus_vga.c

[patch 5/6] Emulate qemu-kvms drive parameter boot=on|off

2012-10-03 Thread Marcelo Tosatti
Commit 841280b6c224ea2c6edc2f5afc2add513c85181d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com We do not want to maintain this option forever. It will be removed after a grace period of a few releases. So warn the user that this option has no effect and will become invalid soon.

[patch 0/6] qemu-kvm compat

2012-10-03 Thread Marcelo Tosatti
As discussed on yesterdays qemu call, follows qemu-kvm compat patches for qemu: - command line compatibility - allow configurable ram size for cirrus -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo

Re: [Qemu-devel] qemu-kvm: remove boot=on|off drive parameter compatibility

2012-10-03 Thread Lucas Meneghel Rodrigues
On 10/03/2012 06:55 AM, Gleb Natapov wrote: On Mon, Oct 01, 2012 at 03:26:05PM +0200, Jan Kiszka wrote: On 2012-10-01 15:19, Anthony Liguori wrote: Jan Kiszka jan.kis...@siemens.com writes: On 2012-10-01 11:31, Marcelo Tosatti wrote: It's not just about default configs. We need to validate

[virt][PATCH 1/3] virt: Adds OpenVSwitch support to virt tests.

2012-10-03 Thread Jiří Župka
When autotest tries add tap to bridge then test recognize if test is bridge is standard linux or OpenVSwitch. And adds some utils for bridge manipulation. Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/utils_misc.py | 473 ++-- 1 files

[virt][PATCH 2/3] virt: Adds functionality for vms.

2012-10-03 Thread Jiří Župka
Allow creating of machine with tap devices which are not connected to bridge. Add function for fill virtnet object with address. Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/kvm_vm.py |9 +++-- virttest/utils_misc.py | 45 +

[Autotest][PATCH] Autotest: Add utils for OpenVSwitch patch

2012-10-03 Thread Jiří Župka
pull-request https://github.com/autotest/autotest/pull/569 ForAllxx: run object method on every object in list ForAll[a,b,c].print() Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/base_utils.py | 81 +- client/shared/openvswitch.py | 578

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-03 Thread Raghavendra K T
* Avi Kivity a...@redhat.com [2012-09-24 17:41:19]: On 09/21/2012 08:24 PM, Raghavendra K T wrote: On 09/21/2012 06:32 PM, Rik van Riel wrote: On 09/21/2012 08:00 AM, Raghavendra K T wrote: From: Raghavendra K T raghavendra...@linux.vnet.ibm.com When total number of VCPUs of system is

Re: qemu-kvm: remove boot=on|off drive parameter compatibility

2012-10-03 Thread Paolo Bonzini
Il 03/10/2012 12:57, Lucas Meneghel Rodrigues ha scritto: Yep, I did send patches with the testdev device present on qemu-kvm.git to qemu.git a while ago, but there were many comments on the review, I ended up not implementing everything that was asked and the patches were archived. If

Re: qemu-kvm: remove boot=on|off drive parameter compatibility

2012-10-03 Thread Gleb Natapov
On Wed, Oct 03, 2012 at 03:19:56PM +0200, Paolo Bonzini wrote: Il 03/10/2012 12:57, Lucas Meneghel Rodrigues ha scritto: Yep, I did send patches with the testdev device present on qemu-kvm.git to qemu.git a while ago, but there were many comments on the review, I ended up not implementing

Re: [PATCH 1/1] kvmclock: fix guest stop notification

2012-10-03 Thread Marcelo Tosatti
On Sun, Sep 30, 2012 at 09:50:07PM -0400, Amos Kong wrote: - Original Message - On Thu, Sep 20, 2012 at 09:46:41AM -0300, Marcelo Tosatti wrote: On Thu, Sep 20, 2012 at 01:55:20PM +0530, Amit Shah wrote: Commit f349c12c0434e29c79ecde89029320c4002f7253 added the guest stop

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-03 Thread Raghavendra K T
* Avi Kivity a...@redhat.com [2012-09-30 13:13:09]: On 09/30/2012 01:07 PM, Gleb Natapov wrote: On Sun, Sep 30, 2012 at 10:18:17AM +0200, Avi Kivity wrote: On 09/28/2012 08:16 AM, Raghavendra K T wrote: +struct pv_sched_info { + unsigned long sched_bitmap;

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-10-03 Thread Raghavendra K T
* Avi Kivity a...@redhat.com [2012-09-27 14:03:59]: On 09/27/2012 01:23 PM, Raghavendra K T wrote: [...] 2) looking at the result (comparing A C) , I do feel we have significant in iterating over vcpus (when compared to even vmexit) so We still would need undercommit fix sugested by

Re: [patch 1/6] cirrus_vga: allow configurable vram size

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: Allow RAM size to be configurable for cirrus, to allow migration compatibility from qemu-kvm. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori Index:

Re: [patch 3/6] Use machine options to emulate -no-kvm-pit

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: Commit e81dda195556e72f8cd294998296c1051aab30a8 from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Leave the related command line option in place, just issuing a warning that it has no function anymore. Signed-off-by: Marcelo Tosatti

Re: [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Upstream is moving towards this mechanism, so start using it in qemu-kvm already to configure the specific defaults: kvm enabled on,

Re: [patch 6/6] Emulate qemu-kvms -tdf option

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Add a warning that there is no effect anymore. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Reviewed-by: Anthony Liguori

Re: [patch 5/6] Emulate qemu-kvms drive parameter boot=on|off

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: Commit 841280b6c224ea2c6edc2f5afc2add513c85181d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com We do not want to maintain this option forever. It will be removed after a grace period of a few releases. So warn the user that this option

Re: [patch 4/6] Use global properties to emulate -no-kvm-pit-reinjection

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: Commit 80019541e9c13fab476bee35edcef3e11646222c from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Use global properties to emulate -no-kvm-pit-reinjection Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Reviewed-by: Anthony Liguori

Re: [patch 0/6] qemu-kvm compat

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: As discussed on yesterdays qemu call, follows qemu-kvm compat patches for qemu: - command line compatibility - allow configurable ram size for cirrus Whole thing looks good. I'll apply it directly to get it into qemu.git faster.

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-03 Thread Avi Kivity
On 10/03/2012 04:17 PM, Raghavendra K T wrote: * Avi Kivity a...@redhat.com [2012-09-30 13:13:09]: On 09/30/2012 01:07 PM, Gleb Natapov wrote: On Sun, Sep 30, 2012 at 10:18:17AM +0200, Avi Kivity wrote: On 09/28/2012 08:16 AM, Raghavendra K T wrote: +struct pv_sched_info {

Re: [kvmarm] [PATCH v2 08/10] ARM: KVM: VGIC initialisation code

2012-10-03 Thread Christoffer Dall
On Wed, Oct 3, 2012 at 6:02 AM, Will Deacon will.dea...@arm.com wrote: On Tue, Oct 02, 2012 at 08:45:54PM +0100, Peter Maydell wrote: On 2 October 2012 20:28, Will Deacon will.dea...@arm.com wrote: On Tue, Oct 02, 2012 at 07:31:43PM +0100, Peter Maydell wrote: We probably want to be passing

Re: [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Marcelo Tosatti
On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Upstream is moving towards this mechanism, so start using it in

Re: [patch 0/6] qemu-kvm compat

2012-10-03 Thread Marcelo Tosatti
On Wed, Oct 03, 2012 at 09:45:07AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: As discussed on yesterdays qemu call, follows qemu-kvm compat patches for qemu: - command line compatibility - allow configurable ram size for cirrus Whole thing

Re: [Qemu-devel] [patch 0/6] qemu-kvm compat

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes: On Wed, Oct 03, 2012 at 09:45:07AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: As discussed on yesterdays qemu call, follows qemu-kvm compat patches for qemu: - command line compatibility - allow

Re: [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Jan Kiszka
On 2012-10-03 17:46, Jan Kiszka wrote: On 2012-10-03 17:03, Marcelo Tosatti wrote: On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka

Re: [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Jan Kiszka
On 2012-10-03 17:03, Marcelo Tosatti wrote: On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Upstream is moving

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-03 Thread Avi Kivity
On 10/03/2012 02:22 PM, Raghavendra K T wrote: So I think it's worth trying again with ple_window of 2-4. Hi Avi, I ran different benchmarks increasing ple_window, and results does not seem to be encouraging for increasing ple_window. Thanks for testing! Comments below.

Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Anthony Liguori
Jan Kiszka jan.kis...@web.de writes: On 2012-10-03 17:03, Marcelo Tosatti wrote: On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka

Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Jan Kiszka
On 2012-10-03 19:16, Anthony Liguori wrote: Jan Kiszka jan.kis...@web.de writes: On 2012-10-03 17:03, Marcelo Tosatti wrote: On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-10-03 Thread Avi Kivity
On 10/03/2012 04:29 PM, Raghavendra K T wrote: * Avi Kivity a...@redhat.com [2012-09-27 14:03:59]: On 09/27/2012 01:23 PM, Raghavendra K T wrote: [...] 2) looking at the result (comparing A C) , I do feel we have significant in iterating over vcpus (when compared to even vmexit) so

Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Anthony Liguori
Jan Kiszka jan.kis...@web.de writes: On 2012-10-03 19:16, Anthony Liguori wrote: Jan Kiszka jan.kis...@web.de writes: On 2012-10-03 17:03, Marcelo Tosatti wrote: On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: Commit

Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Aurelien Jarno
On Wed, Oct 03, 2012 at 07:52:57AM -0300, Marcelo Tosatti wrote: Commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d from qemu-kvm.git. From: Jan Kiszka jan.kis...@siemens.com Upstream is moving towards this mechanism, so start using it in qemu-kvm already to configure the specific

Re: [Qemu-devel] [patch 2/6] Use machine options to emulate -no-kvm-irqchip

2012-10-03 Thread Marcelo Tosatti
On Wed, Oct 03, 2012 at 07:24:48PM +0200, Jan Kiszka wrote: On 2012-10-03 19:16, Anthony Liguori wrote: Jan Kiszka jan.kis...@web.de writes: On 2012-10-03 17:03, Marcelo Tosatti wrote: On Wed, Oct 03, 2012 at 09:40:17AM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com

Re: [PATCH] kvm: Set default accelerator to kvm if the host supports it

2012-10-03 Thread Blue Swirl
On Mon, Oct 1, 2012 at 4:20 PM, Anthony Liguori anth...@codemonkey.ws wrote: Jan Kiszka jan.kis...@siemens.com writes: If we built a target for a host that supports KVM in principle, set the default accelerator to KVM as well. This also means the start of QEMU will fail to start if KVM

Re: [Qemu-devel] [PATCH] kvm: Set default accelerator to kvm if the host supports it

2012-10-03 Thread Peter Maydell
On 3 October 2012 21:01, Blue Swirl blauwir...@gmail.com wrote: On Mon, Oct 1, 2012 at 4:20 PM, Anthony Liguori anth...@codemonkey.ws wrote: Jan Kiszka jan.kis...@siemens.com writes: +/* The default accelerator depends on the availability of KVM. */ +p = kvm_configured ? kvm :

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Rusty Russell ru...@rustcorp.com.au writes: Michael S. Tsirkin m...@redhat.com writes: Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can be done for free in case guest net stack

Re: [PATCH 2/3] virtio-net: correct capacity math on ring full

2012-10-03 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: Capacity math on ring full is wrong: we are looking at num_sg but that might be optimistic because of indirect buffer use. The implementation also penalizes fast path with extra memory accesses for the benefit of ring full condition handling which

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Michael S. Tsirkin m...@redhat.com writes: Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can be done for free in case guest net stack

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Paolo Bonzini pbonz...@redhat.com writes: Il 03/10/2012 08:44, Rusty Russell ha scritto: There's a reason I haven't done this. I really, really dislike my implemention isn't broken feature bits. We could have an infinite number of them, for each bug in each device. However, this bug

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Michael S. Tsirkin m...@redhat.com writes: There's a reason I haven't done this. I really, really dislike my implemention isn't broken feature bits. We could have an infinite number of them, for each bug in each device. So my plan was to tie

[PATCH] hw: Add test device for unittests execution

2012-10-03 Thread Lucas Meneghel Rodrigues
Add a test device which supports the kvmctl ioports, so one can run the KVM unittest suite [1]. Usage: qemu -device testdev 1) Removed port 0xf1, since now kvm-unit-tests use serial 2) Removed exit code port 0xf4, since that can be replaced by -device

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Anthony Liguori anth...@codemonkey.ws writes: Rusty Russell ru...@rustcorp.com.au writes: Michael S. Tsirkin m...@redhat.com writes: Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can

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

2012-10-03 Thread Lucas Meneghel Rodrigues
On 10/04/2012 12:49 AM, Lucas Meneghel Rodrigues wrote: Add a test device which supports the kvmctl ioports, so one can run the KVM unittest suite [1]. Usage: qemu -device testdev 1) Removed port 0xf1, since now kvm-unit-tests use serial 2) Removed exit code port 0xf4, since that can be

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Anthony Liguori anth...@codemonkey.ws writes: Rusty Russell ru...@rustcorp.com.au writes: Michael S. Tsirkin m...@redhat.com writes: Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Anthony Liguori anth...@codemonkey.ws writes: Rusty Russell ru...@rustcorp.com.au writes: Michael S. Tsirkin m...@redhat.com writes: There's a reason I haven't done this. I really, really dislike my implemention isn't broken feature bits. We could have an infinite number of them, for