]> git.proxmox.com Git - qemu.git/commit - kvm-all.c
kvm: Create kvm_arch_vcpu_id() function
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 22 Jan 2013 20:25:01 +0000 (18:25 -0200)
committerAndreas Färber <afaerber@suse.de>
Sun, 27 Jan 2013 13:34:26 +0000 (14:34 +0100)
commitb164e48ed1600055bc190aa3ab42c18004d2c711
treeaa0b929a382279f4a2bc3defbae311c0ccc2fdd8
parent2969475869a6f33b8883c2fbf90252dcf617902e
kvm: Create kvm_arch_vcpu_id() function

This will allow each architecture to define how the VCPU ID is set on
the KVM_CREATE_VCPU ioctl call.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/sysemu/kvm.h
kvm-all.c
target-i386/kvm.c
target-ppc/kvm.c
target-s390x/kvm.c