aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr.c
diff options
context:
space:
mode:
authorBen Herrenschmidt <benh@kernel.crashing.org>2011-04-01 15:15:30 +1100
committerAlexander Graf <agraf@suse.de>2011-04-01 18:34:56 +0200
commitb45d63b62f0c05eb54bba0fafaf29b9b3f4dd99a (patch)
treed4361d808e7a29cb99e1fed95637ba7dc8a24445 /hw/spapr.c
parent8d90ad900507e373a7aa26daacd51e0474760425 (diff)
downloadqemu-b45d63b62f0c05eb54bba0fafaf29b9b3f4dd99a.zip
qemu-b45d63b62f0c05eb54bba0fafaf29b9b3f4dd99a.tar.gz
qemu-b45d63b62f0c05eb54bba0fafaf29b9b3f4dd99a.tar.bz2
Implement PAPR CRQ hypercalls
This patch implements the infrastructure and hypercalls necessary for the PAPR specified CRQ (Command Request Queue) mechanism. This general request queueing system is used by many of the PAPR virtual IO devices, including the virtual scsi adapter. Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr.c')
-rw-r--r--hw/spapr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr.c b/hw/spapr.c
index c7306d9..b432a9d 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -67,7 +67,7 @@ static void *spapr_create_fdt(int *fdt_size, ram_addr_t ramsize,
uint32_t end_prop = cpu_to_be32(initrd_base + initrd_size);
uint32_t pft_size_prop[] = {0, cpu_to_be32(hash_shift)};
char hypertas_prop[] = "hcall-pft\0hcall-term\0hcall-dabr\0hcall-interrupt"
- "\0hcall-tce";
+ "\0hcall-tce\0hcall-vio";
uint32_t interrupt_server_ranges_prop[] = {0, cpu_to_be32(smp_cpus)};
int i;
char *modelname;