mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Simplify boot_vcpu() implementation.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
This commit is contained in:
1 parent
dad18c78cb
commit
fde3ff3095
1 file changed
+1
-5
+1
-5
@@ -376,14 +376,10 @@ int set_info_guest(struct domain *d, dom0_setdomaininfo_t *setdomaininfo)
|
||||
int boot_vcpu(struct domain *d, int vcpuid, struct vcpu_guest_context *ctxt)
|
||||
{
|
||||
struct vcpu *v = d->vcpu[vcpuid];
|
||||
int rc;
|
||||
|
||||
BUG_ON(test_bit(_VCPUF_initialised, &v->vcpu_flags));
|
||||
|
||||
if ( (rc = arch_set_info_guest(v, ctxt)) != 0 )
|
||||
return rc;
|
||||
|
||||
return rc;
|
||||
return arch_set_info_guest(v, ctxt);
|
||||
}
|
||||
|
||||
long do_vcpu_op(int cmd, int vcpuid, void *arg)
|
||||
|
||||