Re: [PATCH] kvm-unit-tests: VMX: Fix two minor bugs

2013-09-11 Thread Paolo Bonzini
Il 11/09/2013 05:15, Arthur Chunqi Li ha scritto: Hi Paolo, Sorry but I should trouble you merging these two minor changes to vmx branch. Until now, all the commits in vmx branch seems fine (if others have no comments). Because I have some patches to commit based on vmx branch, should we

Re: Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Paolo Bonzini
Il 11/09/2013 00:27, James Sparenberg ha scritto: I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of course causing the guest Id to increment by one with each test. I've googled around and tried searching the list but

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 09:47:07AM +0200, Paolo Bonzini wrote: Il 11/09/2013 00:27, James Sparenberg ha scritto: I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of course causing the guest Id to increment by one

Re: [PATCH 00/11] HV KVM improvements in preparation for POWER8 support

2013-09-11 Thread Paul Mackerras
On Fri, Sep 06, 2013 at 01:10:03PM +1000, Paul Mackerras wrote: This series of patches is based on Alex Graf's kvm-ppc-queue branch. It fixes some bugs, makes some more registers accessible through the one_reg interface, and implements some missing features such as support for the

How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Arthur Chunqi Li
Hi Gleb, Paolo and related folks, I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 also describe it. I got confused how this scenario can be recreated. Do you have any ideas? Thanks, Arthur -- Arthur

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Gleb Natapov
On Wed, Sep 11, 2013 at 08:49:28PM +0800, Arthur Chunqi Li wrote: Hi Gleb, Paolo and related folks, I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 also describe it. I got confused how this scenario can

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Arthur Chunqi Li
On Wed, Sep 11, 2013 at 8:53 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Sep 11, 2013 at 08:49:28PM +0800, Arthur Chunqi Li wrote: Hi Gleb, Paolo and related folks, I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table 24-3, but

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Gleb Natapov
On Wed, Sep 11, 2013 at 08:55:41PM +0800, Arthur Chunqi Li wrote: On Wed, Sep 11, 2013 at 8:53 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Sep 11, 2013 at 08:49:28PM +0800, Arthur Chunqi Li wrote: Hi Gleb, Paolo and related folks, I was trying to recreate MOV-SS blocking vmentry fail

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Paolo Bonzini
Il 11/09/2013 14:53, Gleb Natapov ha scritto: I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 also describe it. I got confused how this scenario can be recreated. Do you have any ideas? mov $0,

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Gleb Natapov
On Wed, Sep 11, 2013 at 03:01:07PM +0200, Paolo Bonzini wrote: Il 11/09/2013 14:53, Gleb Natapov ha scritto: I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 also describe it. I got confused how this

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Arthur Chunqi Li
On Wed, Sep 11, 2013 at 9:03 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Sep 11, 2013 at 03:01:07PM +0200, Paolo Bonzini wrote: Il 11/09/2013 14:53, Gleb Natapov ha scritto: I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table

Re: How to recreate MOV-SS blocking vmentry fail

2013-09-11 Thread Gleb Natapov
On Wed, Sep 11, 2013 at 09:04:26PM +0800, Arthur Chunqi Li wrote: On Wed, Sep 11, 2013 at 9:03 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Sep 11, 2013 at 03:01:07PM +0200, Paolo Bonzini wrote: Il 11/09/2013 14:53, Gleb Natapov ha scritto: I was trying to recreate MOV-SS blocking

Re: 2nd level lockups using VMX nesting on 3.11 based host kernel

2013-09-11 Thread Paolo Bonzini
Il 10/09/2013 09:52, Stefan Bader ha scritto: On 03.09.2013 20:13, Gleb Natapov wrote: On Tue, Sep 03, 2013 at 03:19:27PM +0200, Stefan Bader wrote: With current 3.11 kernels we got reports of nested qemu failing in weird ways. I believe 3.10 also had issues before. Not sure whether those

[PATCH v3 0/3] kvm tools: remove periodic tick

