Move KVM and Xen global flags to vl.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d2053c3cca
commit
d745bef890
|
@ -29,9 +29,6 @@
|
||||||
#include "xen_backend.h"
|
#include "xen_backend.h"
|
||||||
#include "xen_domainbuild.h"
|
#include "xen_domainbuild.h"
|
||||||
|
|
||||||
uint32_t xen_domid;
|
|
||||||
enum xen_mode xen_mode = XEN_EMULATE;
|
|
||||||
|
|
||||||
static void xen_init_pv(ram_addr_t ram_size,
|
static void xen_init_pv(ram_addr_t ram_size,
|
||||||
const char *boot_device,
|
const char *boot_device,
|
||||||
const char *kernel_filename,
|
const char *kernel_filename,
|
||||||
|
|
|
@ -51,8 +51,6 @@ typedef struct KVMSlot
|
||||||
|
|
||||||
typedef struct kvm_dirty_log KVMDirtyLog;
|
typedef struct kvm_dirty_log KVMDirtyLog;
|
||||||
|
|
||||||
int kvm_allowed = 0;
|
|
||||||
|
|
||||||
struct KVMState
|
struct KVMState
|
||||||
{
|
{
|
||||||
KVMSlot slots[32];
|
KVMSlot slots[32];
|
||||||
|
|
4
vl.c
4
vl.c
|
@ -258,6 +258,10 @@ uint8_t qemu_uuid[16];
|
||||||
static QEMUBootSetHandler *boot_set_handler;
|
static QEMUBootSetHandler *boot_set_handler;
|
||||||
static void *boot_set_opaque;
|
static void *boot_set_opaque;
|
||||||
|
|
||||||
|
int kvm_allowed = 0;
|
||||||
|
uint32_t xen_domid;
|
||||||
|
enum xen_mode xen_mode = XEN_EMULATE;
|
||||||
|
|
||||||
#ifdef SIGRTMIN
|
#ifdef SIGRTMIN
|
||||||
#define SIG_IPI (SIGRTMIN+4)
|
#define SIG_IPI (SIGRTMIN+4)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue