Re: KVM call agenda for 2013-01-29

2013-01-29 Thread Alexander Graf
On 28.01.2013, at 15:14, Anthony Liguori wrote: > Juan Quintela writes: > >> Hi >> >> Please send in any agenda topics you are interested in. > > - Outstanding virtio work for 1.4 > - Multiqueue virtio-net (Amos/Michael) > - Refactorings (Fred/Peter) > - virtio-ccw (Cornelia/Alex) - Wh

Re: [PATCH v13 0/3] x86, apicv: Add APIC virtualization support

2013-01-29 Thread Gleb Natapov
On Fri, Jan 25, 2013 at 10:18:48AM +0800, Yang Zhang wrote: > From: Yang Zhang > > APIC virtualization is a new feature which can eliminate most of VM exit > when vcpu handle a interrupt: > > APIC register virtualization: > APIC read access doesn't cause APIC-access VM exits. > A

Re: KVM call agenda for 2013-01-29

2013-01-29 Thread Peter Maydell
On 29 January 2013 08:49, Alexander Graf wrote: > - What's the plan for -device and IRQ assignment? > > We need to start coming up with a solution to connect irq > lines between cmdline created devices and interrupt > controllers. Currently, I'm aware of 2 potential users > > - virtio-mmio > -

Re: [PATCH 0/11] ksm: NUMA trees and page migration

2013-01-29 Thread Gleb Natapov
On Mon, Jan 28, 2013 at 05:07:15PM -0800, Hugh Dickins wrote: > On Mon, 28 Jan 2013, Andrew Morton wrote: > > On Fri, 25 Jan 2013 17:53:10 -0800 (PST) > > Hugh Dickins wrote: > > > > > Here's a KSM series > > > > Sanity check: do you have a feeling for how useful KSM is? > > Performance/space i

Listing on your website

2013-01-29 Thread Maryam Khan
Hi Just wondering if it is possible to list us on your website? We are Sirius Corporation - an Open Source services provider. More details can be found on our website: http://www.siriusopensource.com/about Please let me know and I can send you our logo and brief description. Many thanks, Maz

Re: [PATCH v2 06/12] KVM: MMU: introduce a static table to map guest access to spte access

2013-01-29 Thread Marcelo Tosatti
On Mon, Jan 28, 2013 at 10:07:15PM -0200, Marcelo Tosatti wrote: > On Fri, Jan 25, 2013 at 10:46:31AM +0800, Xiao Guangrong wrote: > > On 01/25/2013 08:15 AM, Marcelo Tosatti wrote: > > > On Wed, Jan 23, 2013 at 06:07:20PM +0800, Xiao Guangrong wrote: > > >> It makes set_spte more clean and reduces

[PATCH 0/2] [PULL] qemu-kvm.git uq/master queue

