diff options
author | Anton Blanchard <anton@samba.org> | 2013-08-19 21:04:20 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-09-02 10:06:42 +0200 |
commit | 42561bf2e464a2d682707af1640fc2db1e937c42 (patch) | |
tree | 9ff135561555618458d6bf6fe9b14b2ee5a6627a /hw/ppc/spapr.c | |
parent | 33a0e5d8c555091eef6944595d8787cb9274e451 (diff) | |
download | qemu-42561bf2e464a2d682707af1640fc2db1e937c42.zip qemu-42561bf2e464a2d682707af1640fc2db1e937c42.tar.gz qemu-42561bf2e464a2d682707af1640fc2db1e937c42.tar.bz2 |
pseries: Add H_SET_MODE hcall to change guest exception endianness
H_SET_MODE is used for controlling various partition settings. One
of these settings is the endianness a guest takes its exceptions in.
Signed-off-by: Anton Blanchard <anton@samba.org>
[agraf: fix whitespace]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/spapr.c')
-rw-r--r-- | hw/ppc/spapr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 1ce9b0b..04f0ee3 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -282,7 +282,7 @@ static void *spapr_create_fdt_skel(const char *cpu_model, uint32_t start_prop = cpu_to_be32(initrd_base); uint32_t end_prop = cpu_to_be32(initrd_base + initrd_size); char hypertas_prop[] = "hcall-pft\0hcall-term\0hcall-dabr\0hcall-interrupt" - "\0hcall-tce\0hcall-vio\0hcall-splpar\0hcall-bulk"; + "\0hcall-tce\0hcall-vio\0hcall-splpar\0hcall-bulk\0hcall-set-mode"; char qemu_hypertas_prop[] = "hcall-memop1"; uint32_t refpoints[] = {cpu_to_be32(0x4), cpu_to_be32(0x4)}; uint32_t interrupt_server_ranges_prop[] = {0, cpu_to_be32(smp_cpus)}; |