Re: [PATCH v2] KVM: SVM: Fix reading of DR6

2014-01-02 Thread Paolo Bonzini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 31/12/2013 18:29, Jan Kiszka ha scritto: Also, set_dr7 is only called when !(vcpu-guest_debug KVM_GUESTDBG_USE_HW_BP). I think it makes sense to do the same for all the new hooks you need to introduce (get_dr6, set_dr6 and possibly get_dr7).

[PATCH] kvm: x86: Fix debug typo error in lapic

2014-01-02 Thread Chen Fan
fix the 'vcpi' typos when apic_debug is enabled. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com --- arch/x86/kvm/lapic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index dec48bf..ce736ec 100644 ---

Re: [RFC PATCH v3 1/2] add support for Hyper-V reference time counter

2014-01-02 Thread Peter Lieven
Am 11.12.2013 19:53, schrieb Marcelo Tosatti: On Sun, Dec 08, 2013 at 10:33:38PM +1100, Vadim Rozenfeld wrote: Signed-off: Peter Lieven p...@dlh.net Signed-off: Gleb Natapov g...@redhat.com Signed-off: Vadim Rozenfeld vroze...@redhat.com v1 - v2 1. mark TSC page dirty as suggested by

Re: [PATCH] KVM: nVMX: Unconditionally uninit the MMU on nested vmexit

2014-01-02 Thread Marcelo Tosatti
On Sat, Dec 28, 2013 at 04:31:52PM +0100, Jan Kiszka wrote: Three reasons for doing this: 1. arch.walk_mmu points to arch.mmu anyway in case nested EPT wasn't in use. 2. this aligns VMX with SVM. But 3. is most important: nested_cpu_has_ept(vmcs12) queries the VMCS page, and if one guest VCPU

Re: [PULL 00/15] KVM/{arm,arm64} updates for 3.14

2014-01-02 Thread Marcelo Tosatti
On Sat, Dec 28, 2013 at 11:15:32AM +, Marc Zyngier wrote: Hi Marcelo, Could you please pull the following tag into kvm/next? It contains the long overdue GIC+timer save/restore interface for KVM/arm, and a couple of other less important changes for KVM/arm64. Thanks, M.

Re: [RFC PATCH v3 1/2] add support for Hyper-V reference time counter

2014-01-02 Thread Marcelo Tosatti
On Thu, Jan 02, 2014 at 02:15:48PM +0100, Peter Lieven wrote: Am 11.12.2013 19:53, schrieb Marcelo Tosatti: On Sun, Dec 08, 2013 at 10:33:38PM +1100, Vadim Rozenfeld wrote: Signed-off: Peter Lieven p...@dlh.net Signed-off: Gleb Natapov g...@redhat.com Signed-off: Vadim Rozenfeld

Re: Vhost and vhost-net support for userspace based backends

2014-01-02 Thread Qin Chuanyu
Hi I had saw that user-space vhost is being developed, It is really a great job, I had tried to do same work but failed. I want to do same test for estimating benefit of it. Is there any vhost-api that demo-thread could call? Or Is there any test result that could see? -- To unsubscribe from

Re: [PATCH 2/9] makefile and run_tests tweaks

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:30:03PM -0800, Christoffer Dall wrote: On Wed, Dec 04, 2013 at 05:42:50PM +0100, Andrew Jones wrote: This is a really short commit message, for anyone not super-familiar with the make system in this toolset, it makes it quite hard to understand the change. See

[Bug 68051] Kernel stack trace when attempt to boot kernel BUG at mm/page_alloc.c:2788

2014-01-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=68051 --- Comment #2 from Kashyap Chamarthy kashyap...@gmail.com --- Created attachment 120661 -- https://bugzilla.kernel.org/attachment.cgi?id=120661action=edit Complete stdout of dmidecode -- You are receiving this mail because: You are watching

[Bug 68051] Kernel stack trace when attempt to boot kernel BUG at mm/page_alloc.c:2788

2014-01-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=68051 --- Comment #1 from Kashyap Chamarthy kashyap...@gmail.com --- Created attachment 120651 -- https://bugzilla.kernel.org/attachment.cgi?id=120651action=edit Complete stdout of dmesg -- You are receiving this mail because: You are watching the

[Bug 68051] New: Kernel stack trace when attempt to boot kernel BUG at mm/page_alloc.c:2788

