Re: The status about vhost-net on kvm-arm?

2014-08-12 Thread Eric Auger
On 08/12/2014 04:41 AM, Li Liu wrote: > Hi all, > > Is anyone there can tell the current status of vhost-net on kvm-arm? > > Half a year has passed from Isa Ansharullah asked this question: > http://www.spinics.net/lists/kvm-arm/msg08152.html > > I have found two patches which have provided the

[Bug 82211] New: [Nested xen on kvm] L1 guest panic and reboot when L1 guest boot up.

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=82211 Bug ID: 82211 Summary: [Nested xen on kvm] L1 guest panic and reboot when L1 guest boot up. Product: Virtualization Version: unspecified Kernel Version: 3.16.0 Hardware:

[Bug 82211] [Nested xen on kvm] L1 guest panic and reboot when L1 guest boot up.

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=82211 --- Comment #1 from Zhou, Chao --- the first bad commit is: commit 6addfc42992be4b073c39137ecfdf4b2aa2d487f Author: Paolo Bonzini Date: Thu Mar 27 11:29:28 2014 +0100 KVM: x86: avoid useless set of KVM_REQ_EVENT after emulation Despit

RE: [PATCH 7/7 v3] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-08-12 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, August 12, 2014 5:30 AM > To: Bhushan Bharat-R65777 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; Yoder Stuart- > B08248 > Subject: Re: [PATCH 7/7 v3] KVM: PPC: BOOKE: Emulate debug registers and > except

[Bug 82211] [Nested xen on kvm] L1 guest panic and reboot when L1 guest boot up.

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=82211 --- Comment #2 from Zhou, Chao --- Created attachment 146291 --> https://bugzilla.kernel.org/attachment.cgi?id=146291&action=edit L1 serial log -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe

Re: [PATCH] vhost: Add polling mode

2014-08-12 Thread Michael S. Tsirkin
On Mon, Aug 11, 2014 at 12:46:21PM -0700, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Sun, 10 Aug 2014 21:45:59 +0200 > > > On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladelsky wrote: > ... > > And, did your tests actually produce 100% load on both host CPUs? > ... > > Michael

LPC IOMMU and VFIO MicroConference - Call for Participation

2014-08-12 Thread Joerg Roedel
LPC IOMMU and VFIO MicroConference - Call for Participation === We are pleased to announce that this year there will be the first IOMMU and VFIO MicroConference held at Linux Plumbers Conference in Düsseldorf. An initial request for support o

Re: [PATCH v9 2/4] arm: ARMv7 dirty page logging inital mem region write protect (w/no huge PUD support)

2014-08-12 Thread Christoffer Dall
On Mon, Aug 11, 2014 at 05:16:21PM -0700, Mario Smarduch wrote: > On 08/11/2014 12:12 PM, Christoffer Dall wrote: > > Remove the parenthesis from the subject line. > I just prefer not having the "(w/no huge PUD support)" part in the patch title. > Hmmm have to check this don't see it my patch fi

[Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81841 Joerg Roedel changed: What|Removed |Added CC||j...@8bytes.org --- Comment #12 from Joerg

Re: [PATCH v9 2/4] arm: ARMv7 dirty page logging inital mem region write protect (w/no huge PUD support)

2014-08-12 Thread Christoffer Dall
On Mon, Aug 11, 2014 at 06:36:14PM -0700, Mario Smarduch wrote: > On 08/11/2014 12:12 PM, Christoffer Dall wrote: [...] > >> +/** > >> + * stage2_wp_range() - write protect stage2 memory region range > >> + * @kvm: The KVM pointer > >> + * @start:Start address of range > >> + * &end: En

Re: [PATCH v9 4/4] arm: ARMv7 dirty page logging 2nd stage page fault handling support

2014-08-12 Thread Christoffer Dall
On Mon, Aug 11, 2014 at 06:25:05PM -0700, Mario Smarduch wrote: > On 08/11/2014 12:13 PM, Christoffer Dall wrote: > > On Thu, Jul 24, 2014 at 05:56:08PM -0700, Mario Smarduch wrote: > >> This patch adds support for handling 2nd stage page faults during > >> migration, > >> it disables faulting in

Re: [PATCH 6/7 v3] KVM: PPC: BOOKE: Add one reg interface for DBSR

2014-08-12 Thread Alexander Graf
On 06.08.14 08:38, Bharat Bhushan wrote: Signed-off-by: Bharat Bhushan --- v2->v3 - New patch arch/powerpc/include/uapi/asm/kvm.h | 1 + arch/powerpc/kvm/booke.c| 6 ++ 2 files changed, 7 insertions(+) diff --git a/arch/powerpc/include/uapi/asm/kvm.h b/arch/powerpc/incl

Re: [PATCH 0/7 v3] Guest debug emulation

2014-08-12 Thread Alexander Graf
On 06.08.14 08:38, Bharat Bhushan wrote: This patchset adds debug register and interrupt emulation support for guest, which enables running gdb/kgdb etc in guest. v2->v3 - Added One-reg interface for DBSR - removed arch->shadow_dbg_reg - Addressed some more comments on v2 (detail in indiv

RE: [PATCH 0/7 v3] Guest debug emulation

2014-08-12 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, August 12, 2014 3:55 PM > To: Bhushan Bharat-R65777; kvm-...@vger.kernel.org > Cc: kvm@vger.kernel.org; Wood Scott-B07421; Yoder Stuart-B08248 > Subject: Re: [PATCH 0/7 v3] Guest debug emulation > > > On

[Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81841 --- Comment #13 from Marti Raudsepp --- (In reply to Joerg Roedel from comment #12) > Thanks, Joerg Indeed. Thanks, Joerg. And thanks everyone else too, you have been very helpful! I didn't have v3.13 sources handy, but I applied the attachment

[Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81841 --- Comment #14 from Joerg Roedel --- Hi Marti, > Indeed. Thanks, Joerg. And thanks everyone else too, you have been very > helpful! > > I didn't have v3.13 sources handy, but I applied the attachment 146311 > I can start & shut down the VM mul

Re: [PATCH] vhost: Add polling mode

2014-08-12 Thread Razya Ladelsky
"Michael S. Tsirkin" wrote on 12/08/2014 12:18:50 PM: > From: "Michael S. Tsirkin" > To: David Miller > Cc: Razya Ladelsky/Haifa/IBM@IBMIL, kvm@vger.kernel.org, Alex > Glikson/Haifa/IBM@IBMIL, Eran Raichstein/Haifa/IBM@IBMIL, Yossi > Kuperman1/Haifa/IBM@IBMIL, Joel Nider/Haifa/IBM@IBMIL, > a

E-mail Account Warning !!!

2014-08-12 Thread Account Upgrade
E-mail Account Warning !!! This mail is from Administrator; we wish to bring to your notice the Condition of your email account. We have just noticed that you have exceeded your email Database limit of 500 MB quota and your email IP is causing conflict because it is been accessed in different s

Re: [PATCH v3] powerpc/kvm: support to handle sw breakpoint

2014-08-12 Thread Alexander Graf
On 12.08.14 07:17, Madhavan Srinivasan wrote: On Monday 11 August 2014 02:45 PM, Alexander Graf wrote: On 11.08.14 10:51, Benjamin Herrenschmidt wrote: On Mon, 2014-08-11 at 09:26 +0200, Alexander Graf wrote: diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c index da86d9b..

Re: [PATCH v3] powerpc/kvm: support to handle sw breakpoint

2014-08-12 Thread Madhavan Srinivasan
On Tuesday 12 August 2014 04:49 PM, Alexander Graf wrote: > > On 12.08.14 07:17, Madhavan Srinivasan wrote: >> On Monday 11 August 2014 02:45 PM, Alexander Graf wrote: >>> On 11.08.14 10:51, Benjamin Herrenschmidt wrote: On Mon, 2014-08-11 at 09:26 +0200, Alexander Graf wrote: >> diff --g

Re: [PATCH v3 2/5] KVM: PPC: Book3e: Add AltiVec support

2014-08-12 Thread Alexander Graf
On 05.08.14 12:39, Mihai Caraman wrote: Add KVM Book3e AltiVec support. KVM Book3e FPU support gracefully reuse host infrastructure so follow the same approach for AltiVec. Keep SPE/AltiVec exception handlers distinct using CONFIG_KVM_E500V2. Signed-off-by: Mihai Caraman --- v3: - use disti

Re: [PATCH v3 3/5] KVM: PPC: Move ONE_REG AltiVec support to powerpc

2014-08-12 Thread Alexander Graf
On 05.08.14 12:39, Mihai Caraman wrote: Make ONE_REG AltiVec support common across server and embedded implementations moving kvm_vcpu_ioctl_get_one_reg() and kvm_vcpu_ioctl_set_one_reg() functions to powerpc layer. Signed-off-by: Mihai Caraman Please split this into 2 separate patches, one

Re: [PATCH v3 4/5] KVM: PPC: Booke: Add ONE_REG IVORs support

2014-08-12 Thread Alexander Graf
On 05.08.14 12:39, Mihai Caraman wrote: Add ONE_REG IVORs support, with IVORs 0-15 and 35 booke common. Signed-off-by: Mihai Caraman --- v3: - new patch arch/powerpc/include/uapi/asm/kvm.h | 24 +++ arch/powerpc/kvm/booke.c| 132 arc

Re: [PATCH v3] powerpc/kvm: support to handle sw breakpoint

2014-08-12 Thread Alexander Graf
On 12.08.14 13:35, Madhavan Srinivasan wrote: On Tuesday 12 August 2014 04:49 PM, Alexander Graf wrote: On 12.08.14 07:17, Madhavan Srinivasan wrote: On Monday 11 August 2014 02:45 PM, Alexander Graf wrote: On 11.08.14 10:51, Benjamin Herrenschmidt wrote: On Mon, 2014-08-11 at 09:26 +0200, A

Re: [PATCH v3] powerpc/kvm: support to handle sw breakpoint

2014-08-12 Thread Madhavan Srinivasan
On Tuesday 12 August 2014 05:45 PM, Alexander Graf wrote: > > On 12.08.14 13:35, Madhavan Srinivasan wrote: >> On Tuesday 12 August 2014 04:49 PM, Alexander Graf wrote: >>> On 12.08.14 07:17, Madhavan Srinivasan wrote: On Monday 11 August 2014 02:45 PM, Alexander Graf wrote: > On 11.08.14

[Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81841 --- Comment #15 from Joel Schopp --- > (In reply to Joel Schopp from comment #10) > > > AMD would need to confirm it. > > > > I don't have an answer for you offhand. Let me do some digging and get you > > an answer. > > I am sorry if I sounded

Re: [PATCH 1/1] virtio: rng: add derating factor for use by hwrng core

2014-08-12 Thread H. Peter Anvin
On 08/11/2014 10:27 PM, Amit Shah wrote: > On (Mon) 11 Aug 2014 [15:11:03], H. Peter Anvin wrote: >> On 08/11/2014 11:49 AM, Amit Shah wrote: >>> The khwrngd thread is started when a hwrng device of sufficient >>> quality is registered. The virtio-rng device is backed by the >>> hypervisor, and we

[Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81841 --- Comment #16 from Alex Williamson --- (In reply to Joel Schopp from comment #15) > > (In reply to Joel Schopp from comment #10) > > > > AMD would need to confirm it. > > > > > > I don't have an answer for you offhand. Let me do some digging an

[PATCH v2 1/1] virtio: rng: add derating factor for use by hwrng core

2014-08-12 Thread Amit Shah
The khwrngd thread is started when a hwrng device of sufficient quality is registered. The virtio-rng device is backed by the hypervisor, and we trust the hypervisor to provide real entropy. A malicious hypervisor is a scenario that's irrelevant -- such a setup is bound to cause all sorts of badn

[Bug 81841] amd-iommu: kernel BUG & lockup after shutting down KVM guest using PCI passthrough/PCIe bridge

2014-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81841 --- Comment #17 from Marti Raudsepp --- It's an ASRock FM2A88X Extreme6+ motherboard with the AMD A88X (Bolton-D4) chipset. There are 12 IOMMU groups on the system. The problematic group for me is number 9 because the legacy PCI bridge (14.4) get

Re: The status about vhost-net on kvm-arm?

2014-08-12 Thread Nikolay Nikolaev
Hello, On Tue, Aug 12, 2014 at 5:41 AM, Li Liu wrote: > > Hi all, > > Is anyone there can tell the current status of vhost-net on kvm-arm? > > Half a year has passed from Isa Ansharullah asked this question: > http://www.spinics.net/lists/kvm-arm/msg08152.html > > I have found two patches which

Re: [PATCH v4] arm64: fix VTTBR_BADDR_MASK

2014-08-12 Thread Christoffer Dall
On Mon, Aug 11, 2014 at 03:38:23PM -0500, Joel Schopp wrote: > The current VTTBR_BADDR_MASK only masks 39 bits, which is broken on current > systems. Rather than just add a bit it seems like a good time to also set > things at run-time instead of compile time to accomodate more hardware. > > This

Re: [Qemu-devel] [PATCH] Qemu: Fix eax for cpuid leaf 0x40000000

2014-08-12 Thread Eduardo Habkost
On Wed, Jun 04, 2014 at 03:17:56AM -0400, Jidong Xiao wrote: > On Wed, Jun 4, 2014 at 3:09 AM, Paolo Bonzini wrote: > > Il 04/06/2014 03:10, Jidong Xiao ha scritto: > > > >> diff --git a/qemu-2.0.0/target-i386/kvm.c.orig > >> b/qemu-2.0.0/target-i386/kvm.c > >> index 4389959..b8b282d 100644 > >> -

Re: [Qemu-devel] [PATCH] Qemu: Fix eax for cpuid leaf 0x40000000

2014-08-12 Thread Paolo Bonzini
Il 12/08/2014 20:55, Eduardo Habkost ha scritto: > This makes the CPUID data change under the guest's feet during > live-migration. > > Adding compat code to ensure older machine-types keep the old behavior > is necessary, but in this specific case it is mostly harmless because > 0x0 is documented

Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm

2014-08-12 Thread Andy Lutomirski
On Wed, Jul 23, 2014 at 9:57 PM, Andy Lutomirski wrote: > This introduces and uses a very simple synchronous mechanism to get > /dev/urandom-style bits appropriate for initial KVM PV guest RNG > seeding. > > It also re-works the way that architectural random data is fed into > random.c's pools. I

Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm

2014-08-12 Thread Theodore Ts'o
On Tue, Aug 12, 2014 at 12:11:29PM -0700, Andy Lutomirski wrote: > > What's the status of this series? I assume that it's too late for at > least patches 2-5 to make it into 3.17. Which tree were you hoping this patch series to go through? I was assuming it would go through the x86 tree since t

Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm

2014-08-12 Thread Andy Lutomirski
On Tue, Aug 12, 2014 at 12:17 PM, Theodore Ts'o wrote: > On Tue, Aug 12, 2014 at 12:11:29PM -0700, Andy Lutomirski wrote: >> >> What's the status of this series? I assume that it's too late for at >> least patches 2-5 to make it into 3.17. > > Which tree were you hoping this patch series to go th

Re: [Qemu-devel] [PATCH] Qemu: Fix eax for cpuid leaf 0x40000000

2014-08-12 Thread Eduardo Habkost
On Tue, Aug 12, 2014 at 09:12:00PM +0200, Paolo Bonzini wrote: > Il 12/08/2014 20:55, Eduardo Habkost ha scritto: > > This makes the CPUID data change under the guest's feet during > > live-migration. > > > > Adding compat code to ensure older machine-types keep the old behavior > > is necessary,

Logging Information

2014-08-12 Thread Shiva V
Hello, I am exploring ideas for clients in cloud to be able to implement functions where there could verify the services offered by the cloud provider like metering services. Idea is I am using the concept of write execute protection scheme. And also I am using TamperEvident Log. I am making u

Re: [PATCH 7/7 v3] KVM: PPC: BOOKE: Emulate debug registers and exception

2014-08-12 Thread Scott Wood
On Tue, 2014-08-12 at 02:36 -0500, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, August 12, 2014 5:30 AM > > To: Bhushan Bharat-R65777 > > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; Yoder > > Stuart- > > B08248 >

Re: [PATCH v9 2/4] arm: ARMv7 dirty page logging inital mem region write protect (w/no huge PUD support)

2014-08-12 Thread Mario Smarduch
On 08/12/2014 02:36 AM, Christoffer Dall wrote: > On Mon, Aug 11, 2014 at 06:36:14PM -0700, Mario Smarduch wrote: >> On 08/11/2014 12:12 PM, Christoffer Dall wrote: > > [...] > +/** + * stage2_wp_range() - write protect stage2 memory region range + * @kvm: The KVM pointer + *

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-12 Thread David Matlack
On Mon, Aug 11, 2014 at 10:02 PM, Xiao Guangrong wrote: > @@ -722,9 +719,10 @@ static struct kvm_memslots *install_new_memslots(struct > kvm *kvm, > { > struct kvm_memslots *old_memslots = kvm->memslots; > I think you want slots->generation = old_memslots->generation; here. On the

Re: [PATCH v9 2/4] arm: ARMv7 dirty page logging inital mem region write protect (w/no huge PUD support)

2014-08-12 Thread Mario Smarduch
On 08/12/2014 02:32 AM, Christoffer Dall wrote: > On Mon, Aug 11, 2014 at 05:16:21PM -0700, Mario Smarduch wrote: >> On 08/11/2014 12:12 PM, Christoffer Dall wrote: >>> Remove the parenthesis from the subject line. >> > > I just prefer not having the "(w/no huge PUD support)" part in the patch > t

EPT Accessed bit

2014-08-12 Thread Umesh Deshpande
Hi, >From the Intel processor manual I read that accessed bit has been introduced in EPT. The Redhat 6 release notes mention that "Extended Page Table age bits enables a host to make smarter choices for swapping memory under memory pressure". I couldn't find any related patches on KVM or LKML. I

Re: [PATCH v9 4/4] arm: ARMv7 dirty page logging 2nd stage page fault handling support

2014-08-12 Thread Mario Smarduch
On 08/12/2014 02:50 AM, Christoffer Dall wrote: > On Mon, Aug 11, 2014 at 06:25:05PM -0700, Mario Smarduch wrote: >> On 08/11/2014 12:13 PM, Christoffer Dall wrote: >>> On Thu, Jul 24, 2014 at 05:56:08PM -0700, Mario Smarduch wrote: This patch adds support for handling 2nd stage page faults du

Re: The status about vhost-net on kvm-arm?

2014-08-12 Thread Li Liu
On 2014/8/12 15:29, Eric Auger wrote: > On 08/12/2014 04:41 AM, Li Liu wrote: >> Hi all, >> >> Is anyone there can tell the current status of vhost-net on kvm-arm? >> >> Half a year has passed from Isa Ansharullah asked this question: >> http://www.spinics.net/lists/kvm-arm/msg08152.html >> >> I

Re: The status about vhost-net on kvm-arm?

2014-08-12 Thread Li Liu
On 2014/8/12 23:47, Nikolay Nikolaev wrote: > Hello, > > > On Tue, Aug 12, 2014 at 5:41 AM, Li Liu wrote: >> >> Hi all, >> >> Is anyone there can tell the current status of vhost-net on kvm-arm? >> >> Half a year has passed from Isa Ansharullah asked this question: >> http://www.spinics.net/li

Re: EPT Accessed bit

2014-08-12 Thread Wanpeng Li
Hi Umesh, On Tue, Aug 12, 2014 at 08:07:48PM -0500, Umesh Deshpande wrote: >Hi, > >>From the Intel processor manual I read that accessed bit has been >introduced in EPT. The Redhat 6 release notes mention that "Extended >Page Table age bits enables a host to make smarter choices for >swapping memor

[PATCH] PC, KVM, CMA: Fix regression caused by wrong get_order() use

2014-08-12 Thread Alexey Kardashevskiy
fc95ca7284bc54953165cba76c3228bd2cdb9591 claims that there is no functional change but this is not true as it calls get_order() (which takes bytes) where it should have called ilog2() and the kernel stops on VM_BUG_ON(). This replaces get_order() with ilog2(). Suggested-by: Paul Mackerras Cc: Al