Re: [Qemu-devel] [PATCH V2 00/20] Multiqueue virtio-net

2013-01-27 Thread Jason Wang
On 01/28/2013 11:27 AM, Wanlong Gao wrote: > On 01/25/2013 06:35 PM, Jason Wang wrote: >> 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 mu

Re: [PATCH V2 00/20] Multiqueue virtio-net

2013-01-27 Thread Wanlong Gao
On 01/25/2013 06:35 PM, Jason Wang wrote: > 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, multi

Re: [PATCH] vhost-net: fall back to vmalloc if high-order allocation fails

2013-01-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Wed, 23 Jan 2013 23:04:11 +0200 > Maybe we should try and reduce our memory usage, > I will look into this. As has been pointed out, 32K of the size is from those iovecs in the queues. The size of this structure is frankly offensive, and even if you add some lev

[PATCH v3] KVM: VMX: enable acknowledge interupt on vmexit

2013-01-27 Thread Yang Zhang
From: Yang Zhang The "acknowledge interrupt on exit" feature controls processor behavior for external interrupt acknowledgement. When this control is set, the processor acknowledges the interrupt controller to acquire the interrupt vector on VM exit. After enabling this feature, an interrupt whi

Re: windows 2008 guest causing rcu_shed to emit NMI

2013-01-27 Thread Andrey Korolyov
On Sat, Jan 26, 2013 at 12:49 AM, Marcelo Tosatti wrote: > On Fri, Jan 25, 2013 at 10:45:02AM +0300, Andrey Korolyov wrote: >> On Thu, Jan 24, 2013 at 4:20 PM, Marcelo Tosatti wrote: >> > On Thu, Jan 24, 2013 at 01:54:03PM +0300, Andrey Korolyov wrote: >> >> Thank you Marcelo, >> >> >> >> Host no