2013-01-29 Thread Gleb Natapov
The following changes since commit 1356b98d3e95a85071e6bf9a99e8799e1ae1bbee: sysbus: Drop sysbus_from_qdev() cast macro (2013-01-21 13:52:24 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master for you to fetch changes up to f8bb056564e

[PATCH 1/2] vmxcap: bit 9 of VMX_PROCBASED_CTLS2 is 'virtual interrupt delivery'

2013-01-29 Thread Gleb Natapov
From: Marcelo Tosatti Bit 9 of MSR_IA32_VMX_PROCBASED_CTLS2 is virtual interrupt delivery. Signed-off-by: Marcelo Tosatti --- scripts/kvm/vmxcap |1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap index cbe6440..0b23f77 100755 --- a/scripts/kvm/vmxcap

[PATCH 2/2] target-i386: kvm: prevent buffer overflow if -cpu foo, [x]level is too big

2013-01-29 Thread Gleb Natapov
From: Igor Mammedov Stack corruption may occur if too big 'level' or 'xlevel' values passed on command line with KVM enabled, due to limited size of cpuid_data in kvm_arch_init_vcpu(). reproduces with: qemu -enable-kvm -cpu qemu64,level=4294967295 or qemu -enable-kvm -cpu qemu64,xlevel=4294967

Investigating abnormal stealtimes

2013-01-29 Thread Stefan Hajnoczi
Khoa and I have been discussing a workload that triggers softlockups and hung task warnings inside the guest. These warnings can pop up due to bugs in the guest Linux kernel but they can also be triggered by the hypervisor if vcpus are not being scheduled at reasonable times. I've wanted a tool t

Re: [Qemu-devel] QEMU buildbot maintenance state (was: Re: KVM call agenda for 2013-01-29)

2013-01-29 Thread Stefan Hajnoczi
On Mon, Jan 28, 2013 at 03:29:16PM +0100, Daniel Gollub wrote: > > If Daniel does not have sufficient time to administer it, can we maybe > > have that set up on qemu.org instead, with more than one person that has > > access to it? > > JFYI, I just requested if I am allowed to grant Stefan root a

Re: [Qemu-devel] KVM call agenda for 2013-01-29

2013-01-29 Thread Andreas Färber
Am 28.01.2013 11:59, schrieb Juan Quintela: > Please send in any agenda topics you are interested in. I/O port rework: * Proposal by Hervé: move I/O port list registration to ISA http://lists.gnu.org/archive/html/qemu-devel/2013-01/msg00508.html This causes modeling issues since PCI VGA/QXL then

Re: [PATCH 0/3] s390/kvm fixes

2013-01-29 Thread Gleb Natapov
On Fri, Jan 25, 2013 at 03:34:14PM +0100, Christian Borntraeger wrote: > Gleb, Marcelo, > Alex, can you review? > 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 ins

Re: [PATCH v2 06/12] KVM: MMU: introduce a static table to map guest access to spte access

2013-01-29 Thread Gleb Natapov
On Mon, Jan 28, 2013 at 11:07:58PM -0200, Marcelo Tosatti wrote: > On Mon, Jan 28, 2013 at 10:07:15PM -0200, Marcelo Tosatti wrote: > > On Fri, Jan 25, 2013 at 10:46:31AM +0800, Xiao Guangrong wrote: > > > On 01/25/2013 08:15 AM, Marcelo Tosatti wrote: > > > > On Wed, Jan 23, 2013 at 06:07:20PM +08

Re: Status of Fault Tolerance feature?

2013-01-29 Thread Andres Toomsalu
But is there any other projects in (planned) development with the same goal(s)? Im just really puzzled that while QEMU/KVM being kind a mature solution already no true fault tolerance/HA solutions exist (Im aware about stateless HA solutions with RHCS etc stacks - but its hardly the "true" HA) -

Re: [PATCH v2 2/3] VFIO-AER: Vfio-pci driver changes for supporting AER

2013-01-29 Thread Alex Williamson
On Mon, 2013-01-28 at 12:31 -0700, Alex Williamson wrote: > On Mon, 2013-01-28 at 09:54 +, Pandarathil, Vijaymohan R wrote: > > - New VFIO_SET_IRQ ioctl option to pass the eventfd that is signalled > > when > > an error occurs in the vfio_pci_device > > > > - Register pci_er

Re: [Qemu-devel] [PATCH V2 11/20] tap: support enabling or disabling a queue

2013-01-29 Thread Jason Wang
On 01/26/2013 03:13 AM, Blue Swirl wrote: > On Fri, Jan 25, 2013 at 10:35 AM, Jason Wang 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

Re: [PATCH V2 14/20] vhost: multiqueue support

2013-01-29 Thread Jason Wang
On 01/25/2013 06:35 PM, Jason Wang wrote: > 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 t

[PATCH V3 02/20] net: introduce qemu_get_nic()

2013-01-29 Thread Jason Wang
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 --- hw/cadence_gem.c|8 hw/dp8393x.c|6 +++--- hw/e10

[PATCH V3 03/20] net: intorduce qemu_del_nic()

2013-01-29 Thread Jason Wang
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. Signed-off-by

[PATCH V3 04/20] net: introduce qemu_find_net_clients_except()

2013-01-29 Thread Jason Wang
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 --- include/net/net

[PATCH V3 06/20] net: introduce NetClientState destructor

2013-01-29 Thread Jason Wang
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 --- include/net/net.h |2 ++ net/net.c | 17 ++

[PATCH V3 07/20] net: multiqueue support

2013-01-29 Thread Jason Wang
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 be

[PATCH V3 01/20] net: introduce qemu_get_queue()

2013-01-29 Thread Jason Wang
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 --- hw/cadence_gem.c|9 +++-- hw/dp8393x.c|9 +++

[PATCH V3 09/20] tap: factor out common tap initialization

2013-01-29 Thread Jason Wang
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 --- net/tap.c | 130 ++--- 1 files changed, 73 insertions(+), 57 deletions

[PATCH V3 05/20] net: introduce qemu_net_client_setup()

2013-01-29 Thread Jason Wang
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 --- net/net.c | 29 +++-- 1 files changed, 19 in

[PATCH V3 10/20] tap: add Linux multiqueue support

2013-01-29 Thread Jason Wang
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 is

[PATCH V3 11/20] tap: support enabling or disabling a queue

2013-01-29 Thread Jason Wang
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 on

[PATCH V3 13/20] tap: multiqueue support

2013-01-29 Thread Jason Wang
Recently, linux support multiqueue tap which could let userspace call TUNSETIFF for a signle device many times to create multiple file descriptors as independent queues. User could also enable/disabe a specific queue through TUNSETQUEUE. The patch adds the generic infrastructure to create multique

[PATCH V3 15/20] virtio: introduce virtio_del_queue()

2013-01-29 Thread Jason Wang
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 --- hw/virtio.c |9 + hw/virtio.h |2 ++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/hw/virtio.c b/hw/virti

[PATCH V3 00/20] Multiqueue virtio-net

2013-01-29 Thread Jason Wang
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 intr

[PATCH V3 14/20] vhost: multiqueue support

2013-01-29 Thread Jason Wang
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 in

[PATCH V3 16/20] virtio: add a queue_index to VirtQueue

2013-01-29 Thread Jason Wang
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 --- hw/virtio.c |8 hw/virtio.h |1 + 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/hw/virtio.c b/hw/virtio.c index d8c77b0..e25

[PATCH V3 17/20] virtio-net: separate virtqueue from VirtIONet

2013-01-29 Thread Jason Wang
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 --- hw/virtio-net.c | 195

[PATCH V3 12/20] tap: introduce a helper to get the name of an interface

2013-01-29 Thread Jason Wang
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 i

[PATCH V3 19/20] virtio-net: migration support for multiqueue

2013-01-29 Thread Jason Wang
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 --- hw/virtio-net.c | 35 +

[PATCH V3 20/20] virtio-net: compat multiqueue support

2013-01-29 Thread Jason Wang
Disable multiqueue support for pre 1.4. Signed-off-by: Jason Wang --- 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 @@ static QEMUMachine p

[PATCH V3 18/20] virtio-net: multiqueue support

2013-01-29 Thread Jason Wang
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 --- hw/virtio-net.c | 305 +++ hw/virtio-net

Re: [PATCH V3 RESEND RFC 0/2] kvm: Improving undercommit scenarios

2013-01-29 Thread Gleb Natapov
On Tue, Jan 22, 2013 at 01:08:54PM +0530, Raghavendra K T wrote: > In some special scenarios like #vcpu <= #pcpu, PLE handler may > prove very costly, because there is no need to iterate over vcpus > and do unsuccessful yield_to burning CPU. > > The first patch optimizes all the yield_to by bail

[PATCH V3 08/20] tap: import linux multiqueue constants

2013-01-29 Thread Jason Wang
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 IFF_DETACH_

KVM Call agenda 2013-01-29

2013-01-29 Thread Juan Quintela
As Today there were lots of topics, here is a collapsed agenda, basically three main topics now that Buildbot is dropped: * Buildbot: discussed on the list (Andreas retired it) * Replacing select(2) so that we will not hit the 1024 fd_set limit in the future. (stefan) * Outstanding virtio wor

Re: QEMU buildbot maintenance state

2013-01-29 Thread Christian Berendt
On 01/28/2013 03:29 PM, Daniel Gollub wrote: JFYI, the main buildbot configuration which controls everything (beside buildslave credentials) is accessible to everyone: http://people.b1-systems.de/~gollub/buildbot/ If you are familiar with buildbot feel free to incorporate your suggested changes

Re: Status of Fault Tolerance feature?

2013-01-29 Thread Brian Jackson
On Tue, 29 Jan 2013 15:16:13 +0200 Andres Toomsalu wrote: > But is there any other projects in (planned) development with the > same goal(s)? I haven't heard of any. But then again, a lot of things get developed in secret and then dumped on the community. > Im just really puzzled that while Q

KVM call minutes 2013-01-29

2013-01-29 Thread Juan Quintela
* Buildbot: discussed on the list (Andreas retired it) * Replacing select(2) so that we will not hit the 1024 fd_set limit in the future. (stefan) Add checks for fd's bigger than 1024? multifunction devices uses lot of fd's for device. Portability? Use glib? and let it use poll under

Re: Status of Fault Tolerance feature?

2013-01-29 Thread Andres Toomsalu
On 29.01.2013, at 17:20, Brian Jackson wrote: > On Tue, 29 Jan 2013 15:16:13 +0200 > Andres Toomsalu wrote: > >> But is there any other projects in (planned) development with the >> same goal(s)? > > > I haven't heard of any. But then again, a lot of things get developed > in secret and then

Re: KVM call minutes 2013-01-29

2013-01-29 Thread Paolo Bonzini
Il 29/01/2013 16:41, Juan Quintela ha scritto: > * Replacing select(2) so that we will not hit the 1024 fd_set limit in the > future. (stefan) > > Add checks for fd's bigger than 1024? multifunction devices uses lot > of fd's for device. > > Portability? > Use glib? and let it use poll

speed migration limitation

2013-01-29 Thread zorg
Hello I have VM with 15Gb of memory and when I migrate using tcp the maximum speed i can get is 32Mb/s between the to hypervisor So Migrating 15Gb is slow I have try setting migrate_set_speed to 150M but still got the same speed using NC over my network I manage to transfert at 208Mb/s Can'

Re: [PATCH 1/3] x86: KVM: Fix warnings by returning bool

2013-01-29 Thread Gleb Natapov
On Sun, Jan 27, 2013 at 05:40:00PM +0100, Emil Goode wrote: > The function pointer x2apic_available in struct hypervisor_x86 is > supposed to point to functions that return bool. This patch changes > the return type of the kvm_para_available function to bool. > > Sparse warnings: > > arch/x86/ker

Re: KVM call minutes 2013-01-29

2013-01-29 Thread Anthony Liguori
Paolo Bonzini writes: > Il 29/01/2013 16:41, Juan Quintela ha scritto: >> * Replacing select(2) so that we will not hit the 1024 fd_set limit in the >> future. (stefan) >> >> Add checks for fd's bigger than 1024? multifunction devices uses lot >> of fd's for device. >> >> Portability? >

Re: KVM call minutes 2013-01-29

2013-01-29 Thread Paolo Bonzini
Il 29/01/2013 17:47, Anthony Liguori ha scritto: > Paolo Bonzini writes: > >> Il 29/01/2013 16:41, Juan Quintela ha scritto: >>> * Replacing select(2) so that we will not hit the 1024 fd_set limit in the >>> future. (stefan) >>> >>> Add checks for fd's bigger than 1024? multifunction devices

KVM VM's facing public network

2013-01-29 Thread Hugo R Hernández-Mora
Hello there, we are experiencing a problem by configuring a KVM bridged networking to share a public network interface between the KVM host and the VMs. Currently, our KVM server has set three network interfaces as follows: * eth0: 192.168.10.101/23 (main interface for public network - no brid

Re: [PATCH v2 1/3] tcm_vhost: Introduce iov_num_pages

2013-01-29 Thread Nicholas A. Bellinger
Hi Asias, On Tue, 2013-01-22 at 11:20 +0800, Asias He wrote: > Add a helper to calculate the number of pages needed for a iov entry. > > Signed-off-by: Asias He > --- Apologies for the long delay. Applied to target-pending/for-next with a minor nit below. Thank you, --nab > drivers/vhost/t

Re: [PATCH v2 2/3] tcm_vhost: Use iov_num_pages to calculate sgl_count

2013-01-29 Thread Nicholas A. Bellinger
On Tue, 2013-01-22 at 11:20 +0800, Asias He wrote: > Signed-off-by: Asias He > --- Applied to target-pending/for-next. Thanks! --nab > drivers/vhost/tcm_vhost.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/drivers/vhost/tcm_vhost.c b/drivers/vhost/tcm_vhos

Re: [PATCH v2 3/3] tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl

2013-01-29 Thread Nicholas A. Bellinger
On Tue, 2013-01-22 at 11:20 +0800, Asias He wrote: > We can get all the pages in one time instead of calling > gup N times. > > Signed-off-by: Asias He > --- Everything looks fine after initial testing, so also applied to target-pending/for-next. Nice optimization. :) --nab > drivers/vhost/

Re: [PATCH v2 3/3] tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl

2013-01-29 Thread Michael S. Tsirkin
On Tue, Jan 29, 2013 at 10:53:33AM -0800, Nicholas A. Bellinger wrote: > On Tue, 2013-01-22 at 11:20 +0800, Asias He wrote: > > We can get all the pages in one time instead of calling > > gup N times. > > > > Signed-off-by: Asias He > > --- > > Everything looks fine after initial testing, so als

Re: [PATCH 0/5] vhost-scsi: Add support for host virtualized target

2013-01-29 Thread Nicholas A. Bellinger
Hi MST, Paolo & Co, On Mon, 2013-01-28 at 15:39 +0200, Michael S. Tsirkin wrote: > On Mon, Jan 28, 2013 at 02:33:44PM +0100, Paolo Bonzini wrote: > > Il 28/01/2013 14:36, Michael S. Tsirkin ha scritto: > > > On Mon, Jan 28, 2013 at 02:29:23PM +0100, Paolo Bonzini wrote: > > >> Il 28/01/2013 14:11,

Re: [PATCH v2 3/3] tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl

2013-01-29 Thread Nicholas A. Bellinger
On Tue, 2013-01-29 at 21:16 +0200, Michael S. Tsirkin wrote: > On Tue, Jan 29, 2013 at 10:53:33AM -0800, Nicholas A. Bellinger wrote: > > On Tue, 2013-01-22 at 11:20 +0800, Asias He wrote: > > > We can get all the pages in one time instead of calling > > > gup N times. > > > > > > Signed-off-by: A

Re: [Qemu-devel] [PATCH V2 11/20] tap: support enabling or disabling a queue

2013-01-29 Thread Blue Swirl
On Tue, Jan 29, 2013 at 1:50 PM, Jason Wang wrote: > On 01/26/2013 03:13 AM, Blue Swirl wrote: >> On Fri, Jan 25, 2013 at 10:35 AM, Jason Wang 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 init

Re: [PATCH 0/3] s390/kvm fixes

2013-01-29 Thread Christian Borntraeger
On 29/01/13 14:12, Gleb Natapov wrote: > On Fri, Jan 25, 2013 at 03:34:14PM +0100, Christian Borntraeger wrote: >> Gleb, Marcelo, >> > Alex, can you review? Last time I checked, Cornelia and myself were s390/kvm/kernel maintainers ;-) Alex is maintainer for s390/kvm/qemu. If the patch introduces

