summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-15 22:20:42 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-15 22:20:42 +0000
commitd3212ccbd793ae53d13d2cac84bf861dde8ff31e (patch)
treef00e2762654db54d120ae7cf0cffc043ec33cdbe /kvm.h
parent7848a6f322a6d67c039dda98c96f76663533763b (diff)
downloadqemu-d3212ccbd793ae53d13d2cac84bf861dde8ff31e.tar.gz
qemu-d3212ccbd793ae53d13d2cac84bf861dde8ff31e.tar.bz2
qemu-d3212ccbd793ae53d13d2cac84bf861dde8ff31e.zip
kvm: sync vcpu state during initialization (Hollis Blanchard)
Currently on x86, qemu initializes CPUState but KVM ignores it and does its own vcpu initialization. However, PowerPC KVM needs to be able to set the initial register state to support the -kernel and -append options. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6060 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm.h b/kvm.h
index ac464ab1bf..efce1450d5 100644
--- a/kvm.h
+++ b/kvm.h
@@ -31,6 +31,7 @@ struct kvm_run;
int kvm_init(int smp_cpus);
int kvm_init_vcpu(CPUState *env);
+int kvm_sync_vcpus(void);
int kvm_cpu_exec(CPUState *env);