xen-hvm.c (b6cacfea0b38300e3ea5fd6d486d5085122554eb) xen-hvm.c (e2abfe5ec67b69fb310fbeaacf7e68d61d16609e)
1/*
2 * Copyright (C) 2010 Citrix Ltd.
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2. See
5 * the COPYING file in the top-level directory.
6 *
7 * Contributions after 2012-01-13 are licensed under the terms of the
8 * GNU GPL, version 2 or (at your option) any later version.

--- 4 unchanged lines hidden (view full) ---

13
14#include "cpu.h"
15#include "hw/pci/pci.h"
16#include "hw/pci/pci_host.h"
17#include "hw/i386/pc.h"
18#include "hw/irq.h"
19#include "hw/hw.h"
20#include "hw/i386/apic-msidef.h"
1/*
2 * Copyright (C) 2010 Citrix Ltd.
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2. See
5 * the COPYING file in the top-level directory.
6 *
7 * Contributions after 2012-01-13 are licensed under the terms of the
8 * GNU GPL, version 2 or (at your option) any later version.

--- 4 unchanged lines hidden (view full) ---

13
14#include "cpu.h"
15#include "hw/pci/pci.h"
16#include "hw/pci/pci_host.h"
17#include "hw/i386/pc.h"
18#include "hw/irq.h"
19#include "hw/hw.h"
20#include "hw/i386/apic-msidef.h"
21#include "hw/xen/xen_common.h"
21#include "hw/xen/xen_native.h"
22#include "hw/xen/xen-legacy-backend.h"
23#include "hw/xen/xen-bus.h"
24#include "hw/xen/xen-x86.h"
25#include "qapi/error.h"
26#include "qapi/qapi-commands-migration.h"
27#include "qemu/error-report.h"
28#include "qemu/main-loop.h"
29#include "qemu/range.h"

--- 17 unchanged lines hidden (view full) ---

47#endif
48
49static MemoryRegion ram_memory, ram_640k, ram_lo, ram_hi;
50static MemoryRegion *framebuffer;
51static bool xen_in_migration;
52
53/* Compatibility with older version */
54
22#include "hw/xen/xen-legacy-backend.h"
23#include "hw/xen/xen-bus.h"
24#include "hw/xen/xen-x86.h"
25#include "qapi/error.h"
26#include "qapi/qapi-commands-migration.h"
27#include "qemu/error-report.h"
28#include "qemu/main-loop.h"
29#include "qemu/range.h"

--- 17 unchanged lines hidden (view full) ---

47#endif
48
49static MemoryRegion ram_memory, ram_640k, ram_lo, ram_hi;
50static MemoryRegion *framebuffer;
51static bool xen_in_migration;
52
53/* Compatibility with older version */
54
55/* This allows QEMU to build on a system that has Xen 4.5 or earlier
56 * installed. This here (not in hw/xen/xen_common.h) because xen/hvm/ioreq.h
57 * needs to be included before this block and hw/xen/xen_common.h needs to
58 * be included before xen/hvm/ioreq.h
55/*
56 * This allows QEMU to build on a system that has Xen 4.5 or earlier installed.
57 * This is here (not in hw/xen/xen_native.h) because xen/hvm/ioreq.h needs to
58 * be included before this block and hw/xen/xen_native.h needs to be included
59 * before xen/hvm/ioreq.h
59 */
60#ifndef IOREQ_TYPE_VMWARE_PORT
61#define IOREQ_TYPE_VMWARE_PORT 3
62struct vmware_regs {
63 uint32_t esi;
64 uint32_t edi;
65 uint32_t ebx;
66 uint32_t ecx;

--- 1540 unchanged lines hidden ---
60 */
61#ifndef IOREQ_TYPE_VMWARE_PORT
62#define IOREQ_TYPE_VMWARE_PORT 3
63struct vmware_regs {
64 uint32_t esi;
65 uint32_t edi;
66 uint32_t ebx;
67 uint32_t ecx;

--- 1540 unchanged lines hidden ---