Re: [PATCH 0/3] s390/kvm fixes

2013-01-29 Thread Gleb Natapov
On Tue, Jan 29, 2013 at 09:41:21PM +0100, Christian Borntraeger wrote: > On 29/01/13 14:12, Gleb Natapov wrote: > > On Fri, Jan 25, 2013 at 03:34:14PM +0100, Christian Borntraeger wrote: > >> Gleb, Marcelo, > >> > > Alex, can you review? > > Last time I checked, Cornelia and myself were s390/kvm/k

Re: KVM call minutes 2013-01-29

2013-01-29 Thread Alexander Graf
On 01/29/2013 04:41 PM, Juan Quintela wrote: * Buildbot: discussed on the list (Andreas retired it) * Replacing select(2) so that we will not hit the 1024 fd_set limit in the future. (stefan) Add checks for fd's bigger than 1024? multifunction devices uses lot of fd's for device. P

[PATCH v2] vfio-pci: Add support for VGA region access

2013-01-29 Thread Alex Williamson
PCI defines display class VGA regions at I/O port address 0x3b0, 0x3c0 and MMIO address 0xa. As these are non-overlapping, we can ignore the I/O port vs MMIO difference and expose them both in a single region. We make use of the VGA arbiter around each access to configure chipset access as ne

Re: [PATCH 0/5] vhost-scsi: Add support for host virtualized target

2013-01-29 Thread Paolo Bonzini
> Also, I'm not exactly sure what's involved with a vhost=on/off > frontend > option discussed above, so if you or Paolo could handle this bit it > would be very helpful. I can do the forward port, if you take care of testing we have enough time to make it into 1.4. Paolo -- To unsubscribe from t

Re: [PATCH 0/3] s390/kvm fixes

2013-01-29 Thread Gleb Natapov
On Tue, Jan 29, 2013 at 10:46:00PM +0200, Gleb Natapov wrote: > On Tue, Jan 29, 2013 at 09:41:21PM +0100, Christian Borntraeger wrote: > > On 29/01/13 14:12, Gleb Natapov wrote: > > > On Fri, Jan 25, 2013 at 03:34:14PM +0100, Christian Borntraeger wrote: > > >> Gleb, Marcelo, > > >> > > > Alex, can

Re: KVM VM's facing public network

2013-01-29 Thread Brian Jackson
On Tue, 29 Jan 2013 12:53:21 -0500 Hugo R Hernández-Mora wrote: > Hello there, > we are experiencing a problem by configuring a KVM bridged networking > to share a public network interface between the KVM host and the VMs. > Currently, our KVM server has set three network interfaces as follows:

Re: KVM call minutes 2013-01-29

2013-01-29 Thread Anthony Liguori
Alexander Graf writes: > On 01/29/2013 04:41 PM, Juan Quintela wrote: >>Alex will fill this > > When using -device, we can not specify an IRQ line to attach to the > device. This works for some special buses like PCI, but not in the > generic case. We need it generically for virtio-mmio and

