Simplify boot_vcpu() implementation.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-11-28 13:39:22 +01:00
1 parent dad18c78cb
commit fde3ff3095
1 file changed
+1 -5
+1 -5
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.