[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH V4] kvm: Add a new machine property kvm-type

From: Aneesh Kumar K.V
Subject: Re: [Qemu-ppc] [PATCH V4] kvm: Add a new machine property kvm-type
Date: Mon, 23 Dec 2013 21:12:04 +0530
User-agent: Notmuch/0.16+99~g10596a5 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)

Alexander Graf <address@hidden> writes:

> On Dec 20, 2013, at 11:55 AM, Alexander Graf <address@hidden> wrote:
>> On 19.12.2013, at 17:04, Aneesh Kumar K.V <address@hidden> wrote:
>>> From: "Aneesh Kumar K.V" <address@hidden>
>>> Targets like ppc64 support different typed of KVM, one which use
>>> hypervisor mode and the other which doesn't. Add a new machine
>>> property kvm-type that helps in selecting the respective ones
>>> We also add a new QEMUMachine callback get_vm_type that helps
>>> in mapping the string representation of kvm type specified.
>>> Signed-off-by: Aneesh Kumar K.V <address@hidden>
>> Thanks, applied to ppc-next.
> This breaks compilation for ppc{,64}-linux-user. Please fix that up
> and submit a v5. I've taken this patch from my tree for now :).

Sent v5 with the below fix folded

diff --git a/kvm-stub.c b/kvm-stub.c
index c27b69076572..6dd4454a640c 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -19,8 +19,6 @@
 #include "hw/pci/msi.h"
-#include "hw/boards.h"
 KVMState *kvm_state;
 bool kvm_kernel_irqchip;
 bool kvm_async_interrupts_allowed;
@@ -30,6 +28,7 @@ bool kvm_gsi_routing_allowed;
 bool kvm_gsi_direct_mapping;
 bool kvm_allowed;
 bool kvm_readonly_mem_allowed;
+typedef struct QEMUMachine QEMUMachine;
 int kvm_init_vcpu(CPUState *cpu)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]