blob: 46867d87d70493b0bd25aaee9e6a1b552dd18f37 [file] [log] [blame]
Anthony PERARD3285cf42010-08-19 12:27:56 +01001/*
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 *
Paolo Bonzini6b620ca2012-01-13 17:44:23 +01007 * Contributions after 2012-01-13 are licensed under the terms of the
8 * GNU GPL, version 2 or (at your option) any later version.
Anthony PERARD3285cf42010-08-19 12:27:56 +01009 */
10
11#include "qemu-common.h"
Paolo Bonzini0d09e412013-02-05 17:06:20 +010012#include "hw/xen/xen.h"
Paolo Bonzini022c62c2012-12-17 18:19:49 +010013#include "exec/memory.h"
Anthony PERARD39f42432012-10-03 13:48:19 +000014#include "qmp-commands.h"
Anthony PERARD3285cf42010-08-19 12:27:56 +010015
Anthony PERARD41445302010-07-16 14:55:39 +010016int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
17{
18 return -1;
19}
20
21void xen_piix3_set_irq(void *opaque, int irq_num, int level)
22{
23}
24
25void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
26{
27}
28
Wei Liuf1dbf012012-04-12 10:01:43 +000029void xen_hvm_inject_msi(uint64_t addr, uint32_t data)
30{
31}
32
Avi Kivityfce537d2011-12-18 15:48:55 +020033void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, MemoryRegion *mr)
Jun Nakajima432d2682010-08-31 16:41:25 +010034{
35}
36
Anthony PERARD9c11a8a2010-06-30 17:50:10 +010037qemu_irq *xen_interrupt_controller_init(void)
38{
39 return NULL;
40}
41
Avi Kivityc65adf92011-12-18 16:40:50 +020042void xen_register_framebuffer(MemoryRegion *mr)
43{
44}
Anthony PERARD39f42432012-10-03 13:48:19 +000045
Anthony PERARD910b38e2012-10-03 13:48:45 +000046void xen_modified_memory(ram_addr_t start, ram_addr_t length)
47{
48}
Paul Durranta97d6fe2013-06-25 11:46:37 +000049
Don Slutz3c2a9662014-06-19 21:40:24 -040050int xen_hvm_init(ram_addr_t *below_4g_mem_size, ram_addr_t *above_4g_mem_size,
51 MemoryRegion **ram_memory)
Paul Durranta97d6fe2013-06-25 11:46:37 +000052{
53 return 0;
54}
Wei Liu04b0de02014-05-07 16:16:43 +000055
56void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
57{
58}