commit | d3efc8efdbaa81e9db3089810fcd526fccba234d | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Jun 17 10:07:59 2009 -0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:33:04 2009 +0300 |
tree | 6ceb847fdf285151edef5ae59854b31ea1598c19 | |
parent | 2023a29cbe34139afcea8f65f8aef78c325c5dc0 [diff] |
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>