Re: [Qemu-devel] [PATCH V2 11/20] tap: support enabling or disabling a queue

2013-01-29 Thread Michael S. Tsirkin
On Tue, Jan 29, 2013 at 08:10:26PM +, Blue Swirl wrote: > On Tue, Jan 29, 2013 at 1:50 PM, Jason Wang wrote: > > On 01/26/2013 03:13 AM, Blue Swirl wrote: > >> On Fri, Jan 25, 2013 at 10:35 AM, Jason Wang wrote: > >>> This patch introduce a new bit - enabled in TAPState which tracks whether

Re: KVM VM's facing public network

2013-01-29 Thread Hugo R. Hernandez-Mora
Brian, thanks for having the time and look into my problem. I have set my VMs by using virt-manager but here is how it looks the qemu/kvm process running for my client: [root@kvm1 ~]# ps -efl | grep qemu 6 S qemu 3532 1 1 80 0 - 2834530 poll_s 11:38 ? 00:03:20 /usr/libexec/qemu-kvm

Re: [PATCH 0/5] vhost-scsi: Add support for host virtualized target

2013-01-29 Thread Nicholas A. Bellinger
On Tue, 2013-01-29 at 16:03 -0500, Paolo Bonzini wrote: > > Also, I'm not exactly sure what's involved with a vhost=on/off > > frontend > > option discussed above, so if you or Paolo could handle this bit it > > would be very helpful. > > I can do the forward port, if you take care of testing we h