Re: [PATCH V3 RESEND RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2013-01-27 Thread Raghavendra K T
On 01/26/2013 12:19 AM, Ingo Molnar wrote: * Raghavendra K T wrote: On 01/25/2013 04:17 PM, Ingo Molnar wrote: * Raghavendra K T wrote: * Ingo Molnar [2013-01-24 11:32:13]: * Raghavendra K T wrote: From: Peter Zijlstra In case of undercomitted scenarios, especially in large gues

Re: [PATCH 3/3] ALSA: intel8x0: Check return value before assigning

2013-01-27 Thread H. Peter Anvin
Wtf? This patch seems semibogus at best and the description is even more ridiculous... Emil Goode wrote: >The first patch in this series changes the return type of function >kvm_para_available to bool. In the function snd_intel8x0_inside_vm >we now need to check it's return value before assig

[PATCH 3/3] ALSA: intel8x0: Check return value before assigning

2013-01-27 Thread Emil Goode
The first patch in this series changes the return type of function kvm_para_available to bool. In the function snd_intel8x0_inside_vm we now need to check it's return value before assigning a value to the result variable. Signed-off-by: Emil Goode --- sound/pci/intel8x0.c |2 +- 1 file chang

[PATCH 2/3] x86: KVM: Simplify function kvm_detect

2013-01-27 Thread Emil Goode
The first patch in this series changed the kvm_para_available function to return bool. We can now simplify the kvm_detect function by directly returning the return value of kvm_para_available. Signed-off-by: Emil Goode --- arch/x86/kernel/kvm.c |4 +--- 1 file changed, 1 insertion(+), 3 dele

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

2013-01-27 Thread Emil Goode
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/kernel/kvm.c:508:35: warning: incorrect type in initializer (differen

Re: [RFC 16/19] target-ppc: Refactor debug output macros

2013-01-27 Thread Alexander Graf
Am 27.01.2013 um 15:54 schrieb Andreas Färber : > Am 27.01.2013 15:46, schrieb Alexander Graf: >> >> On 27.01.2013, at 15:35, Andreas Färber wrote: >> >>> Am 27.01.2013 15:14, schrieb Anthony Liguori: Andreas Färber writes: > diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_he

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

2013-01-27 Thread Gleb Natapov
On Thu, Jan 24, 2013 at 03:03:57PM -0700, Alex Williamson wrote: > A couple patches to make KVM IOMMU support honor read-only mappings. > This causes an un-map, re-map when the read-only flag changes and > makes use of it when setting IOMMU attributes. Thanks, > > Alex > Applied, thanks. > ---

Re: [RFC 16/19] target-ppc: Refactor debug output macros

2013-01-27 Thread Andreas Färber
Am 27.01.2013 15:46, schrieb Alexander Graf: > > On 27.01.2013, at 15:35, Andreas Färber wrote: > >> Am 27.01.2013 15:14, schrieb Anthony Liguori: >>> Andreas Färber writes: diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_helper.c index 0a1ac86..54722c4 100644 --- a/target

Re: [RFC 16/19] target-ppc: Refactor debug output macros

2013-01-27 Thread Alexander Graf
On 27.01.2013, at 15:35, Andreas Färber wrote: > Am 27.01.2013 15:14, schrieb Anthony Liguori: >> Andreas Färber writes: >>> diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_helper.c >>> index 0a1ac86..54722c4 100644 >>> --- a/target-ppc/excp_helper.c >>> +++ b/target-ppc/excp_helper.c >>

Re: [RFC 16/19] target-ppc: Refactor debug output macros

2013-01-27 Thread Andreas Färber
Am 27.01.2013 15:14, schrieb Anthony Liguori: > Andreas Färber writes: >> diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_helper.c >> index 0a1ac86..54722c4 100644 >> --- a/target-ppc/excp_helper.c >> +++ b/target-ppc/excp_helper.c >> @@ -21,14 +21,14 @@ >> >> #include "helper_regs.h" >

Re: [RFC 16/19] target-ppc: Refactor debug output macros

2013-01-27 Thread Anthony Liguori
Andreas Färber writes: > Make debug output compile-testable even if disabled. > > Inline DEBUG_OP check in excp_helper.c. > Inline LOG_MMU_STATE() in mmu_helper.c. > Inline PPC_DEBUG_SPR check in translate_init.c. > > Signed-off-by: Andreas Färber > --- > target-ppc/excp_helper.c| 22

[RFC 17/19] target-s390x: Refactor debug output macros

2013-01-27 Thread Andreas Färber
Make debug output compile-testable even if disabled. Inline S390X_DEBUG_DISAS in translate.c. Signed-off-by: Andreas Färber --- target-s390x/cc_helper.c | 13 +++-- target-s390x/fpu_helper.c | 13 +++-- target-s390x/helper.c | 42 ++-

[RFC 16/19] target-ppc: Refactor debug output macros

2013-01-27 Thread Andreas Färber
Make debug output compile-testable even if disabled. Inline DEBUG_OP check in excp_helper.c. Inline LOG_MMU_STATE() in mmu_helper.c. Inline PPC_DEBUG_SPR check in translate_init.c. Signed-off-by: Andreas Färber --- target-ppc/excp_helper.c| 22 +++ target-ppc/kvm.c

[RFC 12/19] target-i386: Refactor debug output macros

2013-01-27 Thread Andreas Färber
Make debug output compile-testable even if disabled. Signed-off-by: Andreas Färber Cc: Richard Henderson --- target-i386/helper.c | 33 - target-i386/kvm.c| 16 +++- target-i386/seg_helper.c | 20 +++- 3 Dateien geänd

Re: [PATCH v2 10/12] KVM: MMU: unify the code of walking pte list

2013-01-27 Thread Gleb Natapov
On Wed, Jan 23, 2013 at 06:09:34PM +0800, Xiao Guangrong wrote: > Walking parent spte and walking ramp have same logic, this patch introduces > for_each_spte_in_pte_list to integrate their code > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c | 199 > ++---

Re: [PATCH v2 01/12] KVM: MMU: lazily drop large spte

2013-01-27 Thread Gleb Natapov
On Wed, Jan 23, 2013 at 06:04:17PM +0800, Xiao Guangrong wrote: > Do not drop large spte until it can be insteaded by small pages so that > the guest can happliy read memory through it > > The idea is from Avi: > | As I mentioned before, write-protecting a large spte is a good idea, > | since it m

Re: [PATCH] KVM: x86 emulator: fix test_cc() build failure on i386

2013-01-27 Thread Gleb Natapov
On Sat, Jan 26, 2013 at 11:56:04PM +0200, Avi Kivity wrote: > 'pushq' doesn't exist on i386. Replace with 'push', which should work > since the operand is a register. > > Signed-off-by: Avi Kivity Applied, thanks. > --- > arch/x86/kvm/emulate.c | 2 +- > 1 file changed, 1 insertion(+), 1 delet

[no subject]

2013-01-27 Thread chenbaoke
I want to know how to use "qemu-system-x86_64" command to create a kvm virtial machine with "scsi" disk as its first boot disk ! -- 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 http://vger.kernel.org/m