Merge branch 'hvm' of 10.141.1.101:/var/lib/qubes/git/marmarek/core into hvm
This commit is contained in:
commit
54b08ee0f9
@ -1192,6 +1192,7 @@ class QubesVm(object):
|
||||
def start_qrexec_daemon(self, verbose = False):
|
||||
if verbose:
|
||||
print >> sys.stderr, "--> Starting the qrexec daemon..."
|
||||
xid = self.get_xid()
|
||||
retcode = subprocess.call ([qrexec_daemon_path, str(xid)])
|
||||
if (retcode != 0) :
|
||||
self.force_shutdown()
|
||||
@ -2556,8 +2557,9 @@ class QubesVmCollection(dict):
|
||||
if "uses_default_kernelopts" in kwargs:
|
||||
kwargs["uses_default_kernelopts"] = False if kwargs["uses_default_kernelopts"] == "False" else True
|
||||
|
||||
if "kernelopts" not in kwargs or kwargs["kernelopts"] == "None":
|
||||
if "kernelopts" in kwargs and kwargs["kernelopts"] == "None":
|
||||
kwargs.pop("kernelopts")
|
||||
if "kernelopts" not in kwargs:
|
||||
kwargs["uses_default_kernelopts"] = True
|
||||
|
||||
return kwargs
|
||||
|
@ -32,10 +32,11 @@
|
||||
#include <xenctrl.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <mm.h>
|
||||
#include "libvchan.h"
|
||||
#ifndef CONFIG_STUBDOM
|
||||
#include "../u2mfn/u2mfnlib.h"
|
||||
#else
|
||||
#include <mm.h>
|
||||
#endif
|
||||
|
||||
static int ring_init(struct libvchan *ctrl)
|
||||
|
Loading…
Reference in New Issue
Block a user