Statistics
| Branch: | Revision:

root / xen-stub.c @ 834574ea

History | View | Annotate | Download (1.2 kB)

1 3285cf4f Anthony PERARD
/*
2 3285cf4f Anthony PERARD
 * Copyright (C) 2010       Citrix Ltd.
3 3285cf4f Anthony PERARD
 *
4 3285cf4f Anthony PERARD
 * This work is licensed under the terms of the GNU GPL, version 2.  See
5 3285cf4f Anthony PERARD
 * the COPYING file in the top-level directory.
6 3285cf4f Anthony PERARD
 *
7 6b620ca3 Paolo Bonzini
 * Contributions after 2012-01-13 are licensed under the terms of the
8 6b620ca3 Paolo Bonzini
 * GNU GPL, version 2 or (at your option) any later version.
9 3285cf4f Anthony PERARD
 */
10 3285cf4f Anthony PERARD
11 3285cf4f Anthony PERARD
#include "qemu-common.h"
12 3285cf4f Anthony PERARD
#include "hw/xen.h"
13 022c62cb Paolo Bonzini
#include "exec/memory.h"
14 39f42439 Anthony PERARD
#include "qmp-commands.h"
15 3285cf4f Anthony PERARD
16 0f51726a Stefano Stabellini
void xenstore_store_pv_console_info(int i, CharDriverState *chr)
17 0f51726a Stefano Stabellini
{
18 0f51726a Stefano Stabellini
}
19 0f51726a Stefano Stabellini
20 41445300 Anthony PERARD
int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
21 41445300 Anthony PERARD
{
22 41445300 Anthony PERARD
    return -1;
23 41445300 Anthony PERARD
}
24 41445300 Anthony PERARD
25 41445300 Anthony PERARD
void xen_piix3_set_irq(void *opaque, int irq_num, int level)
26 41445300 Anthony PERARD
{
27 41445300 Anthony PERARD
}
28 41445300 Anthony PERARD
29 41445300 Anthony PERARD
void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
30 41445300 Anthony PERARD
{
31 41445300 Anthony PERARD
}
32 41445300 Anthony PERARD
33 f1dbf015 Wei Liu
void xen_hvm_inject_msi(uint64_t addr, uint32_t data)
34 f1dbf015 Wei Liu
{
35 f1dbf015 Wei Liu
}
36 f1dbf015 Wei Liu
37 c9622478 Anthony PERARD
void xen_cmos_set_s3_resume(void *opaque, int irq, int level)
38 c9622478 Anthony PERARD
{
39 c9622478 Anthony PERARD
}
40 c9622478 Anthony PERARD
41 fce537d4 Avi Kivity
void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, MemoryRegion *mr)
42 432d268c Jun Nakajima
{
43 432d268c Jun Nakajima
}
44 432d268c Jun Nakajima
45 9c11a8ac Anthony PERARD
qemu_irq *xen_interrupt_controller_init(void)
46 9c11a8ac Anthony PERARD
{
47 9c11a8ac Anthony PERARD
    return NULL;
48 9c11a8ac Anthony PERARD
}
49 9c11a8ac Anthony PERARD
50 3285cf4f Anthony PERARD
int xen_init(void)
51 3285cf4f Anthony PERARD
{
52 3285cf4f Anthony PERARD
    return -ENOSYS;
53 3285cf4f Anthony PERARD
}
54 c65adf9b Avi Kivity
55 c65adf9b Avi Kivity
void xen_register_framebuffer(MemoryRegion *mr)
56 c65adf9b Avi Kivity
{
57 c65adf9b Avi Kivity
}
58 39f42439 Anthony PERARD
59 39f42439 Anthony PERARD
void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
60 39f42439 Anthony PERARD
{
61 39f42439 Anthony PERARD
}
62 910b38e4 Anthony PERARD
63 910b38e4 Anthony PERARD
void xen_modified_memory(ram_addr_t start, ram_addr_t length)
64 910b38e4 Anthony PERARD
{
65 910b38e4 Anthony PERARD
}