Revision a97d6fe6 hw/i386/pc_piix.c

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

Also available in: Unified diff