2014-01-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=68051 Bug ID: 68051 Summary: Kernel stack trace when attempt to boot kernel BUG at mm/page_alloc.c:2788 Product: Virtualization Version: unspecified Kernel Version:

[Bug 68051] Kernel stack trace when attempt to boot into 3.13.0-0.rc6.git0.1 results in kernel BUG at mm/page_alloc.c:2788

2014-01-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=68051 Kashyap Chamarthy kashyap...@gmail.com changed: What|Removed |Added Summary|Kernel stack trace when |Kernel stack

Re: [PATCH 4/9] move x86's simple heap management to common code

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:30:24PM -0800, Christoffer Dall wrote: + + if (s != (s ~(pagesize - 1))) { you're just testing 'if (s (pagesize -1))' right? yeah, I'll simplify that. + s += pagesize; + s = ~(pagesize - 1); + p = (void *)s; + } a

RE: VM outperforming host

2014-01-02 Thread Peter Huang
I have experimented a similar problem because of HT, you can try HT disabled in BIOS setting. -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of John Paul Walters Sent: Monday, December 30, 2013 11:59 AM To: kvm@vger.kernel.org Subject: VM

Re: [PATCH 3/9] clean root dir of all x86-ness

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:30:12PM -0800, Christoffer Dall wrote: clean: arch_clean - $(RM) *.o *.a .*.d lib/.*.d $(libcflat) $(cflatobjs) + $(RM) lib/.*.d $(libcflat) $(cflatobjs) so above you're referencing */.*.d and */*/.*.d but in make arch_clean we're only removing

Re: [PATCH 5/9] Introduce libio to common code for io read/write

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:30:35PM -0800, Christoffer Dall wrote: diff --git a/lib/libio.c b/lib/libio.c new file mode 100644 index 0..e450e984fefb1 --- /dev/null +++ b/lib/libio.c @@ -0,0 +1,67 @@ +#include libcflat.h +#include libio.h + +void read_len(const

