summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-06-17 10:07:59 -0300
committerAvi Kivity <avi@redhat.com>2009-09-10 08:33:04 +0300
commitd3efc8efdbaa81e9db3089810fcd526fccba234d (patch)
tree6ceb847fdf285151edef5ae59854b31ea1598c19 /virt/kvm
parent2023a29cbe34139afcea8f65f8aef78c325c5dc0 (diff)
downloadlinux-3.10-d3efc8efdbaa81e9db3089810fcd526fccba234d.tar.gz
linux-3.10-d3efc8efdbaa81e9db3089810fcd526fccba234d.tar.bz2
linux-3.10-d3efc8efdbaa81e9db3089810fcd526fccba234d.zip
KVM: use vcpu_id instead of bsp_vcpu pointer in kvm_vcpu_is_bsp
Change kvm_vcpu_is_bsp to use vcpu_id instead of bsp_vcpu pointer, which is only initialized at the end of kvm_vm_ioctl_create_vcpu. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions