blob: c5003251cb8500d328052a08f9467b7c84b279f1 [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
Peter Maydell21cbfe52016-01-26 18:17:06 +000011#include "qemu/osdep.h"
Anthony PERARD3285cf42010-08-19 12:27:56 +010012#include "qemu-common.h"
Paolo Bonzini0d09e412013-02-05 17:06:20 +010013#include "hw/xen/xen.h"
Paolo Bonzini022c62c2012-12-17 18:19:49 +010014#include "exec/memory.h"
Anthony PERARD39f42432012-10-03 13:48:19 +000015#include "qmp-commands.h"
Anthony PERARD3285cf42010-08-19 12:27:56 +010016
Anthony PERARD41445302010-07-16 14:55:39 +010017int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
18{
19 return -1;
20}
21
22void xen_piix3_set_irq(void *opaque, int irq_num, int level)
23{
24}
25
26void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
27{
28}
29
Wei Liuf1dbf012012-04-12 10:01:43 +000030void xen_hvm_inject_msi(uint64_t addr, uint32_t data)
31{
32}
33
Stefano Stabellini428c3ec2016-01-13 14:59:09 +000034int xen_is_pirq_msi(uint32_t msi_data)
35{
36 return 0;
37}
38
Markus Armbruster37aa7a02016-01-14 16:09:39 +010039void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, MemoryRegion *mr,
40 Error **errp)
Jun Nakajima432d2682010-08-31 16:41:25 +010041{
42}
43
Anthony PERARD9c11a8a2010-06-30 17:50:10 +010044qemu_irq *xen_interrupt_controller_init(void)
45{
46 return NULL;
47}
48
Avi Kivityc65adf92011-12-18 16:40:50 +020049void xen_register_framebuffer(MemoryRegion *mr)
50{
51}
Anthony PERARD39f42432012-10-03 13:48:19 +000052
Anthony PERARD910b38e2012-10-03 13:48:45 +000053void xen_modified_memory(ram_addr_t start, ram_addr_t length)
54{
55}
Paul Durranta97d6fe2013-06-25 11:46:37 +000056
Markus Armbrusterdced4d22016-01-14 16:09:38 +010057void xen_hvm_init(PCMachineState *pcms, MemoryRegion **ram_memory)
Paul Durranta97d6fe2013-06-25 11:46:37 +000058{
Paul Durranta97d6fe2013-06-25 11:46:37 +000059}
Wei Liu04b0de02014-05-07 16:16:43 +000060
61void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
62{
63}