Here I'm less certain what the best approach is. As you point out,
there's an inconsistency that I agree should be fixed. I wonder however
whether an approach similar to 3/6 for KVM only would be better? I.e.,
have VMX as a sometimes-KVM-supported feature be listed in the model and
filter it
On Tue, 28 Oct 2014 16:22:54 +0100
Greg Kurz gk...@linux.vnet.ibm.com wrote:
On Tue, 7 Oct 2014 16:40:03 +0200
Cornelia Huck cornelia.h...@de.ibm.com wrote:
Handle endianness conversion for virtio-1 virtqueues correctly.
Note that dataplane now needs to be built per-target.
It
Hi Michael,
Following the polling patch thread:
http://marc.info/?l=kvmm=140853271510179w=2,
I changed poll_stop_idle to be counted in micro seconds, and carried out
experiments using varying sizes of this value. The setup for netperf
consisted of
1 vm and 1 vhost , each running on
On 2014/10/30 1:46, Andrea Arcangeli wrote:
Hi Zhanghailiang,
On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote:
Hi Andrea,
Thanks for your hard work on userfault;)
This is really a useful API.
I want to confirm a question:
Can we support distinguishing between writing and
On Wed, 22 Oct 2014 15:34:06 -0700
Mario Smarduch m.smard...@samsung.com wrote:
This patch adds support for architecture implemented VM TLB flush, currently
ARMv7 defines HAVE_KVM_ARCH_TLB_FLUSH_ALL. This leaves other architectures
unaffected using the generic version. In subsequent patch
Am 23.10.2014 00:34, schrieb Mario Smarduch:
This patch series introduces dirty page logging for ARMv7 and adds some
degree
of generic dirty logging support for x86, armv7 and later armv8.
I implemented Alex's suggestion after he took a look at the patches at kvm
forum to simplify the
Zhang Haoyu zhan...@sangfor.com wrote on 30/10/2014 01:30:08 PM:
From: Zhang Haoyu zhan...@sangfor.com
To: Razya Ladelsky/Haifa/IBM@IBMIL, mst m...@redhat.com
Cc: Razya Ladelsky/Haifa/IBM@IBMIL, kvm kvm@vger.kernel.org
Date: 30/10/2014 01:30 PM
Subject: Re: Benchmarking for vhost polling
On Wed, 22 Oct 2014 15:34:07 -0700
Mario Smarduch m.smard...@samsung.com wrote:
This patch defines KVM_GENERIC_DIRTYLOG, and moves dirty log read function
to it's own file virt/kvm/dirtylog.c. x86 is updated to use the generic
dirty log interface, selecting KVM_GENERIC_DIRTYLOG in its Kconfig
On 29/10/14 05:19, Andy Lutomirski wrote:
CPUID leaf 4F02H: miscellaneous features
[...]
### CommonHV RNG
If CPUID.4F02H.EAX is nonzero, then it contains an MSR index used to
communicate with a hypervisor random number generator. This
On 10/30/2014 01:21 PM, David Vrabel wrote:
I would add:
If the hypervisor's pool of random data is exhausted, it MAY
return 0. The hypervisor MUST provide at least 4 (?) non-zero
numbers to each guest.
Mandating non-zero numbers sounds like a bad idea. Just use the RNG
for what it
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
On 2014/10/30 1:46, Andrea Arcangeli wrote:
Hi Zhanghailiang,
On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote:
Hi Andrea,
Thanks for your hard work on userfault;)
This is really a useful API.
I want to confirm a
We mirror a subset of these registers in separate variables.
Using them directly should be faster.
Signed-off-by: Radim Krčmář rkrc...@redhat.com
---
arch/x86/kvm/lapic.c | 10 +++---
arch/x86/kvm/lapic.h | 6 +++---
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git
APICv traps register writes, so we can't retrieve previous value and
omit timer cancelation when mode changes.
timer_mode_mask shouldn't be changing as it depends on cpuid.
Signed-off-by: Radim Krčmář rkrc...@redhat.com
---
#define assign(a, b) (a == b ? false : (a = b, true))
APICv traps register writes, so we can't retrieve previous value, but
our code depends on detecting changes.
Apart from disabling APIC register virtualization, we can detect the
change by using extra memory. One value history is enough, but we still
don't want to keep it for every APIC register,
APICv traps register writes, so we can't retrieve previous value.
(A bit of blame on Intel.)
This caused a migration bug: LAPIC is enabled, so our restore code
correctly lowers apic_sw_enabled, but doesn't increase it after APICv is
disabled, so we get below zero when freeing it; resulting in
Adding the bhyve guys.
El 29/10/14 a les 6.19, Andy Lutomirski ha escrit:
Here's a draft CommonHV spec. It's also on github:
https://github.com/amluto/CommonHV
So far, this provides a two-way RNG interface, a way to detect it, and
a way to detect other hypervisor leaves. The latter is
On Thu, Oct 30, 2014 at 5:21 AM, David Vrabel david.vra...@citrix.com wrote:
On 29/10/14 05:19, Andy Lutomirski wrote:
CPUID leaf 4F02H: miscellaneous features
[...]
### CommonHV RNG
If CPUID.4F02H.EAX is nonzero, then it contains an MSR
On Thu, 2014-10-30 at 07:45 -0700, Andy Lutomirski wrote:
Xen does not have a continual source of entropy and the only feasible
way is for the toolstack to provide each guest with a fixed size pool of
random data during guest creation.
Xen could seed a very simple per-guest DRBG at
This first patch of this series fixes a bug caused by attempting
to use spinlocks without enabling the MMU. The next three do some
prep for the fifth, and also fix arm's PAGE_ALIGN. The fifth is
prep for the sixth, which finally turns the MMU on for arm unit
tests.
Andrew Jones (6):
arm: fix
Cubietruck seems to be more sensitive than my Midway when
attempting to use [ldr|str]ex instructions without caches
enabled (mmu disabled). Fix this by making the spinlock
implementation (currently the only user of *ex instructions)
conditional on the mmu being enabled.
Signed-off-by: Andrew
Signed-off-by: Andrew Jones drjo...@redhat.com
---
lib/arm/asm/page.h | 22 +++
lib/arm/asm/pgtable-hwdef.h | 65 +
2 files changed, 87 insertions(+)
create mode 100644 lib/arm/asm/pgtable-hwdef.h
diff --git a/lib/arm/asm/page.h
Add a type-considerate ALIGN[_UP] macro to libcflat, and apply
it to /lib code that can make use of it. This will be used to
fix PAGE_ALIGN on arm, which can be used on phys_addr_t
addresses, which may exceed 32 bits.
Signed-off-by: Andrew Jones drjo...@redhat.com
---
lib/alloc.c| 4
This fixes PAGE_ALIGN for greater than 32-bit addresses.
Also fix up some whitespace in lib/arm/asm/page.h
Signed-off-by: Andrew Jones drjo...@redhat.com
---
lib/arm/asm/page.h | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/lib/arm/asm/page.h
And apply it to /lib files. This prepares for the import of
kernel headers that make use of the const.h macros.
Signed-off-by: Andrew Jones drjo...@redhat.com
---
lib/asm-generic/page.h | 8 +++-
lib/const.h| 11 +++
2 files changed, 14 insertions(+), 5 deletions(-)
We should probably always run with the mmu on, so let's
enable it from setup with an identity map.
Signed-off-by: Andrew Jones drjo...@redhat.com
---
arm/cstart.S | 33
config/config-arm.mak | 3 ++-
lib/arm/asm/mmu.h | 34
On Fri, Sep 26, 2014 at 09:51:15AM +0200, Christoffer Dall wrote:
On Tue, Sep 16, 2014 at 08:57:31AM -0400, Andrew Jones wrote:
- Original Message -
Il 16/09/2014 14:43, Andrew Jones ha scritto:
I don't think we need to worry about this case. AFAIU, enabling the
caches
Hi,
I've got a warning with the latest Linus tree like below:
[ INFO: suspicious RCU usage. ]
3.18.0-rc2-test2+ #70 Not tainted
---
include/linux/kvm_host.h:474 suspicious rcu_dereference_check() usage!
other info that might help us debug this:
rcu_scheduler_active
On Tue, 28 Oct 2014 06:43:29 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Fri, Oct 24, 2014 at 10:38:39AM +0200, Cornelia Huck wrote:
On Fri, 24 Oct 2014 00:42:20 +0300
Michael S. Tsirkin m...@redhat.com wrote:
On Tue, Oct 07, 2014 at 04:39:56PM +0200, Cornelia Huck wrote:
On Tue, 28 Oct 2014 16:40:18 +0100
Greg Kurz gk...@linux.vnet.ibm.com wrote:
On Tue, 7 Oct 2014 16:40:01 +0200
Cornelia Huck cornelia.h...@de.ibm.com wrote:
Introduce a helper function to indicate whether a virtio device is
operating in legacy or virtio standard mode.
It may be
On 10/30/2014 05:14 AM, Cornelia Huck wrote:
On Wed, 22 Oct 2014 15:34:07 -0700
Mario Smarduch m.smard...@samsung.com wrote:
This patch defines KVM_GENERIC_DIRTYLOG, and moves dirty log read function
to it's own file virt/kvm/dirtylog.c. x86 is updated to use the generic
dirty log
On 10/30/2014 05:11 AM, Christian Borntraeger wrote:
Am 23.10.2014 00:34, schrieb Mario Smarduch:
This patch series introduces dirty page logging for ARMv7 and adds some
degree
of generic dirty logging support for x86, armv7 and later armv8.
I implemented Alex's suggestion after he took a
On Thu, Oct 30, 2014 at 9:44 AM, Takashi Iwai ti...@suse.de wrote:
Hi,
I've got a warning with the latest Linus tree like below:
[ INFO: suspicious RCU usage. ]
3.18.0-rc2-test2+ #70 Not tainted
---
include/linux/kvm_host.h:474 suspicious rcu_dereference_check()
On Thu, 30 Oct 2014 19:02:01 +0100
Cornelia Huck cornelia.h...@de.ibm.com wrote:
On Tue, 28 Oct 2014 16:40:18 +0100
Greg Kurz gk...@linux.vnet.ibm.com wrote:
On Tue, 7 Oct 2014 16:40:01 +0200
Cornelia Huck cornelia.h...@de.ibm.com wrote:
Introduce a helper function to indicate
Herbert Xu herb...@gondor.apana.org.au writes:
On Thu, Sep 18, 2014 at 08:37:45PM +0800, Amos Kong wrote:
From: Rusty Russell ru...@rustcorp.com.au
The previous patch added one potential problem: we can still be
reading from a hwrng when it's unregistered. Add a wait for zero
in the
On 2014/10/30 20:49, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
On 2014/10/30 1:46, Andrea Arcangeli wrote:
Hi Zhanghailiang,
On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote:
Hi Andrea,
Thanks for your hard work on userfault;)
This
On Thu, Oct 30, 2014 at 05:44:48PM +0100, Takashi Iwai wrote:
Hi,
I've got a warning with the latest Linus tree like below:
[ INFO: suspicious RCU usage. ]
3.18.0-rc2-test2+ #70 Not tainted
---
include/linux/kvm_host.h:474 suspicious rcu_dereference_check() usage!
Hi Michael,
Following the polling patch thread: http://marc.info/?
l=kvmm=140853271510179w=2,
I changed poll_stop_idle to be counted in micro seconds, and carried
out
experiments using varying sizes of this value. The setup for
netperf consisted of
1 vm and 1 vhost , each
On Thu, Oct 30, 2014 at 07:31:48PM +0800, zhanghailiang wrote:
On 2014/10/30 1:46, Andrea Arcangeli wrote:
On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote:
I want to confirm a question:
Can we support distinguishing between writing and reading memory for
userfault?
That is, we
On 2014/10/31 10:23, Peter Feiner wrote:
On Thu, Oct 30, 2014 at 07:31:48PM +0800, zhanghailiang wrote:
On 2014/10/30 1:46, Andrea Arcangeli wrote:
On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote:
I want to confirm a question:
Can we support distinguishing between writing and
The srcu read lock must be held while accessing memslots (e.g.
when using gfn_to_* functions), however, commit c24ae0dcd3e8
(kvm: x86: Unpin and remove kvm_arch-apic_access_page) call
gfn_to_page() in kvm_vcpu_reload_apic_access_page() w/o hold it
which leads to suspicious
On 2014/10/31 11:29, zhanghailiang wrote:
On 2014/10/31 10:23, Peter Feiner wrote:
On Thu, Oct 30, 2014 at 07:31:48PM +0800, zhanghailiang wrote:
On 2014/10/30 1:46, Andrea Arcangeli wrote:
On Mon, Oct 27, 2014 at 05:32:51PM +0800, zhanghailiang wrote:
I want to confirm a question:
Can we
On Thu, Oct 30, 2014 at 9:38 PM, zhanghailiang
zhang.zhanghaili...@huawei.com wrote:
On 2014/10/31 11:29, zhanghailiang wrote:
On 2014/10/31 10:23, Peter Feiner wrote:
On Thu, Oct 30, 2014 at 07:31:48PM +0800, zhanghailiang wrote:
On 2014/10/30 1:46, Andrea Arcangeli wrote:
On Mon, Oct
On 2014/10/31 12:33, Wanpeng Li wrote:
The srcu read lock must be held while accessing memslots (e.g.
when using gfn_to_* functions), however, commit c24ae0dcd3e8
(kvm: x86: Unpin and remove kvm_arch-apic_access_page) call
gfn_to_page() in kvm_vcpu_reload_apic_access_page() w/o hold it
which
On Wed, 22 Oct 2014 15:34:06 -0700
Mario Smarduch m.smard...@samsung.com wrote:
This patch adds support for architecture implemented VM TLB flush, currently
ARMv7 defines HAVE_KVM_ARCH_TLB_FLUSH_ALL. This leaves other architectures
unaffected using the generic version. In subsequent patch
Am 23.10.2014 00:34, schrieb Mario Smarduch:
This patch series introduces dirty page logging for ARMv7 and adds some
degree
of generic dirty logging support for x86, armv7 and later armv8.
I implemented Alex's suggestion after he took a look at the patches at kvm
forum to simplify the
On Wed, 22 Oct 2014 15:34:07 -0700
Mario Smarduch m.smard...@samsung.com wrote:
This patch defines KVM_GENERIC_DIRTYLOG, and moves dirty log read function
to it's own file virt/kvm/dirtylog.c. x86 is updated to use the generic
dirty log interface, selecting KVM_GENERIC_DIRTYLOG in its Kconfig
On 10/30/2014 05:14 AM, Cornelia Huck wrote:
On Wed, 22 Oct 2014 15:34:07 -0700
Mario Smarduch m.smard...@samsung.com wrote:
This patch defines KVM_GENERIC_DIRTYLOG, and moves dirty log read function
to it's own file virt/kvm/dirtylog.c. x86 is updated to use the generic
dirty log
On 10/30/2014 05:11 AM, Christian Borntraeger wrote:
Am 23.10.2014 00:34, schrieb Mario Smarduch:
This patch series introduces dirty page logging for ARMv7 and adds some
degree
of generic dirty logging support for x86, armv7 and later armv8.
I implemented Alex's suggestion after he took a
48 matches
Mail list logo