Revision a97d6fe6

b/hw/i386/pc_piix.c
91 91
    DeviceState *icc_bridge;
92 92
    FWCfgState *fw_cfg = NULL;
93 93

  
94
    if (xen_enabled() && xen_hvm_init() != 0) {
95
        fprintf(stderr, "xen hardware virtual machine initialisation failed\n");
96
        exit(1);
97
    }
98

  
94 99
    icc_bridge = qdev_create(NULL, TYPE_ICC_BRIDGE);
95 100
    object_property_add_child(qdev_get_machine(), "icc-bridge",
96 101
                              OBJECT(icc_bridge), NULL);
......
320 325
#ifdef CONFIG_XEN
321 326
static void pc_xen_hvm_init(QEMUMachineInitArgs *args)
322 327
{
323
    if (xen_hvm_init() != 0) {
324
        hw_error("xen hardware virtual machine initialisation failed");
325
    }
326 328
    pc_init_pci(args);
327 329
}
328 330
#endif
b/xen-stub.c
63 63
void xen_modified_memory(ram_addr_t start, ram_addr_t length)
64 64
{
65 65
}
66

  
67
int xen_hvm_init(void)
68
{
69
    return 0;
70
}

Also available in: Unified diff