[Bug 53191] New: hardware error 0x80000021 on a KVM virtual machine with kernel 3.7

2013-01-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=53191 Summary: hardware error 0x8021 on a KVM virtual machine with kernel 3.7 Product: Virtualization Version: unspecified Kernel Version: 3.7.2 Platform: All OS/Version: Linu

Re: [Qemu-devel] [PATCH V2 11/20] tap: support enabling or disabling a queue

2013-01-29 Thread Anthony Liguori
"Michael S. Tsirkin" writes: > On Tue, Jan 29, 2013 at 08:10:26PM +, Blue Swirl wrote: >> On Tue, Jan 29, 2013 at 1:50 PM, Jason Wang wrote: >> > On 01/26/2013 03:13 AM, Blue Swirl wrote: >> >> On Fri, Jan 25, 2013 at 10:35 AM, Jason Wang wrote: >> >>> This patch introduce a new bit - enabl

Re: [Qemu-devel] [PATCH V2 11/20] tap: support enabling or disabling a queue

2013-01-29 Thread Michael S. Tsirkin
On Tue, Jan 29, 2013 at 04:55:25PM -0600, Anthony Liguori wrote: > "Michael S. Tsirkin" writes: > > > On Tue, Jan 29, 2013 at 08:10:26PM +, Blue Swirl wrote: > >> On Tue, Jan 29, 2013 at 1:50 PM, Jason Wang wrote: > >> > On 01/26/2013 03:13 AM, Blue Swirl wrote: > >> >> On Fri, Jan 25, 2013

Re: KVM VM's facing public network

2013-01-29 Thread Brian Jackson
On Tue, 29 Jan 2013 17:15:54 -0500 "Hugo R. Hernandez-Mora" wrote: > Brian, > thanks for having the time and look into my problem. I have set my > VMs by using virt-manager but here is how it looks the qemu/kvm > process running for my client: > > [root@kvm1 ~]# ps -efl | grep qemu > 6 S qemu

