https://bugzilla.kernel.org/show_bug.cgi?id=11963
Zhang Rui changed:
What|Removed |Added
Blocks||56331
--
Configure bugmail: https://bugz
On Mon, 2013-04-08 at 16:59 -0500, Anthony Liguori wrote:
> "Nicholas A. Bellinger" writes:
>
> > From: Paolo Bonzini
> >
> > This patch refactors existing virtio-scsi code into VirtIOSCSICommon
> > in order to allow virtio_scsi_init_common() to be used by both internal
> > virtio_scsi_init() an
> -Original Message-
> From: Wood Scott-B07421
> Sent: Friday, April 05, 2013 5:17 PM
> To: Yoder Stuart-B08248
> Cc: Alex Williamson; Wood Scott-B07421; ag...@suse.de; Bhushan Bharat-R65777;
> Sethi Varun-B16395;
> kvm@vger.kernel.org; qemu-de...@nongnu.org; io...@lists.linux-foundation
On Mon, Apr 08, 2013 at 02:31:27PM -0700, Nicholas A. Bellinger wrote:
> On Fri, 2013-03-22 at 13:39 +0800, Asias He wrote:
> > Asias He (2):
> > tcm_vhost: Introduce tcm_vhost_check_feature()
> > tcm_vhost: Add hotplug/hotunplug support
> >
> > drivers/vhost/tcm_vhost.c | 224
> > ++
On 04/08/2013 12:33:13 AM, Paul Mackerras wrote:
On Tue, Apr 02, 2013 at 08:57:48PM -0500, Scott Wood wrote:
[snip]
> +static int kvm_ioctl_create_device(struct kvm *kvm,
> + struct kvm_create_device *cd)
> +{
> + bool test = cd->flags & KVM_CREATE_DEVICE_TEST;
> +
On 04/08/2013 01:30:42 AM, Paul Mackerras wrote:
On Tue, Apr 02, 2013 at 08:57:52PM -0500, Scott Wood wrote:
> Hook the MPIC code up to the KVM interfaces, add locking, etc.
[snip]
> @@ -2164,6 +2164,15 @@ static int kvm_ioctl_create_device(struct
kvm *kvm,
>bool test = cd->flags & KVM_C
We don't need much out of it at this point, but we will need it for virtio-net
mq patch.
Signed-off-by: Sasha Levin
---
tools/kvm/virtio/net.c | 34 --
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/tools/kvm/virtio/net.c b/tools/kvm/virtio/net.c
i
This patch adds support for multiple virtio-net queues. Each queue gets
assigned to it's own corresponding rx/tx thread.
The max amount of queue pairs is 8 right now, it's up to the guest
to decide the actual amount of queues it wants using ethtool. For
example, if I want 2 queue pairs on eth0:
We've limited the amount of interrupts per PCI device to be the maximum amount
of VQs.
Now that the maximum amount of VQs has increased, time to increase this as well.
Signed-off-by: Sasha Levin
---
tools/kvm/include/kvm/virtio-pci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
"Nicholas A. Bellinger" writes:
> From: Paolo Bonzini
>
> This patch refactors existing virtio-scsi code into VirtIOSCSICommon
> in order to allow virtio_scsi_init_common() to be used by both internal
> virtio_scsi_init() and external vhost-scsi-pci code.
>
> Changes in Patch-v2:
>- Move ->g
On Mon, Apr 08, 2013 at 02:31:27PM -0700, Nicholas A. Bellinger wrote:
> On Fri, 2013-03-22 at 13:39 +0800, Asias He wrote:
> > Asias He (2):
> > tcm_vhost: Introduce tcm_vhost_check_feature()
> > tcm_vhost: Add hotplug/hotunplug support
> >
> > drivers/vhost/tcm_vhost.c | 224
> > ++
(Re-send, as target-devel CC' managed to get dropped)
On Fri, 2013-03-22 at 13:39 +0800, Asias He wrote:
> Asias He (2):
> tcm_vhost: Introduce tcm_vhost_check_feature()
> tcm_vhost: Add hotplug/hotunplug support
>
> drivers/vhost/tcm_vhost.c | 224
>
On Fri, 2013-03-22 at 14:55 +0800, Asias He wrote:
> Changes in v2:
> - Increase/Decrease inflight requests in
> vhost_scsi_{allocate,free}_cmd and tcm_vhost_{allocate,free}_evt
>
> Asias He (3):
> tcm_vhost: Wait for pending requests in vhost_scsi_flush()
> tcm_vhost: Wait for pending reque
On Fri, 2013-03-22 at 13:39 +0800, Asias He wrote:
> Asias He (2):
> tcm_vhost: Introduce tcm_vhost_check_feature()
> tcm_vhost: Add hotplug/hotunplug support
>
> drivers/vhost/tcm_vhost.c | 224
> --
> drivers/vhost/tcm_vhost.h | 10 +++
> 2 file
On Mon, 2013-04-08 at 10:10 +0300, Michael S. Tsirkin wrote:
> On Wed, Apr 03, 2013 at 02:17:38PM +0800, Asias He wrote:
> > This patch fixes guest hang when booting seabios and guest.
> >
> > [0.576238] scsi0 : Virtio SCSI HBA
> > [0.616754] virtio_scsi virtio1: request:id 0 is not a
On Mon, 2013-04-08 at 10:10 +0300, Michael S. Tsirkin wrote:
> On Wed, Apr 03, 2013 at 02:17:37PM +0800, Asias He wrote:
> > Currently, vs->vs_endpoint is used indicate if the endpoint is setup or
> > not. It is set or cleared in vhost_scsi_set_endpoint() or
> > vhost_scsi_clear_endpoint() under th
Hello all,
Another lock up again this evening :( am wondering whether should consider
upgrading the kernel to 3.7.10 and the latest version of KVM. Thoughts ?
Thanks.
- Original Message -
To: kvm@vger.kernel.org
Sent: Thursday, 4 April, 2013 3:36:11 PM
Subject: KVM Guest Lock up (100%)
Good news! QEMU.org has been accepted to Google Summer of Code 2013.
This means students can begin considering our list of QEMU, kvm kernel
module, and libvirt project ideas:
http://qemu-project.org/Google_Summer_of_Code_2013
Student applications open April 22 at 19:00 UTC. You can already vie
On 03/31/2013 06:05:40 AM, Alexander Graf wrote:
On 31.03.2013, at 12:49, Gleb Natapov wrote:
> On Tue, Mar 26, 2013 at 11:37:42AM -0500, Scott Wood wrote:
>> On 03/25/2013 08:33:12 PM, Gleb Natapov wrote:
>>> On Tue, Mar 26, 2013 at 12:35:09AM +0100, Alexander Graf wrote:
On 26.03.20
On Mon, Apr 08, 2013 at 10:11:52AM -0700, Andrew Honig wrote:
> On Mon, Apr 8, 2013 at 2:24 AM, Gleb Natapov wrote:
> > On Thu, Apr 04, 2013 at 12:39:47PM -0700, Andrew Honig wrote:
> >> If userspace creates and destroys multiple VMs within the same process
> >> we leak 20k of memory in the usersp
On Mon, Apr 8, 2013 at 2:24 AM, Gleb Natapov wrote:
> On Thu, Apr 04, 2013 at 12:39:47PM -0700, Andrew Honig wrote:
>> If userspace creates and destroys multiple VMs within the same process
>> we leak 20k of memory in the userspace process context per VM. This
>> patch frees the memory in kvm_arc
On Mon, Apr 08, 2013 at 04:36:47PM +0200, Andreas Färber wrote:
> Am 08.04.2013 14:19, schrieb Gleb Natapov:
> > On Tue, Apr 02, 2013 at 04:29:32PM +0300, Gleb Natapov wrote:
> >>> static void kvm_sw_tlb_put(PowerPCCPU *cpu)
> >>> {
> >>> CPUPPCState *env = &cpu->env;
> >>> diff --git a/targ
Wire the init of a 32bit vcpu by allowing 32bit modes in pstate,
and providing sensible defaults out of reset state.
This feature is of course conditioned by the presence of 32bit
capability on the physical CPU, and is checked by the KVM_CAP_ARM_EL1_32BIT
capability.
Signed-off-by: Marc Zyngier
Enable handling of CPU specific 32bit coprocessor access. Not much
here either.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/sys_regs_generic_v8.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/kvm/sys_regs_generic_v8.c
b/arch/ar
Allow access to the 32bit register file through the usual API.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_emulate.h | 17 +++-
arch/arm64/kvm/Makefile | 2 +-
arch/arm64/kvm/regmap.c | 168 ++
As conditional instructions can trap on AArch32, add the thinest
possible emulation layer to keep 32bit guests happy.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_emulate.h | 13 ++-
arch/arm64/kvm/Makefile | 2 +-
arch/arm64/kvm/
Provide the necessary infrastructure to trap coprocessor accesses that
occur when running 32bit guests.
Also wire SMC and HVC trapped in 32bit mode while were at it.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_coproc.h | 5 +
arch/arm64/kvm/h
Provide the architecture dependent structures for VM and
vcpu abstractions.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_host.h | 186 ++
1 file changed, 186 insertions(+)
create mode 100644 arch/arm64/include
Add support for the in-kernel GIC emulation. The include file
is a complete duplicate of the 32bit one - something to fix
at one point.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_vgic.h | 156 ++
arch/arm64/k
Implement the injection of a fault (undefined, data abort or
prefetch abort) into a 64bit guest.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/inject_fault.c | 118 ++
1 file changed, 118 insertions(+)
create mode 1006
Add support for the in-kernel timer emulation. The include file
is a complete duplicate of the 32bit one - something to fix
at one point.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm/kvm/arch_timer.c | 1 +
arch/arm64/include/asm/kvm_arch_timer.h |
Add the support code for CPU specific system registers. Not much
here yet.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/sys_regs_generic_v8.c | 85
1 file changed, 85 insertions(+)
create mode 100644 arch/arm64/kvm/sys_r
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/Kconfig | 2 ++
arch/arm64/Makefile | 2 +-
arch/arm64/kvm/Kconfig | 59 +
arch/arm64/kvm/Makefile | 19
4 files changed, 81 insertions(+), 1
Define the 32bit specific registers (SPSRs, cp15...).
Most CPU registers are directly mapped to a 64bit register
(r0->x0...). Only the SPSRs have separate registers.
cp15 registers are also mapped into their 64bit counterpart in most
cases.
Reviewed-by: Christopher Covington
Signed-off-by: Marc
Let userspace play with the guest registers.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/guest.c | 254 +
1 file changed, 254 insertions(+)
create mode 100644 arch/arm64/kvm/guest.c
diff --git a/arch/arm64/k
Wire the PSCI backend into the exit handling code.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/arm64/include/asm/kvm_psci.h | 23 +++
arch/arm64/include/uapi/asm/kvm.h | 16
arch/arm64/kv
Provide 64bit system register handling, modeled after the cp15
handling for ARM.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_coproc.h | 51 +++
arch/arm64/include/uapi/asm/kvm.h | 29 ++
arch/arm64/kvm/sys_regs.c | 871
The HYP mode world switch in all its glory.
Implements save/restore of host/guest registers, EL2 trapping,
IPA resolution, and additional services (tlb invalidation).
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kernel/asm-offsets.c | 34 +++
arch/arm64/kvm/hy
Provide EL2 with page tables and stack, and set the vectors
to point to the full blown world-switch code.
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_host.h | 13 +
arch/arm64/kvm/hyp-init.S | 112 ++
2 files changed, 125 insertions
Handle the exit of a VM, decoding the exit reason from HYP mode
and calling the corresponding handler.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/handle_exit.c | 119 +++
1 file changed, 119 insertions(+)
create mod
Provide the reset code for a virtual CPU booted in 64bit mode.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/reset.c | 76 ++
1 file changed, 76 insertions(+)
create mode 100644 arch/arm64/kvm/reset.c
diff --g
Define the necessary structures to perform an MMIO access.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_mmio.h | 59 +++
1 file changed, 59 insertions(+)
create mode 100644 arch/arm64/include/asm/kvm_mmio.h
d
Define the arm64 specific MMU backend:
- HYP/kernel VA offset
- S2 4/64kB definitions
- S2 page table populating and flushing
- icache cleaning
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_mmu.h | 136 +++
1 fi
Unsurprisingly, the arm64 userspace API is extremely similar to
the 32bit one, the only significant difference being the ONE_REG
register mapping.
Signed-off-by: Marc Zyngier
---
Documentation/virtual/kvm/api.txt | 55 +--
1 file changed, 36 insertions(+), 19
Elect myself as the KVM/arm64 maintainer.
Signed-off-by: Marc Zyngier
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 836a618..c6e0170 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4628,6 +4628,15 @@ F: arch/arm/include/uapi/asm
Provide the kvm.h file that defines the user space visible
interface.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/uapi/asm/kvm.h | 117 ++
1 file changed, 117 insertions(+)
create mode 100644 arch/arm64/include/uapi/
Allow registers specific to 32bit guests to be saved/restored
during the world switch.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/hyp.S | 70
1 file changed, 70 insertions(+)
diff --git a/arch/arm64/kvm
Add fault injection capability for 32bit guests.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/kvm/inject_fault.c | 79 ++-
1 file changed, 78 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/kvm/inject_fault.c b/arch/
Define all the useful bitfields for EL2 registers.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_arm.h | 243 +++
1 file changed, 243 insertions(+)
create mode 100644 arch/arm64/include/asm/kvm_arm.h
diff --gi
Add the necessary infrastructure for identity-mapped HYP page
tables. Idmap-ed code must be in the ".hyp.idmap.text" linker
section.
The rest of the HYP ends up in ".hyp.text".
Signed-off-by: Marc Zyngier
---
arch/arm64/kernel/vmlinux.lds.S | 16
1 file changed, 16 insertions(+
Implements helpers for dealing with the EL2 syndrome register as
well as accessing the vcpu registers.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_emulate.h | 163 +++
1 file changed, 163 insertions(+)
create mod
Define the saved/restored registers for 64bit guests.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/kvm_asm.h | 68
1 file changed, 68 insertions(+)
create mode 100644 arch/arm64/include/asm/kvm_asm.h
diff --
Add HYP and S2 page flags, for both normal and device memory.
Reviewed-by: Christopher Covington
Signed-off-by: Marc Zyngier
---
arch/arm64/include/asm/pgtable-hwdef.h | 13 +
arch/arm64/include/asm/pgtable.h | 12
2 files changed, 25 insertions(+)
diff --git a/a
The ESR_EL1 decoding process is a bit cryptic, and KVM has also
a need for the same constants.
Add a new esr.h file containing the appropriate exception classes
constants, and change entry.S to use it. Fix a small bug in the
EL1 breakpoint check while we're at it.
Signed-off-by: Marc Zyngier
Cc:
This series contains the third version of KVM for arm64.
It depends on the following branches/series:
- git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64.git
soc-armv8-model
Catalin's platform support branch for v8 models
- git://github.com/columbia/linux-kvm-arm.git kvm-arm-
The Virtualbox SVGA card was derived out of the KVM VGA card, so there are
quite a few similarities (I am deliberately being vague here as I am still in
the process of discovering the features of both these cards completely). Having
said that, the APIs and the data structures themselves have bee
On Fri, Mar 29, 2013 at 01:24:25PM +0900, Kazuya Saito wrote:
> This series adds tracepoints for helping us clarify the cause of
> troubles. Virtualization on Linux is composed of some components such
> as qemu, kvm, libvirt, and so on. So it is very important to clarify
> firstly and swiftly the c
On 6 April 2013 00:52, Sriram Murthy wrote:
> (actually, the virtualbox SVGA card is based off of the KVM VGA card)
Is it possible to implement it as an extension to the VGA
card device, or has it diverged incompatibly such that it
has to be its own separate device model?
thanks
-- PMM
--
To uns
By "richer display", I meant support for different resolution and color depth
(including support for nonstandard resolutions as well).
-Sriram
- Original Message -
From: Stefan Hajnoczi
To: Sriram Murthy
Cc: "kvm@vger.kernel.org" ; qemu list
Sent: Monday, April 8, 2013 3:46 AM
Subj
Hi!
I've just built server to use it with KVM. Almost immediately I got this
warning with one of my virtual servers (two currently).
Apr 7 04:44:02 base kernel: [ cut here ]
Apr 7 04:44:02 base kernel: WARNING: at include/linux/kref.h:42
handle_tx+0x613/0x680 [vhost_ne
Am 08.04.2013 14:19, schrieb Gleb Natapov:
> On Tue, Apr 02, 2013 at 04:29:32PM +0300, Gleb Natapov wrote:
>>> static void kvm_sw_tlb_put(PowerPCCPU *cpu)
>>> {
>>> CPUPPCState *env = &cpu->env;
>>> diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c
>>> index 23fe51f..6321384 100644
>>> --
Asias He writes:
> On Sat, Apr 06, 2013 at 09:40:13AM +0100, James Bottomley wrote:
>> Well, I haven't had time to look at anything other than the patch I
>> commented on. I'm happy with your fix, so you can add my acked by to
>> that one. Since it's going through the virtio tree, don't wait for
From: Yang Zhang
We already know the trigger mode of a given interrupt when programming
the ioapice entry. So it's not necessary to set it in each interrupt
delivery.
Signed-off-by: Yang Zhang
---
arch/x86/kvm/lapic.c | 15 +--
arch/x86/kvm/lapic.h |1 +
arch/x86/kvm/x86.c
From: Yang Zhang
If posted interrupt is avaliable, then uses it to inject virtual
interrupt to guest.
Signed-off-by: Yang Zhang
---
arch/x86/kvm/lapic.c | 29 ++---
arch/x86/kvm/vmx.c |2 +-
arch/x86/kvm/x86.c |1 +
3 files changed, 20 insertions(+), 12 de
From: Yang Zhang
Only deliver the posted interrupt when target vcpu is running
and there is no previous interrupt pending in pir.
Signed-off-by: Yang Zhang
---
arch/x86/include/asm/kvm_host.h |2 +
arch/x86/kvm/lapic.c| 13
arch/x86/kvm/lapic.h|1 +
a
From: Yang Zhang
Detect the posted interrupt feature. If it exists, then set it in vmcs_config.
Signed-off-by: Yang Zhang
---
arch/x86/include/asm/vmx.h |4 ++
arch/x86/kvm/vmx.c | 82 +---
2 files changed, 66 insertions(+), 20 deletions(-)
From: Yang Zhang
Both TMR and EOI exit bitmap need to be updated when ioapic changed
or vcpu's id/ldr/dfr changed. So use common function instead eoi exit
bitmap specific function.
Signed-off-by: Yang Zhang
---
arch/ia64/kvm/lapic.h|6 --
arch/x86/kvm/lapic.c |4 ++--
arch/
From: Yang Zhang
The "acknowledge interrupt on exit" feature controls processor behavior
for external interrupt acknowledgement. When this control is set, the
processor acknowledges the interrupt controller to acquire the
interrupt vector on VM exit.
After enabling this feature, an interrupt whi
From: Yang Zhang
Posted Interrupt feature requires a special IPI to deliver posted interrupt
to guest. And it should has a high priority so the interrupt will not be
blocked by others.
Normally, the posted interrupt will be consumed by vcpu if target vcpu is
running and transparent to OS. But in
From: Yang Zhang
The follwoing patches are adding the Posted Interrupt supporting to KVM:
The first patch enables the feature 'acknowledge interrupt on vmexit'.Since
it is required by Posted interrupt, we need to enable it firstly.
And the subsequent patches are adding the posted interrupt suppo
From: Yang Zhang
Current interrupt coalescing logci which only used by RTC has conflict
with Posted Interrupt.
This patch introduces a new mechinism to use eoi to track interrupt:
When delivering an interrupt to vcpu, the pending_eoi set to number of
vcpu that received the interrupt. And decrease
From: Yang Zhang
Need the EOI to track interrupt deliver status, so force vmexit
on EOI for rtc interrupt when enabling virtual interrupt delivery.
Signed-off-by: Yang Zhang
---
virt/kvm/ioapic.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/virt/kvm/ioapic.c b/virt
From: Yang Zhang
Userspace may deliver RTC interrupt without query the status. So we
want to track RTC EOI for this case.
Signed-off-by: Yang Zhang
---
arch/x86/kvm/i8254.c |4 ++--
arch/x86/kvm/x86.c |6 --
include/linux/kvm_host.h | 11 +++
virt/kvm/assigned-d
From: Yang Zhang
Add a new parameter to know vcpus who received the interrupt.
Signed-off-by: Yang Zhang
---
arch/x86/kvm/lapic.c | 25 -
arch/x86/kvm/lapic.h |5 +++--
virt/kvm/ioapic.c|2 +-
virt/kvm/ioapic.h|2 +-
virt/kvm/irq_comm.c | 12 +++
From: Yang Zhang
Signed-off-by: Yang Zhang
---
arch/x86/kvm/lapic.c |9 +++
arch/x86/kvm/lapic.h |2 +
virt/kvm/ioapic.c| 60 ++
virt/kvm/ioapic.h|1 +
4 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/arch/
From: Yang Zhang
rtc_status is used to track RTC interrupt delivery status. The pending_eoi
will be increased by vcpu who received RTC interrupt and will be decreased
when EOI to this interrupt.
Also, we use dest_map to record the destination vcpu to avoid the case that
vcpu who didn't get the RT
From: Yang Zhang
Add vcpu info to ioapic_update_eoi, so we can know which vcpu
issued this EOI.
Signed-off-by: Yang Zhang
---
arch/x86/kvm/lapic.c |2 +-
virt/kvm/ioapic.c| 12 ++--
virt/kvm/ioapic.h|3 ++-
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git
From: Yang Zhang
Current interrupt coalescing logci which only used by RTC has conflict
with Posted Interrupt.
This patch introduces a new mechinism to use eoi to track interrupt:
When delivering an interrupt to vcpu, the pending_eoi set to number of
vcpu that received the interrupt. And decreas
On Mon, 2013-04-08 at 14:34 +0200, Andre Richter wrote:
> Hi all,
>
> I'm quite new to KVM/QEMU internals.
> On recent x86 setups (Sandy/Ivy Bridge with vt-x and vt-d), if I
> attach a PCI device via PCI-Passthrough to a VM,
> I can directly do MMIO with the device's registers or whatsoever hides
Hi
Please send in any agenda topics you are interested in.
Later, Juan.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Il 08/04/2013 14:19, Gleb Natapov ha scritto:
>> > Does this compile with kvm support disabled?
Oops, sorry, I thought I had replied to this email (with "hmm, let me
check").
> Well, it does not:
> CCs390x-softmmu/target-s390x/cpu.o
> /users/gleb/work/qemu/target-s390x/cpu.c: In function 's
Gleb Natapov wrote on 2013-04-08:
> On Mon, Apr 08, 2013 at 11:21:34AM +, Zhang, Yang Z wrote:
>> Gleb Natapov wrote on 2013-04-07:
>>> On Sun, Apr 07, 2013 at 01:16:51PM +, Zhang, Yang Z wrote:
Gleb Natapov wrote on 2013-04-07:
> On Sun, Apr 07, 2013 at 01:05:02PM +, Zhang, Ya
On Mon, Apr 08, 2013 at 11:21:34AM +, Zhang, Yang Z wrote:
> Gleb Natapov wrote on 2013-04-07:
> > On Sun, Apr 07, 2013 at 01:16:51PM +, Zhang, Yang Z wrote:
> >> Gleb Natapov wrote on 2013-04-07:
> >>> On Sun, Apr 07, 2013 at 01:05:02PM +, Zhang, Yang Z wrote:
> Gleb Natapov wrote
Hi all,
I'm quite new to KVM/QEMU internals.
On recent x86 setups (Sandy/Ivy Bridge with vt-x and vt-d), if I
attach a PCI device via PCI-Passthrough to a VM,
I can directly do MMIO with the device's registers or whatsoever hides
behind it's BAR addresses.
I wonder if there is a way for the Host/
On Sun, Apr 07, 2013 at 04:58:07AM +, Zhanghaoyu (A) wrote:
> >>> I start a kvm VM with vnc(using the zrle protocol) connect, sometimes
> >>> qemu program crashed during starting period, received signal SIGABRT.
> >>> Trying about 20 times, this crash may be reproduced.
> >>> I guess the cause
On Tue, Apr 02, 2013 at 04:29:32PM +0300, Gleb Natapov wrote:
> > static void kvm_sw_tlb_put(PowerPCCPU *cpu)
> > {
> > CPUPPCState *env = &cpu->env;
> > diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c
> > index 23fe51f..6321384 100644
> > --- a/target-s390x/cpu.c
> > +++ b/target-s390x
On Sun, Mar 10, 2013 at 06:05:25PM +0200, Abel Gordon wrote:
> Prepare vmread and vmwrite bitmaps according to a pre-specified list of
> fields.
> These lists are intended to specifiy most frequent accessed fields so we can
> minimize the number of fields that are copied from/to the software contr
Gleb Natapov wrote on 2013-04-07:
> On Sun, Apr 07, 2013 at 01:16:51PM +, Zhang, Yang Z wrote:
>> Gleb Natapov wrote on 2013-04-07:
>>> On Sun, Apr 07, 2013 at 01:05:02PM +, Zhang, Yang Z wrote:
Gleb Natapov wrote on 2013-04-07:
> On Sun, Apr 07, 2013 at 12:39:32PM +, Zhang, Ya
On Sun, Mar 10, 2013 at 06:04:55PM +0200, Abel Gordon wrote:
> Add logic required to detect if shadow-vmcs is supported by the
> processor. Introduce a new kernel module parameter to specify if L0 should use
> shadow vmcs (or not) to run L1.
>
> Signed-off-by: Abel Gordon
> ---
> arch/x86/kvm/vm
On Sun, Apr 07, 2013 at 04:58:07AM +, Zhanghaoyu (A) wrote:
> >> I start a kvm VM with vnc(using the zrle protocol) connect, sometimes qemu
> >> program crashed during starting period, received signal SIGABRT.
> >> Trying about 20 times, this crash may be reproduced.
> >> I guess the cause mem
On Fri, Apr 05, 2013 at 04:52:05PM -0700, Sriram Murthy wrote:
> For starters, virtual box has better SVGA WDDM drivers that allows for a much
> richer display when the VM display is local.
What does "much richer display" mean?
Stefan
--
To unsubscribe from this list: send the line "unsubscribe
On Thu, Apr 04, 2013 at 06:33:38PM -0500, Scott Wood wrote:
> On 04/04/2013 12:59:02 AM, Gleb Natapov wrote:
> >On Wed, Apr 03, 2013 at 03:58:04PM -0500, Scott Wood wrote:
> >> KVM_DEV_MPIC_* could go elsewhere if you want to avoid cluttering
> >> the main kvm.h. The arch header would be OK, since
On Fri, Apr 05, 2013 at 12:02:06PM +1100, Paul Mackerras wrote:
> On Thu, Apr 04, 2013 at 01:41:35PM +0300, Gleb Natapov wrote:
>
> > Since now each device has its own fd is it an advantage to enforce
> > common interface between different devices? If we do so though why
> > not handle file creati
On Thu, Apr 04, 2013 at 06:47:45PM -0500, Scott Wood wrote:
> On 04/04/2013 05:41:35 AM, Gleb Natapov wrote:
> >On Tue, Apr 02, 2013 at 08:57:48PM -0500, Scott Wood wrote:
> >> +struct kvm_device_attr {
> >> + __u32 flags; /* no flags currently defined */
> >> + __u32 group;
From: Bharat Bhushan
This patch adds the debug stub support on booke/bookehv.
Now QEMU debug stub can use hw breakpoint, watchpoint and software
breakpoint to debug guest.
Debug registers are saved/restored on vcpu_put()/vcpu_get().
Also the debug registers are saved restored only if guest
is us
From: Bharat Bhushan
KVM need this function when switching from vcpu to user-space
thread. My subsequent patch will use this function.
Signed-off-by: Bharat Bhushan
---
arch/powerpc/include/asm/switch_to.h |4
arch/powerpc/kernel/process.c|3 ++-
2 files changed, 6 inserti
From: Bharat Bhushan
"ehpriv" instruction is used for setting software breakpoints
by user space. This patch adds support to exit to user space
with "run->debug" have relevant information.
Signed-off-by: Bharat Bhushan
---
arch/powerpc/kvm/e500_emulate.c | 10 ++
1 files changed, 10
From: Bharat Bhushan
This allows the exit to user space if emulator request by returning
EMULATE_EXIT_USER. This will be used in subsequent patches in list
Signed-off-by: Bharat Bhushan
---
arch/powerpc/kvm/booke.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch
From: Bharat Bhushan
Currently the instruction emulator code returns EMULATE_EXIT_USER
and common code initializes the "run->exit_reason = .." and
"vcpu->arch.hcall_needed = .." with one fixed reason.
But there can be different reasons when emulator need to exit
to user space. To support that the
Instruction emulation return EMULATE_DO_PAPR when it requires
exit to userspace on book3s. Similar return is required
for booke. EMULATE_DO_PAPR reads out to be confusing so it is
renamed to EMULATE_EXIT_USER.
Signed-off-by: Bharat Bhushan
---
arch/powerpc/include/asm/kvm_ppc.h |2 +-
arch/p
1 - 100 of 115 matches
Mail list logo