Age | Commit message (Collapse) | Author | Files | Lines |
|
Conflicts:
Makefile.target
configure
hw/pc.c
monitor.c
pc-bios/vgabios-cirrus.bin
pc-bios/vgabios.bin
|
|
qxl is a paravirtual graphics card. The qxl device is the bridge
between the guest and the spice server (aka libspice-server). The
spice server will send the rendering commands to the spice client, which
will actually render them.
The spice server is also able to render locally, which is done in case
the guest wants read something from video memory. Local rendering is
also used to support display over vnc and sdl.
qxl is activated using "-vga qxl". qxl supports multihead, additional
cards can be added via '-device qxl".
|
|
* upstream: (43 commits)
Initialize a variable in all cases
Fix uint8_t comparison with negative value
Fix a warning on OpenSolaris
Correctly identify multiple cpus in SMP systems
Remove unused constant
jazz led: Fix debug prints
xilinx-s3adsp: Add support for loading u-boot images.
xilinx-s3adsp: Fix loading of raw binaries.
Remove unused eventfd.h
migration: Accept 'cont' only after successful incoming migration
mips64el: fulong: PCI_DEVFN() clean up.
remove pointless if from vl.c
fix variable type in qemu-io.c
remove dead code from hw/loader.c
savevm: Fix memory leak of compat struct
virtio-serial: Check if more max_ports specified than we can handle
linux-user: fix build on hosts not using guest base
linux-user: Protect against allocation failure in load_symbols.
cris: Correct settls1 testcase.
cris: Correct ADDO and ADDOQ testcases.
...
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
When a 'cont' is issued on a VM that's just waiting for an incoming
migration, the VM reboots and boots into the guest, possibly corrupting
its storage since it could be shared with another VM running elsewhere.
Ensure that a VM started with '-incoming' is only run when an incoming
migration successfully completes.
A new qerror, QERR_MIGRATION_EXPECTED, is added to signal that 'cont'
failed due to no incoming migration has been attempted yet.
Reported-by: Laine Stump <laine@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
* commit 'b7fdb3ab0e22a9a8debcb928497b248f06778845': (23 commits)
qemu-options: add documentation for stdio signal=on|off
Update OpenBIOS images
target-ppc: add vexptefp instruction
softfloat: add float32_exp2()
Update SeaBIOS
pci/multi function bit: fix vt82c686.c.
target-sh4: Add support for ldc & stc with sgr
target-sh4: Split the LDST macro into 2 sub-macros
pci: fix bridge update
virtio-net: correct packet length math
pci hotplug: make pci hotplug return value to caller
vmware_vga: fix reset value for command register
rtl8139: address TODOs
pci hotplug: make pci_device_hot_remove() static
pcnet: address TODOs
pci: fix pci_device_reset
AppleSMC device emulation
Documentation: Fix spelling bugs
Makefile: Not every shell support {}
Makefile: add fsdev/*.{o,d} to clean
...
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
* commit 'fd42deeb4cb42f90084046e3ebdb4383953195e3':
Add exit notifiers.
acpi_piix4: save gpe and pci hotplug slot status
qemu-option: Reject anti-social IDs
qdev: Revert the hack to let -net nic and pci_add set qdev ID
Clarify error message when a PCI slot is already in use (v2)
virtio-blk: simplify multiwrite calling conventions
virtio-blk: stop tracking old_bs
un-register kbd driver in case of USB kbd unplug.
make qemu_thread_create block all signals
migration-tcp: call migrate_fd_error() instead of close() and free().
migration: use qemu_free() instead of free().
etrax-ser: Support the uart rx fifo.
Conflicts:
vl.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit '666daa68234b5b1758652633cab07d5ca6046a5b':
blockdev: Collect block device code in new blockdev.c
qdev: Move declaration of qdev_init_bdrv() into qdev.h
blockdev: Hide QEMUMachine from drive_init()
block: call the snapshot handlers of the protocol drivers
close all the block drivers before the qemu process exits
block: Assume raw for drives without media
Fix error message in drive_init
scsi: Fix info qtree for scsi-disk.ver
scsi: Turn drive serial into a qdev property scsi-disk.serial
ide: Fix info qtree for ide-drive.ver
ide: Turn drive serial into a qdev property ide-drive.serial
qdev: Don't leak string property value on hot unplug
qdev: New qdev_prop_set_string()
ide: Split non-qdev code off ide_init2()
ide: Change ide_init_drive() to require valid dinfo argument
ide: Split ide_init1() off ide_init2()
ide: Remove redundant IDEState member conf
ide: Remove useless IDEDeviceInfo members unit, drive
usb: Remove unused usb_device_add() parameter is_hotplug
Conflicts:
hw/pc.c
sysemu.h
vl.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit 'f274776028ddb026f8891cabaf59bd58dbfc31bd':
blockdev: Belatedly remove driveopts
blockdev: Belatedly remove MAX_DRIVES
qemu-io: Fix error messages
Cleanup: virtio-blk.c: Be more consistent using BDRV_SECTOR_SIZE instead
Cleanup: raw-posix.c: Be more consistent using BDRV_SECTOR_SIZE instead of 512
Cleanup: Be consistent and use BDRV_SECTOR_SIZE instead of 512
Cleanup: bdrv_open() no need to shift total_size just to shift back.
Conflicts:
sysemu.h
vl.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit '27bb0b2d6f80f058bdb6fcc8fcdfa69b0c8a6d71':
hpet: Coding style cleanups and some refactorings
hpet: Catch out-of-bounds timer access
configure: Fix evaluation of config-host.mak in create_config
tcg-s390: correctly detect s390 with a 64-bit kernel
Compile OS specific files only once for all targets
Move set_proc_name() to OS specific files.
Move line-buffering setup to OS specific files.
Make os_change_process_uid and os_change_root os-posix.c local
Move daemonize handling to OS specific files
Conflicts:
hw/hpet.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit '59a5264b994343f01d19faf95c0e5df70346ded8': (33 commits)
Introduce OS specific cmdline argument handling and move SMB arg to os-posix.c
Rename qemu-options.h to qemu-options.def
Move find_datadir to OS specific files.
Move main signal handler setup to os specificfiles.
Rename os_setup_signal_handling() to os_setup_early_signal_handling()
Move win32 early signal handling setup to os_setup_signal_handling()
Introduce os-posix.c and create os_setup_signal_handling()
vl.c: Move host_main_loop_wait() to OS specific files.
Introduce os-win32.c and move polling functions from vl.c
Create qemu-os-win32.h and move WIN32 specific declarations there
vl.c: Remove double include of netinet/in.h for Solaris
NEON vldN optimization
tcg: fix DEF macro after commit c61aaf7a388c4ad95d8b546fdb9267dc01183317
tcg-s390: Adjust compilation flags.
tcg-s390: Compute is_write in cpu_signal_handler.
s390x: Don't use a linker script for user-only.
s390x: Avoid _llseek.
tcg-s390: Allocate the code_gen_buffer near the main program.
tcg-s390: Icache flush is a no-op.
tcg-i386: fix andi r, r, 0xff
...
Conflicts:
vl.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
Hook up any cleanup work which needs to be done here. Advantages over
using atexit(3):
(1) You get passed in a pointer to the notifier. If you embed that
into your state struct you can use container_of() to get get your
state info.
(2) You can unregister, say when un-plugging a device.
[ v2: move code out of #ifndef _WIN32 ]
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
Conflicts:
hw/pc.c
|
|
Introduce OS specific cmdline argument handling by calling
os_parse_cmd_args() at the end of switch() statement. Move option
enum to qemu-options.h and have it included from os-posix.c and
os-win32.c in addition to vl.c.
In addition move SMB argument to os-posix.c
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Move daemonize handling from vl.c to OS specific files. Provide dummy
stubs for Win32.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
This moves the win32 and POSIX versions of find_datadir() to OS
specific files, and removes some #ifdef clutter from vl.c
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Rename os_setup_signal_handling() to os_setup_early_signal_handling()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Move win32 early signal handling setup to os_setup_signal_handling()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Move host_main_loop_wait() to OS specific files. Create
qemu-os-posix.h and provide empty inline for the POSIX case.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Create qemu-os-win32.h for WIN32 specific declarations. Move polling
handling declaration into this file from sysemu.h
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Anything that moves hundreds of lines out of vl.c can't be all bad.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
To pave the way for moving it out of vl.c.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
Unused since commit 9dfd7c7a.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
Unused since commit 751c6a17.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
* upstream: (32 commits)
vnc: rich cursor support.
use new cursor struct + functions for vmware vga and sdl.
cursor: add cursor functions.
Fix error handling in qemu_read_config_file
Virtio-net: Replace the hardcode 6 with defined ETN_ALEN
sdl: Do not disable screensaver by default
microblaze: Handle new elf mach nr for sysemu.
lsi: Fix value overflow in request tag processing
sparc64: flush translations on mmu context change
sparc64: fix mmu context at trap levels above zero
sparc64: fix dump_mmu to look for global bit in tte value instead of tag
sparc64: fix pstate privilege bits
sparc64: generate data access exception on RW violation
sparc32 protect read-only bits in DMA CSR registers
vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc
Fix -device help and documentation
Fix tarbin Makefile rule
hxtool: Add syntax error detection
Fix TEXI section mark imbalance in qemu-img-cmd.hx
Put dependency files in proper subdir
...
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit 'a875170167f75e63a11f68adc0a15b4e82a6c186':
Revert "Monitor: Return before exiting with 'quit'"
Revert "monitor: Convert do_pci_device_hot_remove() to QObject"
Conflicts:
sysemu.h
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit '6c6a58aee425338bf67ec8faffdcda56b0b82090':
Revert "PCI: Convert pci_device_hot_add() to QObject"
QMP: Add "Downstream extension of QMP" to spec
Conflicts:
hw/pci-hotplug.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
It's a global variable already, do_quit() will use it.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
|
|
This reverts commit 0e8d2b5575938b8876a3c4bb66ee13c5d306fb6d.
Next commits will do the same thing in a better way.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
|
|
Short story: We don't want pci_add in QMP. Long story follows.
pci_add can do two things:
* Hot plug a PCI NIC. device_add is more general.
* Hot plug a PCI disk controller, and a drive connected to it.
The controller is either virtio-blk-pci (if=virtio) or lsi53c895a
(if=scsi). With the latter, the drive is optional. Use drive_add to
hotplug additional SCSI drives. Except drive_add is not available in
QMP.
device_add is more general for controllers and the guest part of
drives. I'm working on a more general alternative for the host part
of drives.
Why am I proposing to remove pci_add from QMP before its replacement is
ready? I want it out sooner rather than later, because it isn't fully
functional (errors and drive_add are missing), and we do not plan to
complete the job. In other words, it's not really usable over QMP now,
and it's not what we want for QMP anyway. Since we don't want it to be
used over QMP, we should take it out, not leave it around as a trap for
the uninitiated.
Dan Berrange confirmed that libvirt has no need for pci_add & friends
over QMP.
This reverts commit 7a344f7ac7bb651d0556a933ed8060d3a9e5d949.
Conflicts:
hw/pci-hotplug.c
sysemu.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
|
We don't want pci_del in QMP. Use device_del instead.
This reverts commit 6848d827162fea039f2658414a4adb6164a4f9b0.
Conflicts:
hw/pci-hotplug.c
sysemu.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
|
* commit '0e8d2b5575938b8876a3c4bb66ee13c5d306fb6d': (61 commits)
Monitor: Return before exiting with 'quit'
QMP: Check "arguments" member's type
QError: Improve QERR_QMP_BAD_INPUT_OBJECT desc
QMP: Use QERR_QMP_BAD_INPUT_OBJECT_MEMBER
QError: New QERR_QMP_BAD_INPUT_OBJECT_MEMBER
sh4: remove dead assignments, spotted by clang analyzer
ppc: add missing 'break', spotted by clang analyzer
ppc: remove dead assignments, spotted by clang analyzer
alpha: add missing 'break', spotted by clang analyzer
alpha: remove dead assignments, spotted by clang analyzer
microblaze: remove dead assignments, spotted by clang analyzer
m68k: remove dead assignments, spotted by clang analyzer
cris: remove dead assignments, spotted by clang analyzer
arm: remove dead assignments, spotted by clang analyzer
x86: remove dead assignments, spotted by clang analyzer
Remove dead assignments in various common files, spotted by clang analyzer
usb: remove dead assignments, spotted by clang analyzer
bt: remove dead assignments, spotted by clang analyzer
linux-user: Fix Sparc64 syscall returns.
Fix dead initialization, spotted by clang analyzer
...
Conflicts:
sysemu.h
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
The 'quit' Monitor command (implemented by do_quit()) calls
exit() directly, this is problematic under QMP because QEMU
exits before having a chance to send the ok response.
Clients don't know if QEMU exited because of a problem or
because the 'quit' command has been executed.
This commit fixes that by moving the exit() call to the main
loop, so that do_quit() requests the system to quit, instead
of calling exit() directly.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
|
|
* commit 'ad96090a01d848df67d70c5259ed8aa321fa8716':
Refactor target specific handling, compile vl.c only once
Conflicts:
Makefile.target
qemu-options.hx
vl.c
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
* commit 'd745bef890f9fa57298ae099365da8e8aa575cbd': (35 commits)
Move KVM and Xen global flags to vl.c
Move cpu_exec_init_all() declaration to qemu-common.h
Allow various header files to be included from non-CPU code
Adjust debug handling
tcg/mips: fix branch offset during retranslation
exec: remove dead code
linux-user/ppc: use the Linux register layout
qemu-io: fix aio help texts
tcg/arm: Replace qemu_ld32u (left over from previous commit)
Fix driftfix option
Fix BSD and win32 builds
Refactor numa mode setting
pflash_cfi02: fix incorrect TARGET_FMT_lx/d use
Compile vmware_vga only once
tcg-mips: add guest base support
tcg/mips: implement the not_i32 op the same way as gcc
tcg-mips: implement nor
be more specific in -mem-path error messages
Add a missing #include for FreeBSD hosts
error: Move qerror_report() from qemu-error.[ch] to qerror.[ch]
...
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
* commit 'aaf12c25312c49620777a232e8f770357450a603':
Revert 'Fix build'
Revert "Introduce a default qmp session"
Revert "qmp: don't make -qmp disable the default monitor"
Revert "tap: invoke downscript when we exit abnormally"
Revert "Convert atexit users to exit_notifier"
Revert "Add exit notifiers"
Fix a typo
Compile disassemblers only once
tcg/arm: don't save/restore r7 in prologue/epilogue
tcg/arm: fix load/store definitions for 32-bit targets
tcg: protect div2 in tcg/tcg-opc.h
Fix a typo which broke Xen build
Fix mingw32 build
Conflicts:
vl.c
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
* commit '80a1ab598c6960e7a941e38c5d8638c532c585c3':
Fix build
Introduce a default qmp session
qmp: don't make -qmp disable the default monitor
tap: invoke downscript when we exit abnormally
Convert atexit users to exit_notifier
Add exit notifiers
Conflicts:
vl.c
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
* commit '3af12c86d9db42c826dc9a7577b657543baf7fab': (37 commits)
sdl: use mouse mode notifier
input: make vnc use mouse mode notifiers
Expose whether a mouse is an absolute device via QMP and the human monitor.
Add notifier for mouse mode changes
Add kbd_mouse_has_absolute()
Rewrite mouse handlers to use QTAILQ and to have an activation function
Add support for generic notifier lists
Revert "usb-linux: remove unreachable default in switch statement"
Handle deleted IOHandlers in a single buffer
bt: remove bt_host_read_poll()
rename IOCanRWHandler to IOCanReadHandler
remove useless cast
Convert io handlers to QLIST
CODING_STYLE: Reserve qemu_ prefix for library wrappers
Fix OpenBSD linker warning
Replace assert(0) with abort() or cpu_abort()
Fix manpage errors
hw/usb-msd: fix some usb requests
scsi-disk: fix buffer overflow
vnc: add no-lock-key-sync option
...
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
* commit '2f7920166d1aa402104d7b30d0225e71588f91f9':
error: Move qemu_error & friends into their own header
error: Simplify error sink setup
error: Move qemu_error() & friends from monitor.c to own file
monitor: Factor monitor_set_error() out of qemu_error_internal()
block: Simplify usb_msd_initfn() test for "can read bdrv key"
monitor: Separate "default monitor" and "current monitor" cleanly
tools: Remove unused cur_mon from qemu-tool.c
pc: Factor common code out of pc_boot_set() and cmos_init()
pc: Fix error reporting for -boot once
savevm: Fix -loadvm to report errors to stderr, not the monitor
usb: Remove disabled monitor_printf() in usb_read_file()
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Move target specific functions and RAM handling to arch_init.c.
Add a flag to QEMUOptions structure to indicate for which
architectures the option is allowed, check the flag
in run time and remove conditional code in option handling.
Now that no target dependencies remain, compile vl.c only once
for all targets.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Missed in commit 2f792016.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
This reverts commit 3b6304f706ef7eebc0b3b3f3a5093ec75448ee19.
This was mistakenly committed.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
Like atexit() but with state
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
Just tell main_loop_wait whether to be blocking or nonblocking, so that
there is no need to call qemu_cpus_have_work from the timer subsystem.
Instead, tcg_cpu_exec can say "we want the main loop not to block because
we have stuff to do".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
qemu_error_sink can either point to a monitor or a file. In practice,
it always points to the current monitor if we have one, else to
stderr. Simply route errors to the current monitor or else to stderr,
and remove qemu_error_sink along with the functions to control it.
Actually, the old code switches the sink slightly later, in
handle_user_command() and handle_qmp_command(), than it gets switched
now, implicitly, by setting the current monitor in monitor_read() and
monitor_control_read(). Likewise, it switches back slightly earlier
(same places). Doesn't make a difference, because there are no calls
of qemu_error() in between.
|
|
A monitor may not even exist.
Change load_vmstate() to use qemu_error() instead of monitor_printf().
Parameter mon is now unused, remove it.
|
|
* commit '5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65': (40 commits)
Implement multi-level page tables.
linux-user: Fix mmap_find_vma returning invalid addresses.
linux-user: Use h2g_valid in qemu_vmalloc.
Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid.
Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h.
target-ppc: fix evsrwu and evsrws (second try)
target-ppc: fix evsrwu and evsrws
target-ppc: fix evslw instruction
audio: fix comment
QMP: Really move the RESET event to qemu_system_reset()
target-i386: fix SIB decoding with index = 4
documentation: qemu_write_full don't work with non-blocking fd's
block: print errno on error
vmdk: share cleanup code
vmdk: fix double free
vmdk: make vmdk_snapshot_create return -errno
vmdk: return errno instead of -1
qcow: return errno instead of -1
qcow2: return errno instead of -1
slirp: check system() success
...
Conflicts:
exec.c
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Emitted whenever the RTC time changes.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|