[Bug 53191] hardware error 0x80000021 on a KVM virtual machine with kernel 3.7

2013-01-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=53191 i...@theiggy.com changed: What|Removed |Added CC||i...@theiggy.com --- Comment #1 fro

Re: [PATCH v2 03/12] KVM: MMU: simplify mmu_set_spte

2013-01-29 Thread Marcelo Tosatti
On Tue, Jan 29, 2013 at 10:55:24AM +0800, Xiao Guangrong wrote: > On 01/29/2013 08:21 AM, Marcelo Tosatti wrote: > > On Wed, Jan 23, 2013 at 06:05:29PM +0800, Xiao Guangrong wrote: > >> In order to detecting spte remapping, we can simply check whether the > >> spte has already been pointing to the

Re: Unknown KVM internal error on 3.2.1

2013-01-29 Thread Doug Goldstein
On Wed, Mar 7, 2012 at 4:41 AM, Avi Kivity wrote: > On 02/25/2012 05:35 PM, Doug Goldstein wrote: >> Hello, I'm seeing the following failure when running on 3.2.1: > > > >> KVM internal error. Suberror: 1 >> emulation failure >> EAX=8004003b EBX=38d54633 ECX=c0460a7e EDX=8005003b >> ESI=e49329a8

Re: [PATCH v2 03/12] KVM: MMU: simplify mmu_set_spte

2013-01-29 Thread Xiao Guangrong
On 01/30/2013 05:53 AM, Marcelo Tosatti wrote: > On Tue, Jan 29, 2013 at 10:55:24AM +0800, Xiao Guangrong wrote: >> On 01/29/2013 08:21 AM, Marcelo Tosatti wrote: >>> On Wed, Jan 23, 2013 at 06:05:29PM +0800, Xiao Guangrong wrote: In order to detecting spte remapping, we can simply check wheth

Re: [PATCH v2 06/12] KVM: MMU: introduce a static table to map guest access to spte access

2013-01-29 Thread Xiao Guangrong
On 01/29/2013 09:07 AM, Marcelo Tosatti wrote: > On Mon, Jan 28, 2013 at 10:07:15PM -0200, Marcelo Tosatti wrote: >> On Fri, Jan 25, 2013 at 10:46:31AM +0800, Xiao Guangrong wrote: >>> On 01/25/2013 08:15 AM, Marcelo Tosatti wrote: On Wed, Jan 23, 2013 at 06:07:20PM +0800, Xiao Guangrong wrote

Re: [PATCH 0/2] kvm: IOMMU read-only mapping support

2013-01-29 Thread Xiao Guangrong
On 01/29/2013 03:48 PM, Gleb Natapov wrote: > On Tue, Jan 29, 2013 at 03:37:23PM +0800, Xiao Guangrong wrote: >> On 01/29/2013 02:50 PM, Gleb Natapov wrote: >>> On Tue, Jan 29, 2013 at 11:06:43AM +0800, Xiao Guangrong wrote: On 01/28/2013 06:59 PM, Gleb Natapov wrote: > On Fri, Jan 25, 201

Re: [PATCH 0/2] kvm: IOMMU read-only mapping support

2013-01-29 Thread Takuya Yoshikawa
On Wed, 30 Jan 2013 12:06:32 +0800 Xiao Guangrong wrote: > So, i guess we can do the simple fix first. > > >>> By simple fix you mean calling kvm_arch_flush_shadow_all() on READONLY > >>> flag change? > >> > >> Simply disallow READONLY flag changing. > > Ok, can somebody craft a patch?

What to do about non-qdevified devices? (was: [Qemu-devel] KVM call minutes 2013-01-29)

2013-01-29 Thread Markus Armbruster
Anthony Liguori writes: [...] > The problems I ran into were (1) this is a lot of work (2) it basically > requires that all bus children have been qdev/QOM-ified. Even with > something like the ISA bus which is where I started, quite a few devices > were not qdevified still. So what's the plan

Fwd: FW: recently upgrade kvm patch rpm

2013-01-29 Thread adhithacholan
Hi all, We are getting this error message, when we reboot our guest nodes. This happens only after rpm updates on host machine. When I type something on lilo boot prompt, double characters are getting printed. Note: guest nodes works fine in run level 3. Can some suggest