summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-05-23 10:33:05 +0200
committerAvi Kivity <avi@redhat.com>2011-07-12 11:45:08 +0300
commitd780592b99d7d8a5ff905f6bacca519d4a342c76 (patch)
treeb1779fdd8dfef925161ff804582b5377c0f86cd8 /block/blk-sysfs.c
parentd462b8192368f10e979250377930f9695a4039d0 (diff)
downloadop-kernel-dev-d780592b99d7d8a5ff905f6bacca519d4a342c76.zip
op-kernel-dev-d780592b99d7d8a5ff905f6bacca519d4a342c76.tar.gz
KVM: Clean up error handling during VCPU creation
So far kvm_arch_vcpu_setup is responsible for freeing the vcpu struct if it fails. Move this confusing resonsibility back into the hands of kvm_vm_ioctl_create_vcpu. Only kvm_arch_vcpu_setup of x86 is affected, all other archs cannot fail. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud