blob: ad189a6df8c276c2ff77aee0d3581b2a0ea24d58 [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
Stefano Stabellini0f517262011-06-30 18:26:29 +010016void xenstore_store_pv_console_info(int i, CharDriverState *chr)
17{
18}
19
Anthony PERARD41445302010-07-16 14:55:39 +010020int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
21{
22 return -1;
23}
24
25void xen_piix3_set_irq(void *opaque, int irq_num, int level)
26{
27}
28
29void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
30{
31}
32
Wei Liuf1dbf012012-04-12 10:01:43 +000033void xen_hvm_inject_msi(uint64_t addr, uint32_t data)
34{
35}
36
Anthony PERARDc9622472010-10-05 16:40:22 +010037void xen_cmos_set_s3_resume(void *opaque, int irq, int level)
38{
39}
40
Avi Kivityfce537d2011-12-18 15:48:55 +020041void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, MemoryRegion *mr)
Jun Nakajima432d2682010-08-31 16:41:25 +010042{
43}
44
Anthony PERARD9c11a8a2010-06-30 17:50:10 +010045qemu_irq *xen_interrupt_controller_init(void)
46{
47 return NULL;
48}
49
Anthony PERARD3285cf42010-08-19 12:27:56 +010050int xen_init(void)
51{
52 return -ENOSYS;
53}
Avi Kivityc65adf92011-12-18 16:40:50 +020054
55void xen_register_framebuffer(MemoryRegion *mr)
56{
57}
Anthony PERARD39f42432012-10-03 13:48:19 +000058
59void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
60{
61}
Anthony PERARD910b38e2012-10-03 13:48:45 +000062
63void xen_modified_memory(ram_addr_t start, ram_addr_t length)
64{
65}
Paul Durranta97d6fe2013-06-25 11:46:37 +000066
Anthony PERARD04d7bad2013-09-09 16:15:52 +000067int xen_hvm_init(MemoryRegion **ram_memory)
Paul Durranta97d6fe2013-06-25 11:46:37 +000068{
69 return 0;
70}