Re: [PATCH v7 2/3] KVM: dynamic halt-polling

2015-09-06 Thread Wanpeng Li
On 9/6/15 10:32 PM, Paolo Bonzini wrote: On 05/09/2015 00:38, Wanpeng Li wrote: @@ -1940,11 +1975,16 @@ void kvm_vcpu_block(struct kvm_vcpu *vcpu) * arrives. */ if (kvm_vcpu_check_block(vcpu) < 0) { +polled = true;

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Nathan Whitehorn
Fantastic, thanks! -Nathan On 09/06/15 16:52, Paul Mackerras wrote: On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Nathan Whitehorn
Fantastic, thanks! -Nathan On 09/06/15 16:52, Paul Mackerras wrote: On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Nathan Whitehorn
Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. -Nathan On 07/27/15 10:31, Nathan Whitehorn wrote: I've been running with these patches and a FreeBSD guest for a while now and they work very well, providing big performance improvements in

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Nathan Whitehorn
Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. -Nathan On 07/27/15 10:31, Nathan Whitehorn wrote: I've been running with these patches and a FreeBSD guest for a while now and they work very well, providing big performance improvements in

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Paul Mackerras
On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: > Anything I can do to help move these along? It's a big performance > improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should go into Linus' tree in the next couple of days. Paul. -- To

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Paul Mackerras
On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: > Anything I can do to help move these along? It's a big performance > improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should go into Linus' tree in the next couple of days. Paul. -- To

Re: [Qemu-devel] [PATCH v2 06/18] pc: implement NVDIMM device abstract

2015-09-06 Thread Xiao Guangrong
On 09/02/2015 07:31 PM, Igor Mammedov wrote: On Wed, 2 Sep 2015 18:36:43 +0800 Xiao Guangrong wrote: On 09/02/2015 05:58 PM, Igor Mammedov wrote: On Fri, 14 Aug 2015 22:51:59 +0800 Xiao Guangrong wrote: Introduce

Re: [Qemu-devel] [PATCH v2 07/18] nvdimm: reserve address range for NVDIMM

2015-09-06 Thread Xiao Guangrong
On 09/04/2015 08:02 PM, Igor Mammedov wrote: On Fri, 14 Aug 2015 22:52:00 +0800 Xiao Guangrong wrote: NVDIMM reserves all the free range above 4G to do: - Persistent Memory (PMEM) mapping - implement NVDIMM ACPI device _DSM method Signed-off-by: Xiao

Re: [PATCH] kvm: fix maybe-uninitialized compiler warning

2015-09-06 Thread Xiao Guangrong
On 09/05/2015 05:07 AM, Clemens Gruber wrote: Fixes the following compiler warning, occuring with GCC 5.2.0: arch/x86/kvm/mmu.c: In function ‘handle_mmio_page_fault_common’: arch/x86/kvm/mmu.c:3332:9: warning: ‘leaf’ may be used uninitialized in this function [-Wmaybe-uninitialized] while

[PATCH v2] virtio-blk: Allow extended partitions

2015-09-06 Thread Fam Zheng
This will allow up to DISK_MAX_PARTS (256) partitions, with for example GPT in the guest. Otherwise, the partition scan code will only discover the first 15 partitions. Signed-off-by: Fam Zheng --- drivers/block/virtio_blk.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [Qemu-devel] [PATCH v2 02/18] i386/acpi-build: allow SSDT to operate on 64 bit

2015-09-06 Thread Xiao Guangrong
On 09/02/2015 07:42 PM, Igor Mammedov wrote: On Wed, 2 Sep 2015 18:43:41 +0800 Xiao Guangrong wrote: On 09/02/2015 06:06 PM, Igor Mammedov wrote: On Fri, 14 Aug 2015 22:51:55 +0800 Xiao Guangrong wrote: Only 512M is left

Re: [PATCH] kvm: compile process_smi_save_seg_64() only for x86_64

2015-09-06 Thread Paolo Bonzini
On 06/09/2015 15:35, Alexander Kuleshov wrote: > The process_smi_save_seg_64() function called only in the > process_smi_save_state_64() if the CONFIG_X86_64 is set. This > patch adds #ifdef CONFIG_X86_64 around process_smi_save_seg_64() > to prevent following warning message: > >

Re: [PATCH v7 0/3] KVM: Dynamic Halt-Polling

2015-09-06 Thread Paolo Bonzini
On 03/09/2015 16:07, Wanpeng Li wrote: > v6 -> v7: > * explicit signal (set a bool) > * fix the tracepoint > > v5 -> v6: > * fix wait_ns and poll_ns > > v4 -> v5: > * set base case 10us and max poll time 500us > * handle short/long halt, idea from David, many thanks David > > v3 ->

[PATCH] kvm: compile process_smi_save_seg_64() only for x86_64

2015-09-06 Thread Alexander Kuleshov
The process_smi_save_seg_64() function called only in the process_smi_save_state_64() if the CONFIG_X86_64 is set. This patch adds #ifdef CONFIG_X86_64 around process_smi_save_seg_64() to prevent following warning message: arch/x86/kvm/x86.c:5946:13: warning: ‘process_smi_save_seg_64’ defined but

Re: [PATCH v7 2/3] KVM: dynamic halt-polling

2015-09-06 Thread Paolo Bonzini
On 05/09/2015 00:38, Wanpeng Li wrote: >> >> @@ -1940,11 +1975,16 @@ void kvm_vcpu_block(struct kvm_vcpu *vcpu) >>* arrives. >>*/ >> if (kvm_vcpu_check_block(vcpu) < 0) { >> +polled = true; >>

Re: [PATCH v7 1/3] KVM: make halt_poll_ns per-vCPU

2015-09-06 Thread Paolo Bonzini
On 03/09/2015 16:07, Wanpeng Li wrote: > Change halt_poll_ns into per-VCPU variable, seeded from module parameter, > to allow greater flexibility. > > Signed-off-by: Wanpeng Li > --- > include/linux/kvm_host.h | 1 + > virt/kvm/kvm_main.c | 5 +++-- > 2 files

[Bug 104091] New: [bisected] Starting a VM causes the host to halt and create Machine Check Exceptions

2015-09-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104091 Bug ID: 104091 Summary: [bisected] Starting a VM causes the host to halt and create Machine Check Exceptions Product: Virtualization Version: unspecified Kernel Version: 4.2

[Bug 104091] [bisected] Starting a VM causes the host to halt and create Machine Check Exceptions

2015-09-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104091 --- Comment #2 from Michael Long --- Created attachment 186871 --> https://bugzilla.kernel.org/attachment.cgi?id=186871=edit VM configuration of the VM that is still working -- You are receiving this mail because: You are

Re: [Bug 104091] New: [bisected] Starting a VM causes the host to halt and create Machine Check Exceptions

2015-09-06 Thread Xiao Guangrong
On 09/06/2015 06:03 PM, bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=104091 Bug ID: 104091 Summary: [bisected] Starting a VM causes the host to halt and create Machine Check Exceptions Product:

[Bug 104091] [bisected] Starting a VM causes the host to halt and create Machine Check Exceptions

2015-09-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104091 --- Comment #1 from Michael Long --- Created attachment 186861 --> https://bugzilla.kernel.org/attachment.cgi?id=186861=edit VM configuration of the VM causing the freeze -- You are receiving this mail because: You are

Re: [Research] Number of lines of code

2015-09-06 Thread Xiao Guangrong
On 09/06/2015 05:56 PM, Stefan Geißler wrote: Hi all, Is there reliable information about the number of lines of code in the kvm code base? I already counted virt/kvm from the git://git.kernel.org/pub/scm/virt/kvm/kvm.git repository. But ~7000 LOC seems too little to me. Or is that

[Research] Number of lines of code

2015-09-06 Thread Stefan Geißler
Hi all, Is there reliable information about the number of lines of code in the kvm code base? I already counted virt/kvm from the git://git.kernel.org/pub/scm/virt/kvm/kvm.git repository. But ~7000 LOC seems too little to me. Or is that correct? Thank you in advance! -- To unsubscribe