Allow booting XENHVM kernel without Xen hypervisor.

MFC after:	3 days
This commit is contained in:
fabient 2012-06-20 15:45:50 +00:00
parent 57280be3ea
commit c41979e593

View File

@ -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");