Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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>
|
|
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 '0766379d4c58c5c1edc6adc414bfb25fc979b083':
Move chroot handling to OS specific files.
Conflicts:
vl.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit '8847cfe8aa9d8f6b8648aafd5d929a57d836cc61':
Move runas handling from vl.c to OS specific files.
Conflicts:
vl.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>
|
|
* commit '7f9744812291853425b614f68668f48d49882a1f':
virtio-net: stop vhost backend on vmstop
Conflicts:
hw/virtio-net.c
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit 'ca35f780ac4654bfa086613c72b011448afff327':
move computation of tools and roms outside of config-host.mak generation
configure: move directory defaults earlier
configure: ignore unknown --xyzdir options
configure: introduce more --xyzdir options
configure: expand ${prefix} in create_config
configure: move all directory entries in config-host.mak close
configure: unify handling of xyzdir variables
rename CONFIG_QEMU_PREFIX
configure: introduce confdir and confsuffix
Conflicts:
configure
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
* commit 'e7b45cc4467f9bbae46acdc8d21ceb2a16d63b50':
configure: introduce sysconfsuffix
configure: delete duplicate create_config case stanza
configure: dyngen is long time gone
configure: avoid using expr
configure: bail out early on invalid -cpu option
configure: remove some bashisms
target-mips: Fix compilation
hw: honor low bit in mipssim machine
linux-user: honor low bit of entry PC for MIPS
target-mips: add microMIPS exception handler support
target-mips: microMIPS ASE support
target-mips: mips16 cleanups
target-mips: refactor c{, abs}.cond.fmt insns
target-mips: move FP FMT comments closer to the definitions
target-mips: define constants for magic numbers
tcg: get rid of DEF2 in tcg-opc.h
tcg: get rid of copy_size in TCGOpDef
Conflicts:
configure
Signed-off-by: Avi Kivity <avi@redhat.com>
|
|
Update PPC, Sparc32 and Sparc64 OpenBIOS images to R795.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Make APICState completely private to apic.c by using DeviceState
in external APIs.
Move apic_init() to pc.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Convert to qdev.
Use an opaque CPUState pointer because of missing VMState
implementation for CPUState.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Move the actual CPUState contents handling to cpu.h and cpuid.c.
Handle CPU reset and set env->halted in pc.c.
Add a function to get the local APIC state of the current
CPU for the MMIO.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Pass only APICState when accessing APIC from CPU code.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Pass only APICState from pc.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Convert to qdev.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
Accidentally a pci_read_long() was replaced with assigned_dev_pci_read_byte()
by the commit:
commit a81a1f0a7410976be7dbc9a81524a8640f446ab5
Author: Alex Williamson <alex.williamson@redhat.com>
device-assignment: Don't use libpci
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
There's no need to use ioapic_set_irq() outside of ioapic.c, so
make it static.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
We can support it in KVM now. The 0xd leaf is queried from KVM.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Would use it later for XSAVE related CPUID.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
When loading a shared library that requires an executable stack,
glibc uses the mprotext PROT_GROWSDOWN flag to achieve this.
We don't support PROT_GROWSDOWN.
Add a special case to handle changing the stack permissions in this way.
Signed-off-by: Paul Brook <paul@codesourcery.com>
|
|
Teach strace code about linux specific mprotect flags.
Signed-off-by: Paul Brook <paul@codesourcery.com>
|
|
Report exit status to GDB when a semihosted application exits.
Signed-off-by: Paul Brook <paul@codesourcery.com>
|
|
Move it in preparation for further changes.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
|
|
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
|
|
Prepare to return error from the individual decoders.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
|
|
Some hosts (amd64, ia64) have an ABI that ignores the high bits
of the 64-bit register when passing 32-bit arguments. Others
require the value to be properly sign-extended for the type.
I.e. "int32_t" must be sign-extended and "uint32_t" must be
zero-extended to 64-bits.
To effect this, extend the "sizemask" parameter to tcg_gen_callN
to include the signedness of the type of each parameter. If the
tcg target requires it, extend each 32-bit argument into a 64-bit
temp and pass that to the function call.
This ABI feature is required by sparc64, ppc64 and s390x.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
This patch add test for pusha and popa instructions.
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
|
Comparing an 8 bit value with ~0 does not work as expected.
Replace ~0 by UINT8_MAX in comparison and also in assignment
(and fix coding style, too).
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
Handle spice client migration, i.e. inform a spice client connected
about the new host and connection parameters, so it can move over the
connection automatically.
|
|
This is *not* intended to be merged upstream. It is just here
because the virtio-serial windows guest drivers are not ready,
so you can't go with the new spice-vmc yet.
|
|
Adds the spicevmc device. This is a communication channel between the
spice client and the guest. It is used to send display information and
mouse events from the spice clients to the guest.
|
|
Add support for the spice audio interface.
The driver is first in the driver list, but can_be_default is set only
in case spice is active. So if you are using spice the spice audio
driver is the default one, otherwise whatever comes first after spice in
the list. Overriding the default using QEMU_AUDIO_DRV works in any
case.
|
|
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".
|
|
Add options to the -spice command line switch to setup tls:
tls-port
listening port
x509-dir
x509 file directory. Expects same filenames as
-vnc $display,x509=$dir
x509-key-file
x509-key-password
x509-cert-file
x509-cacert-file
x509-dh-key-file
x509 files can also be set individually.
tls-ciphers
which ciphers to use.
|
|
Try to pci hotplug a vga card, watch qemu die with hw_error().
This patch fixes it.
|
|
|
|
|
|
|
|
Add support for the spice tablet interface. The tablet interface will
be registered (and then used by the spice client) as soon as a absolute
pointing device is available and used by the guest, i.e. you'll have to
configure your guest with '-usbdevice tablet'.
|
|
With that patch applied you'll actually see the guests screen in the
spice client. This does *not* bring qxl and full spice support though.
This is basically the qxl vga mode made more generic, so it plays
together with any qemu-emulated gfx card. You can display stdvga or
cirrus via spice client. You can have both vnc and spice enabled and
clients connected at the same time.
|
|
Open mouse channel. Now you can move the guests mouse pointer.
No tablet / absolute positioning (yet) though.
|
|
Open keyboard channel. Now you can type into the spice client and the
keyboard events are sent to your guest. You'll need some other display
like vnc to actually see the guest responding to them though.
|
|
Add -spice command line switch. Has support setting passwd and port for
now. With this patch applied the spice client can successfully connect
to qemu. You can't do anything useful yet though.
|
|
|
|
Write compile commands and messages to config.log.
Useful for debugging configure.
|