Re: [PATCH 6/9] Introduce a simple iomap structure

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:30:54PM -0800, Christoffer Dall wrote: +struct iomap { + const char *type; + const char *compats[5]; I would name the field compatible to be more in-line with the DT-representation, but OK. it looks from the above like the array must be null terminated?

Re: [RFC PATCH v3 1/2] add support for Hyper-V reference time counter

2014-01-02 Thread Peter Lieven
Am 02.01.2014 14:57, schrieb Marcelo Tosatti: On Thu, Jan 02, 2014 at 02:15:48PM +0100, Peter Lieven wrote: Am 11.12.2013 19:53, schrieb Marcelo Tosatti: On Sun, Dec 08, 2013 at 10:33:38PM +1100, Vadim Rozenfeld wrote: Signed-off: Peter Lieven p...@dlh.net Signed-off: Gleb Natapov

Re: [PATCH 8/9] Introduce virtio-testdev

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:31:17PM -0800, Christoffer Dall wrote: + +/* + * We have to write all args; nargs, nrets, ... first to + * avoid executing token's operation until all args are in the token's ? ok + * place. Then issue the op, and then read the rets. Reading rets?

Re: [RFC PATCH v3 1/2] add support for Hyper-V reference time counter

2014-01-02 Thread Peter Lieven
Am 11.12.2013 19:59, schrieb Marcelo Tosatti: On Wed, Dec 11, 2013 at 04:53:05PM -0200, Marcelo Tosatti wrote: On Sun, Dec 08, 2013 at 10:33:38PM +1100, Vadim Rozenfeld wrote: Signed-off: Peter Lieven p...@dlh.net Signed-off: Gleb Natapov g...@redhat.com Signed-off: Vadim Rozenfeld

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:31:35PM -0800, Christoffer Dall wrote: On Wed, Dec 04, 2013 at 05:42:57PM +0100, Andrew Jones wrote: This is the initial arm test framework and a first simple test that checks some bootinfo. kvm isn't needed to run this test. This patch also adds a common build

Re: [PATCH 1/3] printf: support field padding

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:31:44PM -0800, Christoffer Dall wrote: + +if (npad 0) { + char pad = props.pad; + if (pad == '0') /* ignore '0' flag with '-' flag */ + pad = ' '; there are only the two options, so you can drop the check if you like. true. removed.

Re: [PATCH 5/9] Introduce libio to common code for io read/write

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 04:47:22PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:30:35PM -0800, Christoffer Dall wrote: diff --git a/lib/libio.c b/lib/libio.c new file mode 100644 index 0..e450e984fefb1 --- /dev/null +++ b/lib/libio.c @@ -0,0 +1,67 @@

Re: [PATCH 4/9] move x86's simple heap management to common code

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 04:17:08PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:30:24PM -0800, Christoffer Dall wrote: + + if (s != (s ~(pagesize - 1))) { you're just testing 'if (s (pagesize -1))' right? yeah, I'll simplify that. + s += pagesize; +

Re: [PATCH 3/9] clean root dir of all x86-ness

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 04:00:17PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:30:12PM -0800, Christoffer Dall wrote: clean: arch_clean - $(RM) *.o *.a .*.d lib/.*.d $(libcflat) $(cflatobjs) + $(RM) lib/.*.d $(libcflat) $(cflatobjs) so above you're referencing */.*.d

Re: [PATCH 2/3] arm: add useful headers from the linux kernel

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:31:58PM -0800, Christoffer Dall wrote: On Fri, Dec 13, 2013 at 11:58:05AM +0100, Andrew Jones wrote: We're going to need PSR bit defines and pt_regs. We'll also need pt_regs offsets in assembly code. This patch adapts the linux kernel's ptrace.h and asm-offsets to

Re: [PATCH 6/9] Introduce a simple iomap structure

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 05:04:48PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:30:54PM -0800, Christoffer Dall wrote: +struct iomap { + const char *type; + const char *compats[5]; I would name the field compatible to be more in-line with the DT-representation, but OK.

Re: [PATCH 1/3] printf: support field padding

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 06:09:48PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:31:44PM -0800, Christoffer Dall wrote: + +if (npad 0) { + char pad = props.pad; + if (pad == '0') /* ignore '0' flag with '-' flag */ + pad = ' '; there are only the two options,

Re: [PATCH 8/9] Introduce virtio-testdev

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 05:16:56PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:31:17PM -0800, Christoffer Dall wrote: + +/* + * We have to write all args; nargs, nrets, ... first to + * avoid executing token's operation until all args are in the token's ? ok

Re: [PATCH 6/9] Introduce a simple iomap structure

2014-01-02 Thread Peter Maydell
On 2 January 2014 16:04, Andrew Jones drjo...@redhat.com wrote: Drat. I've preferred the idea of using the tools to parse the DT during the build - avoiding the need for [cross-compiled] libfdt as a dep, but I guess as we need more and more from the DT, or when particular tests want to look at

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Peter Maydell
On 2 January 2014 16:54, Andrew Jones drjo...@redhat.com wrote: On Sat, Dec 28, 2013 at 10:31:35PM -0800, Christoffer Dall wrote: On Wed, Dec 04, 2013 at 05:42:57PM +0100, Andrew Jones wrote: + andsr3, r8, #CR_B @set BE, if necessary + ldrne r3, =cpu_is_be + movne

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 05:54:25PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:31:35PM -0800, Christoffer Dall wrote: On Wed, Dec 04, 2013 at 05:42:57PM +0100, Andrew Jones wrote: This is the initial arm test framework and a first simple test that checks some bootinfo. kvm isn't

Re: [PATCH 2/3] arm: add useful headers from the linux kernel

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 06:24:10PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:31:58PM -0800, Christoffer Dall wrote: On Fri, Dec 13, 2013 at 11:58:05AM +0100, Andrew Jones wrote: We're going to need PSR bit defines and pt_regs. We'll also need pt_regs offsets in assembly code.

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 05:40:24PM +, Peter Maydell wrote: On 2 January 2014 16:54, Andrew Jones drjo...@redhat.com wrote: On Sat, Dec 28, 2013 at 10:31:35PM -0800, Christoffer Dall wrote: On Wed, Dec 04, 2013 at 05:42:57PM +0100, Andrew Jones wrote: + andsr3, r8, #CR_B

[Bug 68051] Kernel stack trace when attempt to boot into 3.13.0-0.rc6.git0.1 results in kernel BUG at mm/page_alloc.c:2788

2014-01-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=68051 --- Comment #3 from Kashyap Chamarthy kashyap...@gmail.com --- I should add some more context: I noticed this issue when I found an un-killable defunct qemu process (I ended up with it when I tried to force power-off the guest via `virsh`), and I

Re: [PATCH 3/3] arm: vectors support

2014-01-02 Thread Andrew Jones
On Sat, Dec 28, 2013 at 10:32:10PM -0800, Christoffer Dall wrote: On Fri, Dec 13, 2013 at 11:58:06AM +0100, Andrew Jones wrote: Add support for tests to use exception handlers. You are doing a lot more than that it seems. In fact, this is a lot of code to review at one time. I would have

Re: [PATCH 8/9] Introduce virtio-testdev

2014-01-02 Thread Andrew Jones
On Thu, Jan 02, 2014 at 09:27:18AM -0800, Christoffer Dall wrote: On Thu, Jan 02, 2014 at 05:16:56PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:31:17PM -0800, Christoffer Dall wrote: + +/* + * We have to write all args; nargs, nrets, ... first to + * avoid executing

Re: [PATCH 5/9] Introduce libio to common code for io read/write

2014-01-02 Thread Andrew Jones
On Thu, Jan 02, 2014 at 09:19:30AM -0800, Christoffer Dall wrote: How is this going to be used here? The compat ptr stuff in the kernel deals with user space pointer iirc, but I'm not an expert on the details. Does typedef'ing a pointer to a u32 in generic code work on a 64-bit

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Andrew Jones
On Thu, Jan 02, 2014 at 10:09:50AM -0800, Christoffer Dall wrote: On Thu, Jan 02, 2014 at 05:40:24PM +, Peter Maydell wrote: On 2 January 2014 16:54, Andrew Jones drjo...@redhat.com wrote: On Sat, Dec 28, 2013 at 10:31:35PM -0800, Christoffer Dall wrote: On Wed, Dec 04, 2013 at

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Andrew Jones
On Thu, Jan 02, 2014 at 09:44:39AM -0800, Christoffer Dall wrote: My cross-compiler was generating broken code with anything less. I haven't checked later compilers yet to see if it's fixed or not. which GCC version? $ arm-linux-gnu-gcc -v Using built-in specs.

Re: [PATCH 0/9] kvm-unit-tests/arm: initial drop

2014-01-02 Thread Andrew Jones
On Sun, Dec 29, 2013 at 01:24:11AM -0800, Christoffer Dall wrote: On Mon, Oct 14, 2013 at 06:23:26PM +0200, Andrew Jones wrote: Hi Drew, This series introduces arm to kvm-unit-tests. First, it does some tidying up of the repo. Then, it adds support for virtio-testdev, which was just

Re: [PATCH 9/9] arm: initial drop

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 07:50:27PM +0100, Andrew Jones wrote: On Thu, Jan 02, 2014 at 09:44:39AM -0800, Christoffer Dall wrote: My cross-compiler was generating broken code with anything less. I haven't checked later compilers yet to see if it's fixed or not. which GCC version?

Re: [PATCH 6/9] Introduce a simple iomap structure

2014-01-02 Thread Andrew Jones
On Thu, Jan 02, 2014 at 09:23:38AM -0800, Christoffer Dall wrote: On Thu, Jan 02, 2014 at 05:04:48PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:30:54PM -0800, Christoffer Dall wrote: +struct iomap { + const char *type; + const char *compats[5]; I would

Re: IOMMU groups ... PEX8606 switch?

2014-01-02 Thread Alex Williamson
On Mon, 2013-12-30 at 16:13 -0800, Dana Goyette wrote: On 12/29/2013 08:16 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 23:32 -0800, Dana Goyette wrote: On 12/28/2013 7:23 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 18:31 -0800, Dana Goyette wrote: I have purchased both a

Re: [RFC PATCH v3 1/2] add support for Hyper-V reference time counter

2014-01-02 Thread Marcelo Tosatti
On Thu, Jan 02, 2014 at 05:08:07PM +0100, Peter Lieven wrote: Not using irq disable/enable pairs. The subtraction is not dependant on any particular time. local_irq_disable(); now_ns = get_kernel_ns(); local_irq_enable();

Re: [PATCH v5 2/6] KVM: PPC: Book3S: add helper routines to detect endian

2014-01-02 Thread Alexander Graf
On 05.11.2013, at 18:22, Cédric Le Goater c...@fr.ibm.com wrote: They will be used to decide whether to byte-swap or not. When Little Endian host kernels come, these routines will need to be changed accordingly. Signed-off-by: Cédric Le Goater c...@fr.ibm.com ---

Re: [PATCH v5 3/6] KVM: PPC: Book3S: MMIO emulation support for little endian guests

2014-01-02 Thread Alexander Graf
On 05.11.2013, at 18:22, Cédric Le Goater c...@fr.ibm.com wrote: MMIO emulation reads the last instruction executed by the guest and then emulates. If the guest is running in Little Endian mode, the instruction needs to be byte-swapped before being emulated. This patch stores the last

Re: [PATCH v5 4/6] KVM: PPC: Book3S: modify kvmppc_need_byteswap() for little endian host

2014-01-02 Thread Alexander Graf
On 05.11.2013, at 18:22, Cédric Le Goater c...@fr.ibm.com wrote: If the host is in little endian order, there is no need to byte-swap in little endian guests. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- arch/powerpc/include/asm/kvm_book3s.h |4 1 file changed, 4

Re: [PATCH v5 6/6] KVM: PPC: Book3S: modify byte loading when guest uses Split Little Endian

2014-01-02 Thread Alexander Graf
On 05.11.2013, at 18:22, Cédric Le Goater c...@fr.ibm.com wrote: Instruction and data storage accesses are done in opposite order when the Split Little Endian mode is used. This patch modifies the kvmppc_ld32() routine to reverse the byteswap when the guest is in SLE mode. SLE can also

Re: [PATCH v5.1 4/6] KVM: PPC: Book3S: modify kvmppc_need_byteswap() for little endian host

2014-01-02 Thread Alexander Graf
On 08.11.2013, at 15:36, Cedric Le Goater c...@fr.ibm.com wrote: If the host has the same endian order as the guest, there is no need to byte-swap. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- arch/powerpc/include/asm/kvm_book3s.h |4 1 file changed, 4 insertions(+)

Re: [PATCH] KVM: NULL return of kvmppc_mmu_hpte_cache_next should be handled

2014-01-02 Thread Alexander Graf
On 02.12.2013, at 11:21, Zhouyi Zhou zhouzho...@gmail.com wrote: NULL return of kvmppc_mmu_hpte_cache_next should be handled Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn Thanks, applied to kvm-ppc-queue. Alex -- To unsubscribe from this list: send the line unsubscribe kvm in the body

Re: IOMMU groups ... PEX8606 switch?

2014-01-02 Thread Dana Goyette
On 01/02/2014 11:36 AM, Alex Williamson wrote: On Mon, 2013-12-30 at 16:13 -0800, Dana Goyette wrote: On 12/29/2013 08:16 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 23:32 -0800, Dana Goyette wrote: On 12/28/2013 7:23 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 18:31 -0800, Dana

Re: [PATCH 3/3] arm: vectors support

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 07:36:33PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:32:10PM -0800, Christoffer Dall wrote: On Fri, Dec 13, 2013 at 11:58:06AM +0100, Andrew Jones wrote: Add support for tests to use exception handlers. You are doing a lot more than that it seems. In

Re: [PATCH 6/9] Introduce a simple iomap structure

2014-01-02 Thread Christoffer Dall
On Thu, Jan 02, 2014 at 07:40:14PM +0100, Andrew Jones wrote: On Thu, Jan 02, 2014 at 09:23:38AM -0800, Christoffer Dall wrote: On Thu, Jan 02, 2014 at 05:04:48PM +0100, Andrew Jones wrote: On Sat, Dec 28, 2013 at 10:30:54PM -0800, Christoffer Dall wrote: +struct iomap { +

Re: IOMMU groups ... PEX8606 switch?

2014-01-02 Thread Alex Williamson
On Thu, 2014-01-02 at 13:01 -0800, Dana Goyette wrote: On 01/02/2014 11:36 AM, Alex Williamson wrote: On Mon, 2013-12-30 at 16:13 -0800, Dana Goyette wrote: On 12/29/2013 08:16 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 23:32 -0800, Dana Goyette wrote: On 12/28/2013 7:23 PM, Alex

Re: IOMMU groups ... PEX8606 switch?

2014-01-02 Thread Dana Goyette
On 01/02/2014 01:01 PM, Dana Goyette wrote: On 01/02/2014 11:36 AM, Alex Williamson wrote: On Mon, 2013-12-30 at 16:13 -0800, Dana Goyette wrote: On 12/29/2013 08:16 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 23:32 -0800, Dana Goyette wrote: On 12/28/2013 7:23 PM, Alex Williamson

Re: IOMMU groups ... PEX8606 switch?

2014-01-02 Thread Alex Williamson
On Thu, 2014-01-02 at 13:15 -0800, Dana Goyette wrote: On 01/02/2014 01:01 PM, Dana Goyette wrote: On 01/02/2014 11:36 AM, Alex Williamson wrote: On Mon, 2013-12-30 at 16:13 -0800, Dana Goyette wrote: On 12/29/2013 08:16 PM, Alex Williamson wrote: On Sat, 2013-12-28 at 23:32 -0800, Dana

[GIT PULL] KVM fixes for 3.13-rc6

2014-01-02 Thread Marcelo Tosatti
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fixes Jan Kiszka (2): KVM: x86: Fix APIC map calculation after re-enabling KVM: nVMX: Unconditionally uninit the MMU on nested vmexit arch/x86/kvm/lapic.c |8

[RFC PATCHv3 10/11] arm: Use for_each_potential_vmalloc_area

2014-01-02 Thread Laura Abbott
With CONFIG_INTERMIX_VMALLOC it is no longer the case that all vmalloc is contained between VMALLOC_START and VMALLOC_END. Some portions of code still rely on operating on all those regions however. Use for_each_potential_vmalloc_area where appropriate to do whatever is necessary to those regions.

Is it important to specify OS type and Version using virt-manager?

2014-01-02 Thread Peng Yu
Hi, I'm trying archlinux using virt-manager. When I create the veritual machine, it asks OS type and Version, which does not have archlinux in the dropdown list. Why is it important to specify the OS type and Version? For archlinux, should I just select Generic for both OS type and Version?

Re: [PATCH 2/3] kvm/ppc: IRQ disabling cleanup

2014-01-02 Thread Scott Wood
On Sun, 2013-12-29 at 16:43 +0100, Alexander Graf wrote: On 11.07.2013, at 00:47, Scott Wood scottw...@freescale.com wrote: diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index ddfaf56..c13caa0 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++

Re: [PATCH v5 3/6] KVM: PPC: Book3S: MMIO emulation support for little endian guests

2014-01-02 Thread Alexander Graf
On 05.11.2013, at 18:22, Cédric Le Goater c...@fr.ibm.com wrote: MMIO emulation reads the last instruction executed by the guest and then emulates. If the guest is running in Little Endian mode, the instruction needs to be byte-swapped before being emulated. This patch stores the last

Re: [PATCH v5 6/6] KVM: PPC: Book3S: modify byte loading when guest uses Split Little Endian

2014-01-02 Thread Alexander Graf
On 05.11.2013, at 18:22, Cédric Le Goater c...@fr.ibm.com wrote: Instruction and data storage accesses are done in opposite order when the Split Little Endian mode is used. This patch modifies the kvmppc_ld32() routine to reverse the byteswap when the guest is in SLE mode. SLE can also

Re: [PATCH v5.1 4/6] KVM: PPC: Book3S: modify kvmppc_need_byteswap() for little endian host

2014-01-02 Thread Alexander Graf
On 08.11.2013, at 15:36, Cedric Le Goater c...@fr.ibm.com wrote: If the host has the same endian order as the guest, there is no need to byte-swap. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- arch/powerpc/include/asm/kvm_book3s.h |4 1 file changed, 4 insertions(+)

Re: [PATCH] KVM: NULL return of kvmppc_mmu_hpte_cache_next should be handled

2014-01-02 Thread Alexander Graf
On 02.12.2013, at 11:21, Zhouyi Zhou zhouzho...@gmail.com wrote: NULL return of kvmppc_mmu_hpte_cache_next should be handled Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn Thanks, applied to kvm-ppc-queue. Alex -- To unsubscribe from this list: send the line unsubscribe kvm-ppc in the

Re: [PATCH 2/3] kvm/ppc: IRQ disabling cleanup

2014-01-02 Thread Scott Wood
On Sun, 2013-12-29 at 16:43 +0100, Alexander Graf wrote: On 11.07.2013, at 00:47, Scott Wood scottw...@freescale.com wrote: diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index ddfaf56..c13caa0 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++