On 06/03/2013 07:10 AM, Raghavendra K T wrote:
On 06/02/2013 09:50 PM, Jiannan Ouyang wrote:
On Sun, Jun 2, 2013 at 1:07 AM, Gleb Natapov g...@redhat.com wrote:
High level question here. We have a big hope for Preemptable Ticket
Spinlock patch series by Jiannan Ouyang to solve most, if not
Il 02/06/2013 17:05, Gleb Natapov ha scritto:
Anthony requested that patches be made that generate the ACPI tables
in QEMU for the upcoming hotplug work, so that they could be evaluated
to see if they truly do need to live in QEMU or if the code could live
in the firmware. There were no
Il 02/06/2013 20:12, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 04:35:55PM +0200, Paolo Bonzini wrote:
The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.
This fixes another bug in the boot of RHEL5.9 64-bit, but it is still
not enough.
Did I
Il 02/06/2013 17:32, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 07:43:07PM +0200, Paolo Bonzini wrote:
This patch includes two fixes for SB:
* the 3rd fixed counter (ref cpu cycles) can sometimes report
less than the number of iterations
Is it documented? It is strange for
Il 02/06/2013 17:33, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 07:47:18PM +0200, Paolo Bonzini wrote:
This patch includes two fixes for SB:
* the 3rd fixed counter (ref cpu cycles) can sometimes report
less than the number of iterations
* there is an 8th counter which causes out of
On Mon, Jun 03, 2013 at 08:33:13AM +0200, Paolo Bonzini wrote:
Il 02/06/2013 17:32, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 07:43:07PM +0200, Paolo Bonzini wrote:
This patch includes two fixes for SB:
* the 3rd fixed counter (ref cpu cycles) can sometimes report
less than the
On Mon, Jun 03, 2013 at 08:35:21AM +0200, Paolo Bonzini wrote:
Il 02/06/2013 17:33, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 07:47:18PM +0200, Paolo Bonzini wrote:
This patch includes two fixes for SB:
* the 3rd fixed counter (ref cpu cycles) can sometimes report
less than the
On Fri, May 31, 2013 at 04:52:18PM +0800, Xiao Guangrong wrote:
Luiz Capitulino reported that guest refused to boot and qemu
complained with:
kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument
It is caused by commit 235e8982ad that did double free for the memslot
so
Il 03/06/2013 08:38, Gleb Natapov ha scritto:
On Mon, Jun 03, 2013 at 08:33:13AM +0200, Paolo Bonzini wrote:
Il 02/06/2013 17:32, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 07:43:07PM +0200, Paolo Bonzini wrote:
This patch includes two fixes for SB:
* the 3rd fixed counter (ref cpu
On Sun, Jun 2, 2013 at 2:43 AM, Michael S. Tsirkin m...@redhat.com wrote:
On Fri, May 31, 2013 at 01:45:55PM +0200, Laszlo Ersek wrote:
On 05/31/13 09:09, Jordan Justen wrote:
Why is updating the ACPI tables in seabios viewed as such a burden?
Either qemu does it, or seabios... (And, OVMF
On Mon, Jun 03, 2013 at 09:08:46AM +0200, Paolo Bonzini wrote:
Il 03/06/2013 08:38, Gleb Natapov ha scritto:
On Mon, Jun 03, 2013 at 08:33:13AM +0200, Paolo Bonzini wrote:
Il 02/06/2013 17:32, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 07:43:07PM +0200, Paolo Bonzini wrote:
This
Il 03/06/2013 09:38, Gleb Natapov ha scritto:
Turbo boost could also contribute to lowering the number of cycles; a
boosted processor has ref cpu cycles that are _longer_ than the regular
cycles (thus they count in smaller numbers). Maybe that's why core
cycles didn't go below N.
core
Il 28/05/2013 12:44, Paolo Bonzini ha scritto:
Il 27/05/2013 18:42, Cornelia Huck ha scritto:
Providing a devname:kvm module alias enables automatic loading of
the kvm module when /dev/kvm is opened.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm/kvm-s390.c | 9
On Mon, Jun 03, 2013 at 08:27:57AM +0200, Paolo Bonzini wrote:
Il 02/06/2013 20:12, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 04:35:55PM +0200, Paolo Bonzini wrote:
The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.
This fixes another bug
Il 03/06/2013 10:04, Gleb Natapov ha scritto:
On Mon, Jun 03, 2013 at 08:27:57AM +0200, Paolo Bonzini wrote:
Il 02/06/2013 20:12, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 04:35:55PM +0200, Paolo Bonzini wrote:
The x86-64 extended low-byte registers were fetched correctly from reg,
but
On Thu, May 30, 2013 at 01:22:39PM +0200, Paolo Bonzini wrote:
This is encountered when booting RHEL5.9 64-bit. There is another bug
after this one that is not a simple emulation failure, but this one lets
the boot proceed a bit.
Cc: sta...@vger.kernel.org # 3.9
Signed-off-by: Paolo
On Thu, May 30, 2013 at 04:35:55PM +0200, Paolo Bonzini wrote:
The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.
This fixes another bug in the boot of RHEL5.9 64-bit, but it is still
not enough.
Cc: gnata...@redhat.com
Cc: kvm@vger.kernel.org
On Thu, May 30, 2013 at 07:47:18PM +0200, Paolo Bonzini wrote:
This patch includes two fixes for SB:
* the 3rd fixed counter (ref cpu cycles) can sometimes report
less than the number of iterations
* there is an 8th counter which causes out of bounds accesses
to gp_event or
On Wed, May 22, 2013 at 12:57:35PM +0800, Amos Kong wrote:
I try to hotplug 28 * 8 multiple-function devices to guest with
old host kernel, ioeventfds in host kernel will be exhausted, then
qemu fails to allocate ioeventfds for blk/nic devices.
It's better to add detail error here.
On Fri, May 31, 2013 at 11:10:24AM -0300, Targino SIlveira wrote:
I have an server with only one NIC, this NIC has a Public IP, this
server is locate in a data center, I can't have more than one, but I
can have many IP's, so I would like to know if I can redirect
packages from virtual
On Mon, Jun 03, 2013 at 09:56:15AM +0930, Rusty Russell wrote:
Michael S. Tsirkin m...@redhat.com writes:
On Thu, May 30, 2013 at 08:53:45AM -0500, Anthony Liguori wrote:
Rusty Russell ru...@rustcorp.com.au writes:
Anthony Liguori aligu...@us.ibm.com writes:
Forcing a guest driver
On Thu, May 30, 2013 at 05:34:21PM +0200, Paolo Bonzini wrote:
Il 30/05/2013 16:35, Paolo Bonzini ha scritto:
The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.
This fixes another bug in the boot of RHEL5.9 64-bit, but it is still
not enough.
https://bugzilla.kernel.org/show_bug.cgi?id=58921
Nadav Har'El n...@math.technion.ac.il changed:
What|Removed |Added
CC|
Il 03/06/2013 12:25, Gleb Natapov ha scritto:
On Thu, May 30, 2013 at 05:34:21PM +0200, Paolo Bonzini wrote:
Il 30/05/2013 16:35, Paolo Bonzini ha scritto:
The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.
This fixes another bug in the boot of
When using KVM, use the kernel's initial state to set up the
cpreg list, and sync to and from the kernel when doing
migration.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
target-arm/Makefile.objs |1 +
target-arm/kvm-stub.c| 23 +++
target-arm/kvm.c | 164
Since the ARM KVM API doesn't include a reset this VCPU
ioctl, we have to capture the initial values of every
register it knows about so that we can reset the VCPU
by feeding those values back again.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
target-arm/cpu-qom.h |6 +-
For reading and writing register values from the kernel for KVM,
we need to provide accessor functions which are guaranteed to succeed
and don't impose access checks, mask out unwritable bits, etc.
Define new fields raw_readfn and raw_writefn for this purpose;
these only need to be provided if
This patch series overhauls how we handle ARM coprocessor registers,
so that we use a consistent approach for migration, reset and
QEMU-KVM synchronisation, driven by the kernel's list of supported
registers.
The basic principle here is that we trust the kernel's list of what
registers it knows
Relax the is this a valid ARMCPRegInfo type value? check to permit
special cpregs to have flags other than ARM_CP_SPECIAL set. At
the moment none of the other flags are relevant for special regs,
but the migration related flag we're about to introduce can apply
here too.
Signed-off-by: Peter
Convert the TCG ARM target to using an (index,value) list for migrating
coprocessors. The primary benefit of the (index,value) list is for
passing state between KVM and QEMU, but it works for TCG-to-TCG
migration as well and is a useful self-contained first step.
Signed-off-by: Peter Maydell
Mark up coprocessor register definitions to add raw access
functions or mark the register as non-migratable where necessary.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
target-arm/helper.c | 140 ++-
1 file changed, 94 insertions(+),
Use the tuple list of cp registers for syncing KVM state to QEMU,
rather than only syncing a very minimal set by hand.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
target-arm/kvm.c | 103 +-
1 file changed, 33 insertions(+), 70
On Sun, Jun 02, 2013 at 12:52:09AM +0530, Raghavendra K T wrote:
x86/ticketlock: Don't inline _spin_unlock when using paravirt spinlocks
From: Raghavendra K T raghavendra...@linux.vnet.ibm.com
The code size expands somewhat, and its better to just call
a function rather than inline it.
On Sun, Jun 02, 2013 at 12:52:29AM +0530, Raghavendra K T wrote:
x86/ticketlock: Collapse a layer of functions
From: Jeremy Fitzhardinge jeremy.fitzhardi...@citrix.com
Now that the paravirtualization layer doesn't exist at the spinlock
level any more, we can collapse the __ticket_
On Thu, May 30, 2013 at 7:34 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 30/05/2013 17:34, Paolo Bonzini ha scritto:
Il 30/05/2013 16:35, Paolo Bonzini ha scritto:
The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.
This fixes another bug in the
On Sun, Jun 02, 2013 at 12:54:02AM +0530, Raghavendra K T wrote:
x86/pvticketlock: When paravirtualizing ticket locks, increment by 2
From: Jeremy Fitzhardinge jeremy.fitzhardi...@citrix.com
Increment ticket head/tails by 2 rather than 1 to leave the LSB free
to store a is in slowpath
On Sun, Jun 02, 2013 at 12:54:22AM +0530, Raghavendra K T wrote:
Split jumplabel ratelimit
I would change the title a bit, perhaps prefix it with: jump_label:
From: Andrew Jones drjo...@redhat.com
Commit b202952075f62603bea9bfb6ebc6b0420db11949 introduced rate limiting
Also please add
On Sun, Jun 02, 2013 at 12:55:03AM +0530, Raghavendra K T wrote:
xen: Enable PV ticketlocks on HVM Xen
There is more to it. You should also revert
70dd4998cb85f0ecd6ac892cc7232abefa432efb
From: Stefano Stabellini stefano.stabell...@eu.citrix.com
Signed-off-by: Jeremy Fitzhardinge
On Sun, Jun 02, 2013 at 12:55:57AM +0530, Raghavendra K T wrote:
kvm : Paravirtual ticketlocks support for linux guests running on KVM
hypervisor
From: Srivatsa Vaddagiri va...@linux.vnet.ibm.com
During smp_boot_cpus paravirtualied KVM guest detects if the hypervisor has
required
On Sat, Jun 01, 2013 at 12:23:14PM -0700, Raghavendra K T wrote:
xen/pvticketlock: Xen implementation for PV ticket locks
From: Jeremy Fitzhardinge jeremy.fitzhardi...@citrix.com
Replace the old Xen implementation of PV spinlocks with and implementation
of xen_lock_spinning and
On Sun, Jun 02, 2013 at 12:56:45AM +0530, Raghavendra K T wrote:
kvm hypervisor: Add directed yield in vcpu block path
From: Raghavendra K T raghavendra...@linux.vnet.ibm.com
We use the improved PLE handler logic in vcpu block patch for
scheduling rather than plain schedule, so that we can
On Sun, Jun 02, 2013 at 12:56:24AM +0530, Raghavendra K T wrote:
Documentation/kvm : Add documentation on Hypercalls and features used for PV
spinlock
From: Raghavendra K T raghavendra...@linux.vnet.ibm.com
KVM_HC_KICK_CPU hypercall added to wakeup halted vcpu in paravirtual spinlock
On Mon, Jun 03, 2013 at 06:42:11PM +0300, Avi Kivity wrote:
On Thu, May 30, 2013 at 7:34 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 30/05/2013 17:34, Paolo Bonzini ha scritto:
Il 30/05/2013 16:35, Paolo Bonzini ha scritto:
The x86-64 extended low-byte registers were fetched correctly
I've been merrily running a Windows Server 2003 with Exchange vm under
an older version of KVM (0.12.5) under Debian 6 (Squeeze), for over a
year.
I recently built a new kvm server with Debian Wheezy which comes with
KVM 1.1.2 and when I moved this guest over, I immediately started
getting BSODs
Il 03/06/2013 18:40, Gleb Natapov ha scritto:
Won't work, vmx won't let you enter in such a configuration.
Why? It is possible to have NULL descriptor in 32bit mode with vmx. But
we do not usually intercept #GP while executing 32bit mode, so we will
have to track if there is artificial NULL
On Mon, Jun 03, 2013 at 08:30:18PM +0300, Avi Kivity wrote:
On Jun 3, 2013 7:41 PM, Gleb Natapov g...@redhat.com wrote:
On Mon, Jun 03, 2013 at 06:42:11PM +0300, Avi Kivity wrote:
On Thu, May 30, 2013 at 7:34 PM, Paolo Bonzini pbonz...@redhat.com
wrote:
Il 30/05/2013 17:34, Paolo
SPE_FP interrupts are shared with ALTIVEC. Refactor SPE_FP exit handling
to detect KVM support for the featured unit at run-time, in order to
accommodate ALTIVEC later.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 80
Adopt AltiVec approach to increase laziness by calling kvmppc_load_guest_fp()
just before returning to guest instaed of each sched in.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c |1 +
arch/powerpc/kvm/e500mc.c |2 --
2 files changed, 1
Interrupt numbers defined for Book3E follows IVORs definition. Align
BOOKE_INTERRUPT_ALTIVEC_UNAVAIL and BOOKE_INTERRUPT_ALTIVEC_ASSIST to this
rule which also fixes the build breakage.
IVORs 32 and 33 are shared so reflect this in the interrupts naming.
Signed-off-by: Mihai Caraman
KVM Book3E FPU support gracefully reuse host infrastructure so we do the
same for AltiVec. To keep AltiVec lazy call kvmppc_load_guest_altivec()
just when returning to guest instead of each sched in.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 74
Mihai Caraman (6):
KVM: PPC: Book3E: Fix AltiVec interrupt numbers and build breakage
KVM: PPC: Book3E: Refactor SPE_FP exit handling
KVM: PPC: Book3E: Rename IRQPRIO names to accommodate ALTIVEC
KVM: PPC: Book3E: Add AltiVec support
KVM: PPC: Book3E: Add ONE_REG AltiVec support
KVM:
Rename BOOKE_IRQPRIO_SPE_UNAVAIL and BOOKE_IRQPRIO_SPE_FP_DATA names
to accommodate ALTIVEC. Replace BOOKE_INTERRUPT_SPE_UNAVAIL and
BOOKE_INTERRUPT_SPE_FP_DATA with the common version.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 12
Add ONE_REG support for AltiVec on Book3E.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 32
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index
Mihai Caraman (6):
KVM: PPC: Book3E: Fix AltiVec interrupt numbers and build breakage
KVM: PPC: Book3E: Refactor SPE_FP exit handling
KVM: PPC: Book3E: Rename IRQPRIO names to accommodate ALTIVEC
KVM: PPC: Book3E: Add AltiVec support
KVM: PPC: Book3E: Add ONE_REG AltiVec support
KVM:
Add ONE_REG support for AltiVec on Book3E.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 32
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index
Rename BOOKE_IRQPRIO_SPE_UNAVAIL and BOOKE_IRQPRIO_SPE_FP_DATA names
to accommodate ALTIVEC. Replace BOOKE_INTERRUPT_SPE_UNAVAIL and
BOOKE_INTERRUPT_SPE_FP_DATA with the common version.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 12
SPE_FP interrupts are shared with ALTIVEC. Refactor SPE_FP exit handling
to detect KVM support for the featured unit at run-time, in order to
accommodate ALTIVEC later.
Signed-off-by: Mihai Caraman mihai.cara...@freescale.com
---
arch/powerpc/kvm/booke.c | 80
Interrupt numbers defined for Book3E follows IVORs definition. Align
BOOKE_INTERRUPT_ALTIVEC_UNAVAIL and BOOKE_INTERRUPT_ALTIVEC_ASSIST to this
rule which also fixes the build breakage.
IVORs 32 and 33 are shared so reflect this in the interrupts naming.
Signed-off-by: Mihai Caraman
58 matches
Mail list logo