Anthony PERARD | 3285cf4 | 2010-08-19 12:27:56 +0100 | [diff] [blame] | 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 | * |
Paolo Bonzini | 6b620ca | 2012-01-13 17:44:23 +0100 | [diff] [blame] | 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. |
Anthony PERARD | 3285cf4 | 2010-08-19 12:27:56 +0100 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #include "qemu-common.h" |
Paolo Bonzini | 0d09e41 | 2013-02-05 17:06:20 +0100 | [diff] [blame] | 12 | #include "hw/xen/xen.h" |
Paolo Bonzini | 022c62c | 2012-12-17 18:19:49 +0100 | [diff] [blame] | 13 | #include "exec/memory.h" |
Anthony PERARD | 39f4243 | 2012-10-03 13:48:19 +0000 | [diff] [blame] | 14 | #include "qmp-commands.h" |
Anthony PERARD | 3285cf4 | 2010-08-19 12:27:56 +0100 | [diff] [blame] | 15 | |
Stefano Stabellini | 0f51726 | 2011-06-30 18:26:29 +0100 | [diff] [blame] | 16 | void xenstore_store_pv_console_info(int i, CharDriverState *chr) |
| 17 | { |
| 18 | } |
| 19 | |
Anthony PERARD | 4144530 | 2010-07-16 14:55:39 +0100 | [diff] [blame] | 20 | int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) |
| 21 | { |
| 22 | return -1; |
| 23 | } |
| 24 | |
| 25 | void xen_piix3_set_irq(void *opaque, int irq_num, int level) |
| 26 | { |
| 27 | } |
| 28 | |
| 29 | void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len) |
| 30 | { |
| 31 | } |
| 32 | |
Wei Liu | f1dbf01 | 2012-04-12 10:01:43 +0000 | [diff] [blame] | 33 | void xen_hvm_inject_msi(uint64_t addr, uint32_t data) |
| 34 | { |
| 35 | } |
| 36 | |
Anthony PERARD | c962247 | 2010-10-05 16:40:22 +0100 | [diff] [blame] | 37 | void xen_cmos_set_s3_resume(void *opaque, int irq, int level) |
| 38 | { |
| 39 | } |
| 40 | |
Avi Kivity | fce537d | 2011-12-18 15:48:55 +0200 | [diff] [blame] | 41 | void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, MemoryRegion *mr) |
Jun Nakajima | 432d268 | 2010-08-31 16:41:25 +0100 | [diff] [blame] | 42 | { |
| 43 | } |
| 44 | |
Anthony PERARD | 9c11a8a | 2010-06-30 17:50:10 +0100 | [diff] [blame] | 45 | qemu_irq *xen_interrupt_controller_init(void) |
| 46 | { |
| 47 | return NULL; |
| 48 | } |
| 49 | |
Anthony PERARD | 3285cf4 | 2010-08-19 12:27:56 +0100 | [diff] [blame] | 50 | int xen_init(void) |
| 51 | { |
| 52 | return -ENOSYS; |
| 53 | } |
Avi Kivity | c65adf9 | 2011-12-18 16:40:50 +0200 | [diff] [blame] | 54 | |
| 55 | void xen_register_framebuffer(MemoryRegion *mr) |
| 56 | { |
| 57 | } |
Anthony PERARD | 39f4243 | 2012-10-03 13:48:19 +0000 | [diff] [blame] | 58 | |
| 59 | void qmp_xen_set_global_dirty_log(bool enable, Error **errp) |
| 60 | { |
| 61 | } |
Anthony PERARD | 910b38e | 2012-10-03 13:48:45 +0000 | [diff] [blame] | 62 | |
| 63 | void xen_modified_memory(ram_addr_t start, ram_addr_t length) |
| 64 | { |
| 65 | } |
Paul Durrant | a97d6fe | 2013-06-25 11:46:37 +0000 | [diff] [blame] | 66 | |
Anthony PERARD | 04d7bad | 2013-09-09 16:15:52 +0000 | [diff] [blame] | 67 | int xen_hvm_init(MemoryRegion **ram_memory) |
Paul Durrant | a97d6fe | 2013-06-25 11:46:37 +0000 | [diff] [blame] | 68 | { |
| 69 | return 0; |
| 70 | } |