Allow booting XENHVM kernel without Xen hypervisor.
MFC after: 3 days
This commit is contained in:
parent
57280be3ea
commit
c41979e593
@ -436,6 +436,9 @@ balloon_init_watcher(void *arg)
|
||||
{
|
||||
int err;
|
||||
|
||||
if (!is_running_on_xen())
|
||||
return;
|
||||
|
||||
err = xs_register_watch(&target_watch);
|
||||
if (err)
|
||||
printf("Failed to set balloon watcher\n");
|
||||
|
Loading…
Reference in New Issue
Block a user