Message ID | 1255111398-15251-11-git-send-email-glommer@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/qemu-kvm.c b/qemu-kvm.c index 8257dd3..06c1226 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -442,8 +442,6 @@ kvm_vcpu_context_t kvm_create_vcpu(CPUState *env, int id) int r; kvm_vcpu_context_t vcpu_ctx = qemu_malloc(sizeof(struct kvm_vcpu_context)); - vcpu_ctx->id = id; - r = kvm_vm_ioctl(kvm_state, KVM_CREATE_VCPU, id); if (r < 0) { fprintf(stderr, "kvm_create_vcpu: %m\n"); diff --git a/qemu-kvm.h b/qemu-kvm.h index f051889..d07aa86 100644 --- a/qemu-kvm.h +++ b/qemu-kvm.h @@ -78,7 +78,6 @@ struct kvm_context { struct kvm_vcpu_context { int fd; - uint32_t id; }; typedef struct kvm_context *kvm_context_t;