Go to file
David Gibson 6b7a2cf6d9 pseries: Under kvm use guest cpu = host cpu by default
Now that we've implemented -cpu host for ppc, this patch updates the
pseries machine to use the host cpu as the guest cpu by default when
running under KVM.  This is important because under KVM Book3S-HV the guest
cpu _cannot_ be of a different type to the host cpu (at the moment
KVM Book3S-HV will silently virtualize the host cpu instead of whatever was
requested, but in future it is likely to simply refuse to run the VM if
a cpu model other than the host's is requested).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-10-30 17:11:54 +01:00
audio Merge remote-tracking branch 'qmp/queue/qmp' into staging 2011-09-20 15:16:00 -05:00
block block: change discard to co_discard 2011-10-21 17:34:14 +02:00
bsd-user Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
darwin-user Remove blanks before \n in output strings 2011-09-16 08:25:56 -05:00
default-configs i8259: Move to hw library 2011-10-16 11:11:56 +00:00
docs trace: Update docs to use example events that exist 2011-09-21 11:32:37 +01:00
fpu softfloat: Implement fused multiply-add 2011-10-19 16:14:06 +00:00
fsdev hw/9pfs: Handle Security model parsing 2011-10-15 15:30:27 +05:30
gdb-xml
hw pseries: Under kvm use guest cpu = host cpu by default 2011-10-30 17:11:54 +01:00
libcacard Silence make if nothing is to do for libcacard 2011-09-21 10:49:38 +01:00
linux-headers KVM: Update kernel headers 2011-10-06 09:48:07 +02:00
linux-user target-sparc: Change fpr representation to doubles. 2011-10-26 13:55:26 -07:00
net Allow overriding the location of Samba's smbd. 2011-09-03 17:45:48 +00:00
pc-bios pseries: Update SLOF firmware image 2011-10-30 17:11:54 +01:00
qapi qapi: modify visitor code generation for list iteration 2011-10-04 11:00:46 -03:00
qga Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
QMP
roms pseries: Update SLOF firmware image 2011-10-30 17:11:54 +01:00
scripts hw/9pfs: Make VirtFS tracing work correctly 2011-10-30 09:05:28 +00:00
slirp main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
sysconfigs/target
target-alpha target-alpha: Add high-resolution access to wall clock and an alarm. 2011-10-08 08:49:09 -07:00
target-arm target-arm: Fix use of free() in cpu_arm_close() 2011-10-20 14:25:29 +00:00
target-cris softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-i386 kvm: support TSC deadline MSR 2011-10-03 13:53:14 -03:00
target-lm32 lm32: add missing qemu_init_vcpu() call 2011-10-03 12:44:22 +02:00
target-m68k softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-microblaze softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-mips softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-ppc ppc: Add cpu defs for POWER7 revisions 2.1 and 2.3 2011-10-30 17:11:54 +01:00
target-s390x softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-sh4 softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
target-sparc target-sparc: Implement FALIGNDATA inline. 2011-10-26 14:00:19 -07:00
target-unicore32 Use hex instead of binary. 2011-09-09 12:58:16 -05:00
target-xtensa target-xtensa: add fsf core 2011-10-16 10:40:16 +00:00
tcg tcg: Optimize some forms of deposit. 2011-10-30 09:06:23 +00:00
tests target-xtensa: rename dc232b board to sim 2011-10-16 10:40:23 +00:00
trace trace: use binary file open mode in simpletrace 2011-09-21 11:30:10 +01:00
ui migration: Export a function that tells if the migration has finished correctly 2011-10-20 13:23:54 +02:00
.gitignore Add linux-headers/asm to .gitignore 2011-10-30 09:03:55 +00:00
.gitmodules target-alpha: Add custom PALcode image for CLIPPER emulation. 2011-10-08 08:46:03 -07:00
a.out.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
acl.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
acl.h
aes.c
aes.h
aio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
alpha-dis.c
alpha.ld
arch_init.c migration: make *save_live return errors 2011-10-20 13:23:52 +02:00
arch_init.h target-xtensa: add target stubs 2011-09-10 16:57:36 +00:00
arm-dis.c
arm-semi.c arm-semi: Provide access to CLI arguments passed through the "-append" option 2011-07-11 16:05:46 +03:00
arm.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
async.c main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
balloon.c balloon: Disassociate handlers from balloon device on unplug 2011-09-09 12:58:16 -05:00
balloon.h balloon: Disassociate handlers from balloon device on unplug 2011-09-09 12:58:16 -05:00
bitmap.c
bitmap.h Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
bitops.c
bitops.h
block_int.h block: change discard to co_discard 2011-10-21 17:34:14 +02:00
block-migration.c migration: make *save_live return errors 2011-10-20 13:23:52 +02:00
block-migration.h
block.c block: change discard to co_discard 2011-10-21 17:34:14 +02:00
block.h block: add bdrv_co_discard and bdrv_aio_discard support 2011-10-21 17:34:13 +02:00
blockdev.c ide/atapi scsi-disk: Make monitor eject -f, then change work 2011-09-12 15:17:22 +02:00
blockdev.h
bswap.h bswap.h: build fix 2011-09-16 08:26:31 -05:00
bt-host.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
bt-host.h
bt-vhci.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
buffered_file.c migration: use qemu_file_get_error() return value when possible 2011-10-20 13:23:52 +02:00
buffered_file.h
cache-utils.c
cache-utils.h
Changelog
check-qdict.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
check-qfloat.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
check-qint.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
check-qjson.c Fix qjson test of solidus encoding 2011-09-06 10:15:39 -03:00
check-qlist.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
check-qstring.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
cmd.c use qemu_* ctype functions 2011-09-21 11:10:52 +01:00
cmd.h
CODING_STYLE CODING_STYLE: explicitly allow braceless 'else if' 2011-07-29 09:33:56 -05:00
compatfd.c compatfd.c: Don't pass NULL pointer to SYS_signalfd 2011-10-21 18:01:35 +02:00
compatfd.h Register Linux dyntick timer as per-thread signal 2011-07-23 11:26:12 -05:00
compiler.h Fix and clean code which tests the gcc version 2011-09-23 11:51:05 -05:00
config.h
configure hw/9pfs: Add st_gen support in getattr reply 2011-10-15 15:30:27 +05:30
console.c Fix mismatching allocation and deallocation 2011-10-05 09:23:00 +01:00
console.h curses: fix garbling when chtype != long 2011-09-09 12:58:16 -05:00
COPYING
COPYING.LIB
coroutine-gthread.c Convert last qemu_free and qemu_malloc uses 2011-08-21 18:42:08 +00:00
coroutine-ucontext.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
coroutine-win32.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
cpu-all.h Remove qemu_host_page_bits 2011-09-21 10:50:59 +01:00
cpu-common.h Merge remote-tracking branch 'agraf/xen-next' into staging 2011-07-29 09:42:12 -05:00
cpu-defs.h
cpu-exec.c PPC: Fix sync instructions problem in SMP 2011-10-06 09:48:03 +02:00
cpus.c simplify main loop functions 2011-10-21 18:14:31 +02:00
cpus.h simplify main loop functions 2011-10-21 18:14:31 +02:00
cris-dis.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
cutils.c Fix up some style nits of last uq/master merge 2011-08-25 09:21:35 +01:00
def-helper.h
device_tree.c device tree: give dt more size 2011-10-06 09:48:01 +02:00
device_tree.h device tree: add add_subnode command 2011-10-06 09:48:00 +02:00
dis-asm.h
disas.c disasm: update comment 2011-08-25 09:21:48 +01:00
disas.h
dma-helpers.c dma-helpers: rewrite completion/cancellation 2011-09-20 12:27:43 +02:00
dma.h dma-helpers: allow including from target-independent code 2011-09-20 12:27:34 +02:00
dyngen-exec.h Move GETPC from dyngen-exec.h to exec-all.h 2011-10-01 09:31:43 +00:00
elf.h target-xtensa: add target stubs 2011-09-10 16:57:36 +00:00
envlist.c
envlist.h
error_int.h
error.c error: let error_is_type take a NULL error 2011-10-04 11:00:46 -03:00
error.h Error: Fix build when qemu-common.h is not included 2011-07-21 16:48:13 -03:00
exec-all.h exec-all: Fix void pointer arithmetic 2011-10-30 09:05:00 +00:00
exec-memory.h Integrate I/O memory regions into qemu 2011-08-08 10:15:53 -05:00
exec.c qemu-timer: move icount to cpus.c 2011-10-21 18:14:30 +02:00
gdbstub.c target-sparc: Change fpr representation to doubles. 2011-10-26 13:55:26 -07:00
gdbstub.h
gen-icount.h
HACKING Convert last qemu_free and qemu_malloc uses 2011-08-21 18:42:08 +00:00
hmp-commands.hx Merge remote-tracking branch 'qmp/queue/qmp' into staging 2011-10-10 08:21:46 -05:00
hmp.c qapi: Convert system_powerdown 2011-10-04 11:02:57 -03:00
hmp.h qapi: Convert system_powerdown 2011-10-04 11:02:57 -03:00
host-utils.c
host-utils.h Move macro QEMU_GNUC_PREREQ to compiler.h 2011-09-23 11:51:05 -05:00
hppa-dis.c hppa: Fix printf warnings in hppa-dis.c. 2011-07-01 21:06:48 +00:00
hppa.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
i386-dis.c
i386.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
ia64-dis.c
ia64.ld
input.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
iohandler.c Revert to a hand-made select loop 2011-10-21 18:14:30 +02:00
ioport-user.c
ioport.c Introduce PortioList 2011-10-11 15:57:07 +02:00
ioport.h Introduce PortioList 2011-10-11 15:57:07 +02:00
iorange.h
iov.c Add iov_clear() 2011-08-04 15:51:22 +02:00
iov.h Add iov_clear() 2011-08-04 15:51:22 +02:00
json-lexer.c
json-lexer.h
json-parser.c
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c RunState: Rename enum values as generated by the QAPI 2011-10-04 11:02:57 -03:00
kvm-stub.c Remove exec-all.h include directives 2011-06-26 18:25:35 +00:00
kvm.h kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid 2011-06-20 15:24:00 -03:00
libfdt_env.h
LICENSE
linux-aio.c linux-aio: Allow reads beyond the end of growable images 2011-10-14 10:29:13 +02:00
m68k-dis.c
m68k-semi.c Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
m68k.ld
main-loop.c main-loop: Add missing include file 2011-10-25 15:38:08 -05:00
main-loop.h main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
MAINTAINERS MAINTAINERS: update wiki URL and machine names for target-xtensa 2011-10-30 10:58:08 +00:00
Makefile Merge remote-tracking branch 'qmp/queue/qmp' into staging 2011-10-10 08:21:46 -05:00
Makefile.dis
Makefile.hw Makefile.hw: allow hw/ files to include glib headers 2011-09-04 17:46:51 +03:00
Makefile.objs main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
Makefile.target Sparc: split load and store op helpers 2011-10-26 17:19:20 +00:00
Makefile.user build: Move tracing objects into libuser on usermode emulation targets 2011-09-16 08:25:56 -05:00
memory.c memory: Fix old portio word accesses 2011-10-11 15:57:09 +02:00
memory.h memory: simple memory tree printer 2011-10-02 16:27:13 +02:00
microblaze-dis.c
migration-exec.c migration: move migrate_new to do_migrate 2011-10-20 13:23:53 +02:00
migration-fd.c migration: move migrate_new to do_migrate 2011-10-20 13:23:53 +02:00
migration-tcp.c migration: make migration-{tcp,unix} consistent 2011-10-20 13:23:55 +02:00
migration-unix.c migration: make migration-{tcp,unix} consistent 2011-10-20 13:23:55 +02:00
migration.c Merge remote-tracking branch 'quintela/migration-pull' into staging 2011-10-20 08:46:55 -05:00
migration.h migration: Make state definitions local 2011-10-20 13:23:54 +02:00
mips-dis.c Remove blanks before \n in output strings 2011-09-16 08:25:56 -05:00
mips.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
module.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
module.h qapi: add module init types for qapi 2011-07-21 16:48:13 -03:00
monitor.c target-sparc: Change fpr representation to doubles. 2011-10-26 13:55:26 -07:00
monitor.h
nbd.c nbd: fix non-Linux build failure 2011-09-21 11:34:43 +02:00
nbd.h nbd: sync API definitions with upstream 2011-09-19 11:34:33 +02:00
net.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
net.h Allow overriding the location of Samba's smbd. 2011-09-03 17:45:48 +00:00
notify.c notifier: Pass data argument to callback 2011-07-23 11:26:06 -05:00
notify.h notifier: Pass data argument to callback 2011-07-23 11:26:06 -05:00
os-posix.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
os-win32.c main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
osdep.c
osdep.h Move macro QEMU_GNUC_PREREQ to compiler.h 2011-09-23 11:51:05 -05:00
oslib-posix.c add socket_set_block 2011-10-21 17:34:12 +02:00
oslib-win32.c add socket_set_block 2011-10-21 17:34:12 +02:00
path.c
pci-ids.txt
pflib.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
pflib.h
poison.h Avoid CPU endian memory accesses in devices 2011-07-20 21:22:43 +00:00
posix-aio-compat.c block: avoid SIGUSR2 2011-09-20 14:32:56 +02:00
ppc64.ld ppc64: Fix linker script 2011-10-06 09:48:09 +02:00
ppc-dis.c
ppc.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
qapi-schema-guest.json guest agent: add guest agent RPCs/commands 2011-07-21 16:48:15 -03:00
qapi-schema-test.json qapi: test schema used for unit tests 2011-07-21 16:48:14 -03:00
qapi-schema.json qapi: Convert system_powerdown 2011-10-04 11:02:57 -03:00
qbool.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qbool.h
qdict-test-data.txt
qdict.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qdict.h
qemu_socket.h add socket_set_block 2011-10-21 17:34:12 +02:00
qemu-aio.h
qemu-barrier.h Barriers in qemu-barrier.h should not be x86 specific 2011-09-23 11:51:05 -05:00
qemu-char.c Add stdio char device on windows 2011-10-23 15:44:15 +00:00
qemu-char.h main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
qemu-common.h main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
qemu-config.c hw/9pfs: Rename fstype to fsdriver to make it consistent across VirtFS code 2011-10-15 15:30:27 +05:30
qemu-config.h
qemu-coroutine-int.h coroutines: Locks 2011-08-02 15:53:40 +02:00
qemu-coroutine-lock.c main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
qemu-coroutine.c coroutine: introduce coroutines 2011-08-01 12:14:09 +02:00
qemu-coroutine.h coroutine: Add CoRwlock support 2011-08-23 14:15:17 +02:00
qemu-doc.texi target-xtensa: update qemu-doc.texi 2011-10-15 21:38:07 +00:00
qemu-error.c Strip trailing '\n' from error_report()'s first argument 2011-06-24 09:13:36 +01:00
qemu-error.h
qemu-ga.c Fix spelling in comments and debug messages (recieve -> receive) 2011-08-29 11:47:33 +01:00
qemu-img-cmds.hx qemu-img: Require larger zero areas for sparse handling 2011-08-29 14:42:39 +02:00
qemu-img.c qemu-img: Don't allow preallocation and compression at the same time 2011-10-21 17:34:13 +02:00
qemu-img.texi qemu-img: Require larger zero areas for sparse handling 2011-08-29 14:42:39 +02:00
qemu-io.c fix memory leak in aio_write_f 2011-10-21 17:34:12 +02:00
qemu-lock.h
qemu-log.h
qemu-nbd.c nbd: support feature negotiation 2011-09-19 11:34:33 +02:00
qemu-nbd.texi
qemu-objects.h
qemu-option.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qemu-option.h
qemu-options.h
qemu-options.hx Merge remote-tracking branch 'aneesh/for-upstream-6' into staging 2011-10-20 08:42:08 -05:00
qemu-os-posix.h main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
qemu-os-win32.h main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
qemu-progress.c
qemu-queue.h
qemu-sockets.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qemu-tech.texi target-xtensa: update qemu-doc.texi 2011-10-15 21:38:07 +00:00
qemu-thread-posix.c Abort on thread layer errors 2011-09-21 10:50:10 +01:00
qemu-thread-posix.h
qemu-thread-win32.c Abort on thread layer errors 2011-09-21 10:50:10 +01:00
qemu-thread-win32.h
qemu-thread.h
qemu-timer-common.c
qemu-timer.c qemu-timer: do not use RunState change handlers 2011-10-21 18:14:30 +02:00
qemu-timer.h main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
qemu-tool.c core: remove qemu_service_io 2011-09-23 10:55:32 -05:00
qemu-x509.h
qemu.sasl
qerror.c qerror: add qerror_report_err() 2011-10-04 11:00:46 -03:00
qerror.h qerror: add qerror_report_err() 2011-10-04 11:00:46 -03:00
qfloat.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qfloat.h
qint.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qint.h
qjson.c
qjson.h
qlist.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qlist.h qlist: add qlist_first()/qlist_next() 2011-07-21 16:48:13 -03:00
qmp-commands.hx QMP: Fix blockdev-snapshot-sync doc example 2011-10-19 10:39:59 -02:00
qmp.c qapi: Convert system_powerdown 2011-10-04 11:02:57 -03:00
qobject.h
qstring.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qstring.h
range.h
readline.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
readline.h
README
rules.mak build: sort objects to remove duplicates for link 2011-09-01 13:12:51 -05:00
s390-dis.c
s390.ld
savevm.c qemu-timer: move more stuff out of qemu-timer.c 2011-10-21 18:14:30 +02:00
sh4-dis.c
softmmu_defs.h Document softmmu templates 2011-10-01 09:31:08 +00:00
softmmu_exec.h Document softmmu templates 2011-10-01 09:31:08 +00:00
softmmu_header.h Document softmmu templates 2011-10-01 09:31:08 +00:00
softmmu_template.h softmmu_header: pass CPUState to tlb_fill 2011-10-01 09:31:26 +00:00
softmmu-semi.h Correct spelling of licensed 2011-07-23 11:26:12 -05:00
sparc64.ld
sparc-dis.c
sparc.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
spice-qemu-char.c spice-qemu-char.c: Use correct printf format char for ssize_t 2011-09-07 09:20:09 +02:00
sysemu.h main-loop: create main-loop.h 2011-10-21 18:14:30 +02:00
targphys.h
tcg-runtime.c
test-coroutine.c coroutine: add test-coroutine --benchmark-lifecycle 2011-08-02 15:53:40 +02:00
test-qmp-commands.c qapi: add test cases for generated free functions 2011-10-04 11:00:46 -03:00
test-visitor.c qapi: modify visitor code generation for list iteration 2011-10-04 11:00:46 -03:00
thunk.c
thunk.h
TODO
trace-events hw/9pfs: Make VirtFS tracing work correctly 2011-10-30 09:05:28 +00:00
translate-all.c Delegate setup of TCG temporaries to targets 2011-06-26 18:25:43 +00:00
uboot_image.h
usb-bsd.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
usb-linux.c usb-host: handle USBDEVFS_SETCONFIGURATION returning EBUSY 2011-10-13 12:58:51 +02:00
usb-redir.c char: rename qemu_chr_close() -> qemu_chr_delete() 2011-08-22 10:17:43 -05:00
usb-stub.c
user-exec.c Remove unused is_softmmu parameter from cpu_handle_mmu_fault 2011-08-07 09:32:01 +00:00
VERSION Open 1.0 development branch. 2011-07-23 11:57:53 -05:00
version.rc
vgafont.h
vl.c simplify main loop functions 2011-10-21 18:14:31 +02:00
x86_64.ld Fix linker scripts 2011-08-27 15:42:35 +00:00
xen-all.c Drop the vm_running global variable 2011-09-15 16:39:32 -03:00
xen-mapcache.c xen-mapcache: Fix rlimit set size. 2011-09-09 13:13:16 +00:00
xen-mapcache.h xen: fix xen-mapcache build on non-Xen capable targets 2011-07-22 17:43:42 +00:00
xen-stub.c xen_console: support the new extended xenstore protocol 2011-07-17 01:54:25 +02:00
xtensa-semi.c target-xtensa: implement SIMCALL 2011-09-10 16:57:39 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.