Il 24/01/2013 16:43, Peter Maydell ha scritto:
Round 5 of the QEMU patches to support KVM for
ARM on Cortex-A15 hardware. It's intended for use with
the kernel tree at
git://github.com/virtualopensystems/linux-kvm-arm.git kvm-arm-v17-vgic-timers
Still RFC pending the kernel patches
* Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
From: Peter Zijlstra pet...@infradead.org
In case of undercomitted scenarios, especially in large guests
yield_to overhead is significantly high. when run queue length of
Hello all:
This seires is an update of last version of multiqueue virtio-net support.
This series tries to brings multiqueue support to virtio-net through a
multiqueue support tap backend and multiple vhost threads.
To support this, multiqueue nic support were added to qemu. This is done by
To support multiqueue, the patch introduce a helper qemu_get_queue()
which is used to get the NetClientState of a device. The following patches would
refactor this helper to support multiqueue.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/cadence_gem.c|9 +++--
hw/dp8393x.c
To support multiqueue, this patch introduces a helper qemu_get_nic() to get
NICState from a NetClientState. The following patches would refactor this helper
to support multiqueue.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/cadence_gem.c|8
hw/dp8393x.c|
To support multiqueue nic, this patch separate the nic destructor from
qemu_del_net_client() to a new helper qemu_del_nic() since the mapping bettween
NiCState and NetClientState were not 1:1 in multiqueue. The following patches
would refactor this function to support multiqueue nic.
In multiqueue, all NetClientState that belongs to the same netdev or nic has the
same id. So this patches introduces an helper qemu_find_net_clients_except()
which finds all NetClientState with the same id. This will be used by multiqueue
networking.
Signed-off-by: Jason Wang jasow...@redhat.com
This patch separates the setup of NetClientState from its allocation, this will
allow allocating an arrays of NetClientState and does the initialization one by
one which is what multiqueue needs.
Signed-off-by: Jason Wang jasow...@redhat.com
---
net/net.c | 29 +++--
1
To allow allocating an array of NetClientState and free it once, this patch
introduces destructor of NetClientState. Which could do type specific free,
which could be used by multiqueue to free the array once.
Signed-off-by: Jason Wang jasow...@redhat.com
---
include/net/net.h |2 ++
This patch factors out the common initialization of tap into a new helper
net_init_tap_one(). This will be used by multiqueue tap patches.
Signed-off-by: Jason Wang jasow...@redhat.com
---
net/tap.c | 130 ++---
1 files changed, 73
Import multiqueue constants from if_tun.h from 3.8-rc3. A new ifr flag
IFF_MULTI_QUEUE were introduced to create a multiqueue backend by calling
TUNSETIFF with the this flag and with the same interface name many times.
A new ioctl TUNSETQUEUE were introduced. When doing this ioctl with
This patch add basic multiqueue support for Linux. When multiqueue is needed, we
will first check whether kernel support multiqueue tap before creating more
queues. Two new functions tap_fd_enable() and tap_fd_disable() were introduced
to enable and disable a specific queue. Since the multiqueue
This patch introduce a new bit - enabled in TAPState which tracks whether a
specific queue/fd is enabled. The tap/fd is enabled during initialization and
could be enabled/disabled by tap_enalbe() and tap_disable() which calls platform
specific helpers to do the real work. Polling of a tap fd can
This patch introduces a helper tap_get_ifname() to get the device name of tap
device. This is needed when ifname is unspecified in the command line and qemu
were asked to create tap device by itself. In this situation, the name were
allocated by kernel, so if multiqueue is asked, we need to fetch
This patch lets vhost support multiqueue. The idea is simple, just launching
multiple threads of vhost and let each of vhost thread processing a subset of
the virtqueues of the device. After this change each emulated device can have
multiple vhost threads as its backend.
To do this, a virtqueue
Some device (such as virtio-net) needs the ability to destroy or re-order the
virtqueues, this patch adds a helper to do this.
Signed-off-by: Jason Wang jasowang
---
hw/virtio.c |9 +
hw/virtio.h |2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c
Add a queue_index to VirtQueue and a helper to fetch it, this could be used by
multiqueue supported device.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/virtio.c |8
hw/virtio.h |1 +
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c
To support multiqueue virtio-net, the first step is to separate the virtqueue
related fields from VirtIONet to a new structure VirtIONetQueue. The following
patches will add an array of VirtIONetQueue to VirtIONet based on this patch.
Signed-off-by: Jason Wang jasow...@redhat.com
---
This patch implements both userspace and vhost support for multiple queue
virtio-net (VIRTIO_NET_F_MQ). This is done by introducing an array of
VirtIONetQueue to VirtIONet.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/virtio-net.c | 317
This patch add migration support for multiqueue virtio-net. Instead of bumping
the version, we conditionally send the info of multiqueue only when the device
support more than one queue to maintain the backward compatibility.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/virtio-net.c |
Disable multiqueue support for pre 1.4.
Signed-off-by: Jason Wang jasow...@redhat.com
---
hw/pc_piix.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 0a6923d..7bc3563 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -297,6 +297,10 @@
This patch adds basic multiqueue support for qemu. The idea is simple, an array
of NetClientStates were introduced in NICState, parse_netdev() were extended to
find and match all NetClientStates belongs to the backend and place their
pointers in NICConf. Then qemu_new_nic can setup a N:N mapping
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
* Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
From: Peter Zijlstra pet...@infradead.org
In case of undercomitted scenarios, especially in large
On Fri, Jan 25, 2013 at 04:10:25PM +0530, Raghavendra K T wrote:
* Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
From: Peter Zijlstra pet...@infradead.org
In case of undercomitted scenarios, especially in large
In commit dfefbe9d4894efc44c39b2041bd667d0dea43eca
kvm tools: allow arch's to provide their own command-line options,
vidmode is not setup correctly.
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/x86/kvm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
From: Bharat Bhushan bharat.bhus...@freescale.com
Installed debug handler will be used for guest debug support
and debug facility emulation features (patches for these
features will follow this patch).
Signed-off-by: Liu Yu
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
This patch adds the one_reg interface to get the special instruction
to be used for setting software breakpoint from userspace.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
Documentation/virtual/kvm/api.txt |1 +
On 17.01.2013, at 12:11, Bhushan Bharat-R65777 wrote:
-Original Message-
From: Paul Mackerras [mailto:pau...@samba.org]
Sent: Thursday, January 17, 2013 12:53 PM
To: Bhushan Bharat-R65777
Cc: kvm-...@vger.kernel.org; kvm@vger.kernel.org; ag...@suse.de; Bhushan
Bharat-
R65777
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
This patch adds the debug stub support on booke/bookehv.
Now QEMU debug stub can use hw breakpoint, watchpoint and
software breakpoint to debug guest.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
Allow userspace to inject debug interrupt to guest. QEMU can
s/QEMU/user space.
inject the debug interrupt to guest if it is not able to handle
the debug interrupt.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
On Thu, 24 Jan 2013 17:17:46 +0100
Alexander Graf ag...@suse.de wrote:
On 24.01.2013, at 17:08, Cornelia Huck wrote:
Hi,
patches against s390-next again, with coding style fixes.
Thanks, applied to s390-next.
Hm, did you forget to apply 2/2?
Alex
--
To unsubscribe from
On 16.01.2013, at 09:20, Bharat Bhushan wrote:
This patchset adds the QEMU debug stub support for powerpc (booke/bookehv).
[1/8] KVM: PPC: booke: use vcpu reference from thread_struct
- This is a cleanup patch to use vcpu reference from thread struct
[2/8] KVM: PPC: booke: Allow
On 25.01.2013, at 13:37, Cornelia Huck wrote:
On Thu, 24 Jan 2013 17:17:46 +0100
Alexander Graf ag...@suse.de wrote:
On 24.01.2013, at 17:08, Cornelia Huck wrote:
Hi,
patches against s390-next again, with coding style fixes.
Thanks, applied to s390-next.
Hm, did you forget to
1. print mem debug info into debugfd instead guest console
2. always print page table info
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/include/kvm/kvm.h | 2 +-
tools/kvm/kvm.c | 11 ++-
tools/kvm/x86/kvm-cpu.c | 12 +---
3 files changed, 16
Hi,
Thank you for submitting your patch series. checkpatch.pl has
detected that one or more of the patches in this series violate
the QEMU coding style.
If you believe this message was sent in error, please ignore it
or respond here with an explanation.
Otherwise, please correct the coding
virtio_ccw_setup_vq() failed to unwind correctly on errors. In
particular, it failed to delete the virtqueue on errors, leading to
list corruption when virtio_ccw_del_vqs() iterated over a virtqueue
that had not been added to the vcdev's list.
Fix this with redoing the error unwinding in
Gleb, Marcelo,
here are 3 kvm fixes for kvm-next.
Christian Borntraeger (3):
s390/kvm: Fix store status for ACRS/FPRS
s390/virtio-ccw: Fix setup_vq error handling.
s390/kvm: Fix instruction decoding
arch/s390/kvm/kvm-s390.c | 8
arch/s390/kvm/kvm-s390.h | 25
On store status we need to copy the current state of registers
into a save area. Currently we might save stale versions:
The sie state descriptor doesnt have fields for guest ACRS,FPRS,
those registers are simply stored in the host registers. The host
program must copy these away if needed. We do
Instructions with long displacement have a signed displacement.
Currently the sign bit is interpreted as 2^20: Lets fix it by doing the
sign extension from 20bit to 32bit and then use it as a signed variable
in the addition (see kvm_s390_get_base_disp_rsy).
Furthermore, there are lots of int in
On 25/01/13 15:34, Christian Borntraeger wrote:
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Sorry, I messed up the From.
Should I resend or can you change the author to Cornelia Huck
cornelia.h...@de.ibm.com
Christian
--
To unsubscribe from this list: send the line unsubscribe kvm
Since commit 20d695a9254c1b086a456d3b79a3c311236643ba (kvm: Pass
CPUState to kvm_arch_*) CPUArchState is no longer needed.
Allows to change qemu_kvm_eat_signals() argument as well.
Signed-off-by: Andreas Färber afaer...@suse.de
---
Extracted from my qom-cpu-8 queue.
cpus.c |
On 01/25/2013 04:17 PM, Ingo Molnar wrote:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
* Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
From: Peter Zijlstra pet...@infradead.org
In case of undercomitted
On 01/25/2013 04:35 PM, Andrew Jones wrote:
On Fri, Jan 25, 2013 at 04:10:25PM +0530, Raghavendra K T wrote:
* Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
From: Peter Zijlstra pet...@infradead.org
In case of undercomitted
On 01/24/13 21:26, Stephen Rothwell wrote:
Hi all,
Changes since 20130124:
Seeing lots of this error on i386:
arch/x86/kvm/emulate.c:1016: Error: unsupported for `push'
--
~Randy
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
On 01/25/2013 04:17 PM, Ingo Molnar wrote:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
* Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]:
* Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote:
From:
On Fri, Jan 25, 2013 at 10:35 AM, Jason Wang jasow...@redhat.com wrote:
This patch introduce a new bit - enabled in TAPState which tracks whether a
specific queue/fd is enabled. The tap/fd is enabled during initialization and
could be enabled/disabled by tap_enalbe() and tap_disable() which
On Fri, Jan 25, 2013 at 10:45:02AM +0300, Andrey Korolyov wrote:
On Thu, Jan 24, 2013 at 4:20 PM, Marcelo Tosatti mtosa...@redhat.com wrote:
On Thu, Jan 24, 2013 at 01:54:03PM +0300, Andrey Korolyov wrote:
Thank you Marcelo,
Host node locking up sometimes later than yesterday, bur problem
On Fri, 25 Jan 2013 08:53:58 -0800 Randy Dunlap rdun...@infradead.org wrote:
Seeing lots of this error on i386:
arch/x86/kvm/emulate.c:1016: Error: unsupported for `push'
Caused by commit 9ae9febae950 (KVM: x86 emulator: covert SETCC to
fastop) from the kvm tree. cc's added.
--
Cheers,
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
From: Bharat Bhushan bharat.bhus...@freescale.com
Installed debug handler will be used for guest debug support
and debug facility emulation features (patches for these
features will follow this patch).
Signed-off-by: Liu Yu
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
This patch adds the one_reg interface to get the special instruction
to be used for setting software breakpoint from userspace.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
Documentation/virtual/kvm/api.txt |1 +
On 17.01.2013, at 12:11, Bhushan Bharat-R65777 wrote:
-Original Message-
From: Paul Mackerras [mailto:pau...@samba.org]
Sent: Thursday, January 17, 2013 12:53 PM
To: Bhushan Bharat-R65777
Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; ag...@suse.de; Bhushan
Bharat-
R65777
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
This patch adds the debug stub support on booke/bookehv.
Now QEMU debug stub can use hw breakpoint, watchpoint and
software breakpoint to debug guest.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
On 16.01.2013, at 09:24, Bharat Bhushan wrote:
Allow userspace to inject debug interrupt to guest. QEMU can
s/QEMU/user space.
inject the debug interrupt to guest if it is not able to handle
the debug interrupt.
Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com
---
On 16.01.2013, at 09:20, Bharat Bhushan wrote:
This patchset adds the QEMU debug stub support for powerpc (booke/bookehv).
[1/8] KVM: PPC: booke: use vcpu reference from thread_struct
- This is a cleanup patch to use vcpu reference from thread struct
[2/8] KVM: PPC: booke: Allow
54 matches
Mail list logo