2013-09-11 Thread Jonathan Austin
This patch series removes kvm tool's periodic tick function in favour of a thread that blocks waiting for input. The paths used for handling input are the same as when using a periodic tick, but they're not called unless there is actually input to be processed. On extremely slow platforms (eg

[PATCH v3 1/3] kvm tools: use #define for maximum number of terminal devices

2013-09-11 Thread Jonathan Austin
Though there may be no near-term plans to change the number of terminal devices in the future, using TERM_MAX_DEVS instead of '4' makes reading some of the loops over terminal devices clearer. This patch makes the this substitution where required. Signed-off-by: Jonathan Austin

[PATCH v3 3/3] kvm tools: stop virtio console doing unnecessary input handling

2013-09-11 Thread Jonathan Austin
The asynchronous nature of the virtio input handling (using a job queue) can result in unnecessary jobs being created if there is some delay in handing input (the original function to handle the input returns immediately without the file having been read, and hence poll returns immediately

[PATCH v3 2/3] kvm tools: remove periodic tick in favour of a polling thread

2013-09-11 Thread Jonathan Austin
Currently the only use of the periodic timer tick in kvmtool is to handle reading from stdin. Though functional, this periodic tick can be problematic on slow (eg FPGA) platforms and can cause low interactivity or even stop the execution from progressing at all. This patch removes the periodic

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread James Sparenberg
Ok. and trust me right now it feels like my experiments will hit the wrap number ;). As for the other part. Thanks, now when my boss takes a look and panics I've got an answer. ;) I really appreciate the help. James Sparenberg Sys Admin III Linux Vudu Inc a Walmart Company On 09/11/2013

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Eric Blake
On 09/11/2013 01:59 AM, Daniel P. Berrange wrote: On Wed, Sep 11, 2013 at 09:47:07AM +0200, Paolo Bonzini wrote: Il 11/09/2013 00:27, James Sparenberg ha scritto: I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of

[PATCH] ARM: kvm: rename cpu_reset to avoid name clash

2013-09-11 Thread Olof Johansson
cpu_reset is already #defined in asm/proc-fns.h as processor.reset, so it expands here and causes problems. Signed-off-by: Olof Johansson o...@lixom.net --- arch/arm/kvm/reset.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/kvm/reset.c

Re: [PATCH] ARM: kvm: rename cpu_reset to avoid name clash

2013-09-11 Thread Olof Johansson
On Wed, Sep 11, 2013 at 3:27 PM, Olof Johansson o...@lixom.net wrote: cpu_reset is already #defined in asm/proc-fns.h as processor.reset, so it expands here and causes problems. Signed-off-by: Olof Johansson o...@lixom.net I just noticed this is broken on 3.10 too, so if/when applying feel

Re: [PATCH] ARM: kvm: rename cpu_reset to avoid name clash

2013-09-11 Thread Christoffer Dall
On Wed, Sep 11, 2013 at 03:39:26PM -0700, Olof Johansson wrote: On Wed, Sep 11, 2013 at 3:27 PM, Olof Johansson o...@lixom.net wrote: cpu_reset is already #defined in asm/proc-fns.h as processor.reset, so it expands here and causes problems. Signed-off-by: Olof Johansson o...@lixom.net

Re: [PATCH V2] Documentation/kvm: Update cpuid documentation for steal time and pv eoi

2013-09-11 Thread Raghavendra K T
On 09/04/2013 02:18 PM, Raghavendra K T wrote: Signed-off-by: Raghavendra K T raghavendra...@linux.vnet.ibm.com --- Changes in V2: Correction in the description of steal time and added msr info (Michael S Tsirkin) Documentation/virtual/kvm/cpuid.txt | 10 ++ 1 file changed, 10

[PATCH] KVM: IRQFD: equip irqfd and resamplefd with polarity

2013-09-11 Thread Liu Ping Fan
Nowadays, irqfd can emulate trigger mode, but it can not emulate trigger polarity. While in some cases, ioapic ioredtbl[x] expects _low_ active. So equipping irqfd with the ability. Correspondingly, resamplefd will have the same polarity as irqfd. Signed-off-by: Liu Ping Fan

Re: [PATCH V2] Documentation/kvm: Update cpuid documentation for steal time and pv eoi

2013-09-11 Thread Michael S. Tsirkin
On Wed, Sep 04, 2013 at 02:18:46PM +0530, Raghavendra K T wrote: Signed-off-by: Raghavendra K T raghavendra...@linux.vnet.ibm.com --- Changes in V2: Correction in the description of steal time and added msr info (Michael S Tsirkin) Thanks. Some comments below:

Re: [PATCH 00/11] HV KVM improvements in preparation for POWER8 support

2013-09-11 Thread Paul Mackerras
On Fri, Sep 06, 2013 at 01:10:03PM +1000, Paul Mackerras wrote: This series of patches is based on Alex Graf's kvm-ppc-queue branch. It fixes some bugs, makes some more registers accessible through the one_reg interface, and implements some missing features such as support for the

Re: vfio for platform devices - 9/5/2012 - minutes

2013-09-11 Thread Scott Wood
On Wed, 2013-09-11 at 11:42 -0500, Yoder Stuart-B08248 wrote: One thing we didn't discuss needs to be considered (probably by Kim who is looking at the 'binding device' issue) is around returning a passthru device back to the host. After a platform device has been bound to vfio and is in use

Re: vfio for platform devices - 9/5/2012 - minutes

2013-09-11 Thread Alex Williamson
On Wed, 2013-09-11 at 16:42 +, Yoder Stuart-B08248 wrote: -Original Message- From: Yoder Stuart-B08248 Sent: Thursday, September 05, 2013 12:51 PM To: Wood Scott-B07421; Sethi Varun-B16395; Bhushan Bharat-R65777; 'Peter Maydell'; 'Santosh Shukla'; 'Alex Williamson';

RE: vfio for platform devices - 9/5/2012 - minutes

2013-09-11 Thread Yoder Stuart-B08248
-Original Message- From: Yoder Stuart-B08248 Sent: Thursday, September 05, 2013 12:51 PM To: Wood Scott-B07421; Sethi Varun-B16395; Bhushan Bharat-R65777; 'Peter Maydell'; 'Santosh Shukla'; 'Alex Williamson'; 'Alexander Graf'; 'Antonios Motakis'; 'Christoffer Dall';