Activity

From 05/24/2010 to 06/22/2010

06/22/2010

11:15 pm Revision 00ec5c37: virtio-9p: Security model for mkdir
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Venkateswararao Jujjuri (JV)
11:15 pm Revision 879c2813: virtio-9p: Security model for symlink and readlink
Mapped mode stores extended attributes in the user space of the extended
attributes. Given that the user space extend...
Venkateswararao Jujjuri (JV)
11:15 pm Revision 1c293312: virtio-9p: Implement Security model for mknod
Mapped mode stores extended attributes in the user space of the extended
attributes. Given that the user space extend...
Venkateswararao Jujjuri (JV)
11:15 pm Revision 63729c36: virtio-9p: Implement Security model for mksock using mknod.
This patch uses mknod to create socket.
On Host/Fileserver:
-rw-------. 1 virfsuid virtfsgid 0 2010-05-11 09:57 asoc...
Venkateswararao Jujjuri (JV)
11:15 pm Revision 8ca5e801: Exit if incoming migration fails
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Juan Quintela
11:15 pm Revision 8a911107: virtio-pci: fix bus master bug setting on load
The comment suggests we're checking for the driver in the ready
state and bus master disabled, but the code is checki...
Alex Williamson
11:15 pm Revision 511c0231: Factorize common migration incoming code
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Juan Quintela
11:15 pm Revision 758e8e38: virtio-9p: Make infrastructure for the new security model.
This patch adds required infrastructure for the new security model.
- A new configure option for attr/xattr.
- if CO...
Venkateswararao Jujjuri (JV)
11:15 pm Revision 4750a96f: virtio-9p: Security model for create/open2
In the mapped security model, VirtFS server intercepts and maps
the file object create and get/set attribute requests...
Venkateswararao Jujjuri (JV)
11:15 pm Revision f7613bee: virtio-9p: Security model for chown
mapped model changes the owner in the extended attributes.
passthrough model does the change through lchown() as the
...
Venkateswararao Jujjuri (JV)
11:15 pm Revision 1237ad76: virtio-9p: Implemented Security model for lstat and fstat
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Venkateswararao Jujjuri (JV)
11:15 pm Revision e95ead32: virtio-9p: Security model for chmod
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Venkateswararao Jujjuri (JV)
11:15 pm Revision 49b586a9: Extra scan codes for missing keys
The code comes from
http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02788.html
Without this patch it is not ...
Bernhard M. Wiedemann
11:15 pm Revision 91ca60e0: give some useful error messages when tap open
In net/tap-linux.c, when manipulation of /dev/net/tun fails, it prints
(with fprintf) something like this:
warning...
Michael Tokarev
11:15 pm Revision 0db09dd2: Flush the debug message out to the log file.
This patch fluesh the debug messages to the log file at the end of each
debug message.
Changes from V1:
Used fflush...
Venkateswararao Jujjuri (JV)
11:15 pm Revision 9ce56db6: virtio-9p: Introduces an option to specify the security model.
The new option is:
-fsdev fstype,id=myid,path=/share_path/,security_model=[mapped|passthrough]
-virtfs fstype,path=/...
Venkateswararao Jujjuri (JV)
11:15 pm Revision fac4f111: virtio-9p: Rearrange fileop structures
This patch rearranges the fileop structures by moving the structure definitions
from virtio-9p.c to virtio-9p.h file....
Venkateswararao Jujjuri (JV)
03:38 pm Revision f08145fe: block: Add bdrv_(p)write_sync
Add new functions that write and flush the written data to disk immediately.
This is what needs to be used for image ...
Kevin Wolf
03:38 pm Revision b0ad5a45: cow: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
While at it, correct the wrong usage of errno...
Kevin Wolf
03:38 pm Revision 5e5557d9: qcow: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
03:38 pm Revision 8b3b7206: qcow2: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
03:38 pm Revision b8852e87: vmdk: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
03:38 pm Revision 078a458e: vpc: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
03:38 pm Revision 7d7d975c: qemu-io: check registered fds in command_loop()
Some block drivers use an aio handler and do I/O completion routines
in it. However, the handler is not invoked if w...
MORITA Kazutaka
03:38 pm Revision f74550fd: qcow2: Don't try to check tables that couldn't be loaded
Trying to check them leads to a second error message which is more confusing
than helpful:
Can't get refcount fo...
Kevin Wolf
03:38 pm Revision 6882c8fa: qcow2: Fix qemu-img check segfault on corrupted images
With corrupted images, we can easily get an cluster index that exceeds the
array size of the temporary refcount table...
Kevin Wolf
03:38 pm Revision 20a81e4d: virtio-blk: fix the list operation in virtio_blk_load().
Although it is really rare to get in to the while loop, the list
operation in the loop is obviously wrong.
Signed-of...
Yoshiaki Tamura
03:38 pm Revision 01bedeba: scsi-bus: Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setup
This patch updates hw/scsi-bus.c to add the PERSISTENT_RESERVE_OUT cdb
case in scsi_req_xfer_mode() to set SCSI_XFER_...
Nicholas Bellinger
03:38 pm Revision c7126d5b: scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode ass...
This patch updates hw/scsi-bus.c to add MAINTENANCE_IN and MAINTENANCE_OUT case in
scsi_req_length() for TYPE_ROM wit...
Nicholas Bellinger
03:38 pm Revision 1e297c32: block: fix physical_block_size calculation
Both SCSI and virtio expect the physical block size relative to the
logical block size. So get the factor first befo...
Christoph Hellwig
03:38 pm Revision 3b5276b5: monitor: allow device to be ejected if no disk is inserted
This changes the monitor eject_device() function to not check for
bdrv_is_inserted().
Example run where the bug mani...
Eduardo Habkost

06/20/2010

10:55 am Revision cada87c4: Update OpenBIOS images
Update PPC, Sparc32 and Sparc64 OpenBIOS images to R795.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl

06/19/2010

10:47 am Revision 92a16d7a: apic: qdev conversion cleanup
Make APICState completely private to apic.c by using DeviceState
in external APIs.
Move apic_init() to pc.c.
Signed...
Blue Swirl
10:44 am Revision 8546b099: apic: convert to qdev
Convert to qdev.
Use an opaque CPUState pointer because of missing VMState
implementation for CPUState.
Signed-off-...
Blue Swirl
10:42 am Revision 0e26b7b8: apic: avoid using CPUState internals
Move the actual CPUState contents handling to cpu.h and cpuid.c.
Handle CPU reset and set env->halted in pc.c.
Add ...
Blue Swirl
10:42 am Revision 4a942cea: apic: avoid passing CPUState from CPU code
Pass only APICState when accessing APIC from CPU code.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
10:42 am Revision cf6d64bf: apic: avoid passing CPUState from devices
Pass only APICState from pc.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
10:41 am Revision 96051119: ioapic: convert to qdev
Convert to qdev.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl

06/17/2010

07:32 pm Revision 7d0500c4: ioapic: unexport ioapic_set_irq
There's no need to use ioapic_set_irq() outside of ioapic.c, so
make it static.
Signed-off-by: Blue Swirl <blauwirbe...
Blue Swirl

06/16/2010

03:03 pm Revision 0e1c9c54: GDB exit status for semihosting
Report exit status to GDB when a semihosted application exits.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Paul Brook
03:03 pm Revision 9e0b74a4: Strace mprotect flags.
Teach strace code about linux specific mprotect flags.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Paul Brook
03:03 pm Revision 97374d38: Usermode exec-stack fix
When loading a shared library that requires an executable stack,
glibc uses the mprotext PROT_GROWSDOWN flag to achie...
Paul Brook
02:46 pm Revision 1884533c: cris: Move sign extension.
Move it in preparation for further changes.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@a...
Edgar E. Iglesias
12:49 pm Revision 7de141cb: cris: Centralize fetching
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Edgar E. Iglesias
12:29 pm Revision 2bece2c8: tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts.
Some hosts (amd64, ia64) have an ABI that ignores the high bits
of the 64-bit register when passing 32-bit arguments....
Richard Henderson
12:28 pm Revision a699a7be: cris: Make the CRISv32 insn decoders return signed int.
Prepare to return error from the individual decoders.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
Edgar E. Iglesias
12:43 am Revision d2c5efd8: Fix comparison which always returned false
Comparing an 8 bit value with ~0 does not work as expected.
Replace ~0 by UINT8_MAX in comparison and also in assignm...
Stefan Weil

06/15/2010

11:59 am Revision 167e609a: xen: Fix build error due to missing include
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Jan Kiszka
10:42 am Revision 5ffbbc67: block: fix a warning and possible truncation
Fix a warning from OpenBSD gcc (3.3.5 (propolice)):
/src/qemu/block.c: In function `bdrv_info_stats_bs':
/src/qemu/bl...
Blue Swirl
10:41 am Revision abd7f68d: block: Move error actions from DriveInfo to BlockDriverState
That's where they belong semantically (block device host part), even
though the actions are actually executed by gues...
Markus Armbruster
10:41 am Revision 893a9cb4: cow: stop using mmap
We don't have an equivalent to mmap in the qemu block API, so read and
write the bitmap directly. At least in the du...
Christoph Hellwig
10:41 am Revision 2063392a: cow: use qemu block API
Use bdrv_pwrite to access the backing device instead of pread, and
convert the driver to implementing the bdrv_open m...
Christoph Hellwig
10:41 am Revision 122bb9e3: cow: use pread/pwrite
Use pread/pwrite instead of lseek + read/write in preparation of using the
qemu block API.
Signed-off-by: Christoph ...
Christoph Hellwig
10:41 am Revision 6ab4b5ab: block: Decouple block device "commit all" from DriveInfo
do_commit() and mux_proc_byte() iterate over the list of drives
defined with drive_init(). This misses host block de...
Markus Armbruster
10:41 am Revision ac59eb95: monitor: Make "commit FOO" complain when FOO doesn't exist
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Markus Armbruster
10:41 am Revision 2f399b0a: block: New bdrv_next()
This is a more flexible alternative to bdrv_iterate().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-o...
Markus Armbruster
10:41 am Revision bb350a5e: Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE
Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE in hw/fdc.c
Per https://bugs.launchpad.net/qemu/+bug/424453 t...
Jes Sorensen
10:41 am Revision c9b62a7e: blockdev: Give drives internal linkage
This is the list of drives defined with drive_init(). Hide it, so it
doesn't get abused.
Signed-off-by: Markus Armb...
Markus Armbruster
10:41 am Revision dbc13590: block: Decouple savevm from DriveInfo
We find snapshots by iterating over the list of drives defined with
drive_init(). This misses host block devices def...
Markus Armbruster
10:41 am Revision 6c6ea921: vpc: Read/write multiple sectors at once
This changes the vpc block driver (for VHD) to read/write multiple sectors at
once instead of doing a request for eac...
Kevin Wolf
10:41 am Revision 018faafd: qcow2: Allow get_refcount to return errors
get_refcount might need to load a refcount block from disk, so errors may
happen. Return the error code instead of as...
Kevin Wolf
10:41 am Revision 2eaa8f63: qcow2: Allow alloc_clusters_noref to return errors
Currently it would consider blocks for which get_refcount fails used. However,
it's unlikely that get_refcount would ...
Kevin Wolf
10:41 am Revision e14e8ba5: qcow2: Return real error code in load_refcount_block
This fixes load_refcount_block which completely ignored the return value of
write_refcount_block and always returned ...
Kevin Wolf
10:41 am Revision feeee5ac: savevm: Really verify if a drive supports snapshots
Both bdrv_can_snapshot() and bdrv_has_snapshot() does not work as advertized.
First issue: Their names implies diffe...
Miguel Di Ciurcio Filho
10:41 am Revision dd5b0d71: Fix regression for "-drive file="
Empty file used to create an empty drive (no media). Since commit
9dfd7c7a, it's an error: "qemu: could not open dis...
Markus Armbruster
10:41 am Revision 68dba0bf: qcow2: Restore L1 entry on l2_allocate failure
If writing the L1 table to disk failed, we need to restore its old content in
memory to avoid inconsistencies.
Repor...
Kevin Wolf

06/14/2010

11:46 pm Revision faa1f8dd: migration: use qemu_free() instead of free().
Although there is no difference, other migration related code use
qemu_free(), and it should be better to be consiste...
Yoshiaki Tamura
11:46 pm Revision 304e3a7c: migration-tcp: call migrate_fd_error() instead of close() and free().
This patch fixes the following error report. When changing
migration-tcp.c to call migrate_fd_error() instead of clo...
Yoshiaki Tamura
11:46 pm Revision 55541c8a: make qemu_thread_create block all signals
All signals will thus be routed through the IO thread.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off...
Paolo Bonzini
11:46 pm Revision 46aaebff: un-register kbd driver in case of USB kbd unplug.
If a USB keyboard is unplugged, the keyboard eventhandler is never
removed, and events will continue to be passed thr...
Jes Sorensen
11:46 pm Revision 7e608e89: virtio-blk: stop tracking old_bs
There is a 1:1 relation between VirtIOBlock and BlockDriverState instances,
no need to track it because it won't chan...
Christoph Hellwig
11:46 pm Revision c20fd872: virtio-blk: simplify multiwrite calling conventions
Pass the MultiReqBuffer structure down all the way to the I/O submission
instead of takin it apart. Also mark num_wr...
Christoph Hellwig
11:46 pm Revision 3709c1b7: Clarify error message when a PCI slot is already in use (v2)
When mistakenly configuring two devices in the same PCI slot,
QEMU gives a not entirely obvious message about a 'devf...
Daniel P. Berrange
11:46 pm Revision 1bb65042: qdev: Revert the hack to let -net nic and pci_add set qdev ID
Setting the ID in pci_nic_init() is a blatant violation of the
DeviceState abstraction. Which even carries a comment...
Markus Armbruster
11:46 pm Revision b560a9ab: qemu-option: Reject anti-social IDs
Restrict IDs to letters, digits, '-', '.', '_', starting with a
letter.
This takes care of '/' in qdev IDs breaking ...
Markus Armbruster
11:46 pm Revision 4cf3e6f3: acpi_piix4: save gpe and pci hotplug slot status
PCI hotplug currently doesn't work after a migration because
we don't migrate the enable bits of the GPE state. Pull...
Alex Williamson
11:46 pm Revision fd42deeb: Add exit notifiers.
Hook up any cleanup work which needs to be done here. Advantages over
using atexit(3):
(1) You get passed in a po...
Gerd Hoffmann
07:41 pm Revision f2fcffbb: etrax-ser: Support the uart rx fifo.
Add support for the rx fifo to speed up bulk transfers.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
Edgar E. Iglesias
07:12 pm Revision bd69fe84: qemu-option: Fix uninitialized value in append_option_parameter
When dest is NULL, i.e. a new copy of the list is created, we don't get a
properly terminated list after the realloc....
Kevin Wolf
07:12 pm Revision 072c2c31: hpet: Init capability register only once
The capability register is read-only from guest POV, so we do not need
to update it on reset.
Signed-off-by: Jan Kis...
Jan Kiszka
07:12 pm Revision 40ac17cd: pass info about hpets to seabios.]
Currently HPET ACPI table is created regardless of whether qemu actually
created hpet device. This may confuse some g...
Gleb Natapov
07:12 pm Revision f471a17e: ram_blocks: Convert to a QLIST
This makes the RAM block list easier to manipulate. Also incorporate
relevant variables into the RAMList struct.
Si...
Alex Williamson
07:12 pm Revision 2ffcb18d: Make netdev_del delete the netdev even when it's in use
To hot-unplug guest and host part of a network device, you do:
device_del NIC-ID
netdev_del NETDEV-ID
For P...
Markus Armbruster
06:58 pm Revision 27124888: Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c
Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c to make
it possible to build QEMU with -DDEBUG
Signed-off-...
Jes Sorensen
06:58 pm Revision ac7045cf: Remove unused DEBUG defines from hw/msix.c
Remove unused DEBUG defines from hw/msix.c to avoid having anything
define the word DEBUG without any additions such ...
Jes Sorensen
06:33 pm Revision a4673e27: Merge remote branch 'kwolf/for-anthony' into staging
Conflicts:
hw/pc.c
Anthony Liguori
05:39 pm Revision a2da0395: Merge remote branch 'qmp/for-anthony' into staging
Anthony Liguori
01:37 am Revision 09564574: OHCI address decoding fix
Ignore high address bits when PCI memory window is not mapped on a page
boundary.
Signed-off-by: Paul Brook <paul@co...
Paul Brook

06/13/2010

09:00 pm Revision 11165820: Move stdbool.h
Move inclusion of stdbool.h to common header files, instead of including
in an ad-hoc manner.
Signed-off-by: Paul Br...
Paul Brook
03:33 pm Revision ea4e78e5: monitor/QMP: Drop info hpet / query-hpet
This command was of minimal use before, now it is useless as the hpet
become a qdev device and is thus easily discove...
Jan Kiszka
03:33 pm Revision cea1adfd: vmstate: Add VMSTATE_STRUCT_VARRAY_UINT8
Required for hpet.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Jan Kiszka
03:33 pm Revision 8caa0065: hpet: Add MSI support
This implements the HPET capability of routing IRQs to the front-side
bus, aka MSI support. This feature can be enabl...
Jan Kiszka
03:33 pm Revision be4b44c5: hpet: Make number of timers configurable
One HPET block supports up to 32 timers. Allow to instantiate more than
the recommended and implemented minimum of 3....
Jan Kiszka
03:33 pm Revision 22a9fe38: hpet: Add support for level-triggered interrupts
By implementing this feature we can also remove a nasty way to kill qemu
(by trying to enable level-triggered hpet in...
Jan Kiszka
03:33 pm Revision b7eaa6c7: hpet: Drop static state
Instead of keeping a static reference around, pass the state to
hpet_enabled and hpet_get_ticks. All callers now have...
Jan Kiszka
03:33 pm Revision 7d932dfd: hpet/rtc: Rework RTC IRQ replacement by HPET
Allow the intercept the RTC IRQ for the HPET legacy mode. Then push
routing to IRQ8 completely into the HPET. This al...
Jan Kiszka
03:32 pm Revision 9cec89e8: hpet: Start/stop timer when HPET_TN_ENABLE is modified
We have to update the qemu timer when the per-timer enable bit is
toggled, just like for HPET_CFG_ENABLE changes.
Si...
Jan Kiszka
03:32 pm Revision 7afbecc9: hpet: Move static timer field initialization
Properly initialize HPETTimer::tn and HPETTimer::state once during
hpet_init instead of (re-)writing them on every re...
Jan Kiszka
03:32 pm Revision 822557eb: hpet: Convert to qdev
Register the HPET as a sysbus device and create it that way. As it can
route its IRQs to any ISA IRQ, we need to conn...
Jan Kiszka
03:32 pm Revision ad0a6551: hpet: Silence warning on write to running main counter
Setting the main counter while the HPET is enabled may not be a good
idea of the guest, but it is supported and shoul...
Jan Kiszka
03:32 pm Revision 6982d664: hpet: Catch out-of-bounds timer access
Also prevent out-of-bounds write access to the timers but don't spam the
host console if it triggers.
Signed-off-by:...
Jan Kiszka
03:32 pm Revision 27bb0b2d: hpet: Coding style cleanups and some refactorings
This moves the private HPET structures into the C module, simplifies
some helper functions and fixes most coding styl...
Jan Kiszka
01:50 pm Revision c3d96978: configure: Fix evaluation of config-host.mak in create_config
Only match on true dir variable assignments, avoid generating garbage
due to the "# Configured with: ..." line which ...
Jan Kiszka
01:28 pm Revision d66ed0ea: tcg-s390: correctly detect s390 with a 64-bit kernel
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno

06/12/2010

08:49 am Revision b0cb640a: Compile OS specific files only once for all targets
OS specific files are not target dependent, so they can be compiled
once for all targets.
Signed-off-by: Blue Swirl ...
Blue Swirl
08:49 am Revision 9f16732a: Rename qemu-options.h to qemu-options.def
Rename qemu-options.h to qemu-options.def as it is not a header file
for general use and this leaves space for a prop...
Jes Sorensen
08:49 am Revision 59a5264b: Introduce OS specific cmdline argument handling and move SMB arg to os-posix.c
Introduce OS specific cmdline argument handling by calling
os_parse_cmd_args() at the end of switch() statement. Move...
Jes Sorensen
08:49 am Revision 8847cfe8: Move runas handling from vl.c to OS specific files.
Move code to handle runas, ie. change of user id of QEMU process
to OS specific files and provide dummy stub for Win3...
Jes Sorensen
08:49 am Revision 0766379d: Move chroot handling to OS specific files.
Move chroot handling to OS specific files.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quin...
Jes Sorensen
08:49 am Revision eb505be1: Move daemonize handling to OS specific files
Move daemonize handling from vl.c to OS specific files. Provide dummy
stubs for Win32.
Signed-off-by: Jes Sorensen <...
Jes Sorensen
08:49 am Revision e06eb601: Make os_change_process_uid and os_change_root os-posix.c local
os_change_process_uid() and os_change_root() are now only called
from os-posix.c, so no need to keep win32 stubs for ...
Jes Sorensen
08:49 am Revision 9156d763: Move line-buffering setup to OS specific files.
Move line-buffering setup to OS specific files.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan...
Jes Sorensen
08:49 am Revision ce798cf2: Move set_proc_name() to OS specific files.
Move handling to change process name to POSIX specific files
plus add a better error message to cover the case where ...
Jes Sorensen
08:49 am Revision 6170540b: Move find_datadir to OS specific files.
This moves the win32 and POSIX versions of find_datadir() to OS
specific files, and removes some #ifdef clutter from ...
Jes Sorensen
08:49 am Revision 19113504: Introduce os-win32.c and move polling functions from vl.c
This introduces os-win32.c. It is meant to carry win32 specific
functions thata are not relevant for all of QEMU as w...
Jes Sorensen
08:49 am Revision 0d93ca7c: vl.c: Move host_main_loop_wait() to OS specific files.
Move host_main_loop_wait() to OS specific files. Create
qemu-os-posix.h and provide empty inline for the POSIX case.
...
Jes Sorensen
08:49 am Revision 86b645e7: Introduce os-posix.c and create os_setup_signal_handling()
Introcuce os-posix.c and move posix specific signal handling
there.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat...
Jes Sorensen
08:49 am Revision 69bd73b1: Move win32 early signal handling setup to os_setup_signal_handling()
Move win32 early signal handling setup to os_setup_signal_handling()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redha...
Jes Sorensen
08:49 am Revision fe98ac14: Rename os_setup_signal_handling() to os_setup_early_signal_handling()
Rename os_setup_signal_handling() to os_setup_early_signal_handling()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redh...
Jes Sorensen
08:49 am Revision 8d963e6a: Move main signal handler setup to os specificfiles.
Move main signal handler setup to os specific files.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by:...
Jes Sorensen
08:49 am Revision 39626c03: Create qemu-os-win32.h and move WIN32 specific declarations there
Create qemu-os-win32.h for WIN32 specific declarations. Move polling
handling declaration into this file from sysemu....
Jes Sorensen
08:49 am Revision ddc9120e: vl.c: Remove double include of netinet/in.h for Solaris
vl.c: netinet/in.h is already included once above for the
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acke...
Jes Sorensen

06/11/2010

10:37 pm Revision 41ba8341: NEON vldN optimization
When combining multiple values as part of a NEON array load, do explcit
shift/or rather than using gen_bfi. This voi...
Paul Brook
10:35 pm Revision 02e95918: hxtool: Fix line number reporting on SQMP/EQMP errors
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Jan Kiszka
09:25 pm Revision d22b0bd7: check-qjson: Add more escape tests
While there make the fail_unless() calls print error messages.
IMPORTANT: The test for "\/" is failing, don't know w...
Luiz Capitulino
09:25 pm Revision 1041ba7a: json-lexer: Handle missing escapes
The JSON escape sequence "\/" and "\\" are valid and should be
handled.
Signed-off-by: Luiz Capitulino <lcapitulino@...
Luiz Capitulino
09:25 pm Revision bd032695: qjson: Handle "\f"
It's valid JSON and should be handled.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Luiz Capitulino
09:25 pm Revision 03308f6c: json-lexer: Initialize 'x' and 'y'
The 'lexer' variable is passed by the caller, it can contain anything
(eg. garbage).
Signed-off-by: Luiz Capitulino ...
Luiz Capitulino
09:25 pm Revision ecb50f5f: json-lexer: Drop 'buf'
QString supports adding a single char, 'buf' is unneeded.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Luiz Capitulino
09:25 pm Revision 2e89c068: json-streamer: Don't use qdict_put_obj()
It's not needed, use qobject_put() instead and get a cleaner code.
Signed-off-by: Luiz Capitulino <lcapitulino@redha...
Luiz Capitulino
09:25 pm Revision 7f8fca7c: add some tests for invalid JSON
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Paolo Bonzini
09:25 pm Revision 28e91a68: remove unnecessary lookaheads
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Paolo Bonzini
09:25 pm Revision f7c05274: implement optional lookahead in json lexer
Not requiring one extra character when lookahead is not necessary
ensures that clients behave properly even if they, ...
Paolo Bonzini
07:39 pm Revision 0e2029a0: tcg: fix DEF macro after commit c61aaf7a388c4ad95d8b546fdb9267dc01183317
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
07:16 pm Revision 28d7cc49: tcg-s390: Adjust compilation flags.
Force -m31/-m64 based on s390/s390x target.
Force -march=z990. The TCG backend will always require the
long-displac...
Richard Henderson
07:15 pm Revision 6a1621b9: tcg-s390: Compute is_write in cpu_signal_handler.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
07:15 pm Revision 4d58be06: s390x: Don't use a linker script for user-only.
The default placement of the application at 0x80000000 is fine,
and will avoid the default placement for most other g...
Richard Henderson
07:15 pm Revision d35b261c: s390x: Avoid _llseek.
There's no _llseek on s390x either. Replace the existing
test for __x86_64__ with a functional test for __NR_llseek....
Richard Henderson
10:30 am Revision eba0b893: tcg-s390: Allocate the code_gen_buffer near the main program.
This allows the use of direct calls to the helpers,
and a direct branch back to the epilogue.
Signed-off-by: Richard...
Richard Henderson
09:46 am Revision 1bcaae66: tcg-s390: Icache flush is a no-op.
Before gcc 4.2, __builtin___clear_cache doesn't exist, and
afterward the gcc s390 backend implements it as nothing.
...
Richard Henderson

06/10/2010

09:52 pm Revision dc397ca3: tcg-i386: fix andi r, r, 0xff
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
09:41 pm Revision 447d681e: tcg-i386: remove use of _Bool that slipped code review
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
08:57 pm Revision 85948643: esp: lower IRQ on soft reset
42f1ced228c9b616cfa2b69846025271618e4ef5 removed irq lowering
during reset. However, for chip reset command and DMA r...
Blue Swirl
07:50 pm Revision e163ae7b: qbus: fix memory leak in qbus_free()
BusState::name is allocated in qbus_create_inplace().
So it should be freed by qbus_free().
Signed-off-by: Isaku Yam...
Isaku Yamahata
07:49 pm Revision bd418d90: multiboot: compilation fix with DEBUG_MULTIBOOT enabled.
This patch fixes the following compilation errors in multiboot.c
when DEBUG_MULTIBOOT is defined.
Use TARGET_FMT_plx ...
Isaku Yamahata
07:48 pm Revision fe7f9567: vga-isa-mm: remove one #ifdef CONFIG_BOCHS_VBE.
remove one #ifdef CONFIG_BOCHS_VBE.
Call vga_init_vbe() instead.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co....
Isaku Yamahata
07:48 pm Revision 0f2ad63f: main: allocate gui_timer only once.
fix memory leak.
there is no need to allocate more than one gui_timer.
Signed-off-by: Isaku Yamahata <yamahata@valin...
Isaku Yamahata
05:21 pm Revision 60a3992e: Merge remote branch 'mst/for_anthony' into staging
Anthony Liguori
03:45 pm Revision 77d4f95e: cris: Break out image loading to hw/cris-boot.c.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com> Edgar E. Iglesias
01:46 am Revision 402ce448: s390: Update disassembler to the last GPLv2 from binutils.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
01:46 am Revision 2024c539: s390: Disassemble some general-instruction-extension insns.
The full general-instruction-extension facility was added to binutils
after the change to GPLv3. This is not the ent...
Richard Henderson
01:16 am Revision 5d8a4f8f: tcg-i386: Merge 64-bit generation.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
01:14 am Revision 1c0fd160: configure: display sysconfdir in summary
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
01:09 am Revision 6bde81cb: configure: ignore unknown --xyzdir options
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision ca35f780: move computation of tools and roms outside of config-host.mak generation
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision 683035de: configure: move directory defaults earlier
Unify with existing special-purpose configure code for win32.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Sig...
Paolo Bonzini
01:09 am Revision 7ee2822c: rename CONFIG_QEMU_PREFIX
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision f2b9e1e3: configure: unify handling of xyzdir variables
Making an xyzdir variable for each directory prepares for the next
patches introducing config-host.h defines and conf...
Paolo Bonzini
01:09 am Revision 99d7cc75: configure: move all directory entries in config-host.mak close
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision 1dabe05c: configure: expand ${prefix} in create_config
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision 0b24e75f: configure: introduce more --xyzdir options
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision a447d4dc: configure: bail out early on invalid -cpu option
It would fail later anyway.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aureli...
Paolo Bonzini
01:09 am Revision 190e9c59: configure: introduce confdir and confsuffix
confsuffix was write-only, flesh it out.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien ...
Paolo Bonzini
01:09 am Revision 0bfe8cc0: configure: dyngen is long time gone
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision 604f78e0: configure: delete duplicate create_config case stanza
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision e7b45cc4: configure: introduce sysconfsuffix
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini
01:09 am Revision f55fe278: configure: avoid using expr
Just a personal preference against duplicating hieroglyphics.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Sig...
Paolo Bonzini
01:09 am Revision 4021d247: configure: remove some bashisms
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
12:37 am Revision 33087598: target-mips: Fix compilation
TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.
Cc: Nathan Froyd <froydnj@codesourcery.com>
Cc: Aurelien J...
Stefan Weil

06/09/2010

05:10 pm Revision bbfa8f72: target-mips: add microMIPS exception handler support
Unlike MIPS16, microMIPS lets you choose the ISA mode for your exception
handlers. The ISA mode is selectable via a ...
Nathan Froyd
05:10 pm Revision 0fddbbf2: linux-user: honor low bit of entry PC for MIPS
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Nathan Froyd
05:10 pm Revision aecf1376: hw: honor low bit in mipssim machine
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Nathan Froyd
05:10 pm Revision c61aaf7a: tcg: get rid of DEF2 in tcg-opc.h
Now that tcg-opc.h is only used in TCG code, get rid of DEF2 in
tcg-opc.h.
Signed-off-by: Aurelien Jarno <aurelien@a...
Aurelien Jarno
05:10 pm Revision 239fda31: tcg: get rid of copy_size in TCGOpDef
copy_size is a left-over from the dyngen era, remove it.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Aurelien Jarno
05:10 pm Revision bf4120ad: target-mips: define constants for magic numbers
Add FMT_* constants for the floating-point format field in opcodes and
tweak a few places to use them. Add enums for...
Nathan Froyd
05:10 pm Revision e459440a: target-mips: move FP FMT comments closer to the definitions
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
05:10 pm Revision 3c824109: target-mips: microMIPS ASE support
Add instruction decoding for the microMIPS ASE. All we do is decode and
then forward to the existing gen_* routines....
Nathan Froyd
05:10 pm Revision 620e48f6: target-mips: mips16 cleanups
Change code handling mips16-specific branches to use ISA-neutral special
opcodes. Since there are several places whe...
Nathan Froyd
05:10 pm Revision 8153667c: target-mips: refactor c{, abs}.cond.fmt insns
Move all knowledge about coprocessor-checking and register numbering
into the gen_cmp* helper functions.
Signed-off-...
Nathan Froyd
01:35 pm Revision 590bf491: Fix multiboot compilation
Commit dd4239d6574ca41c94fc0d0f77ddc728510ffc57 broke multiboot. It replaced the
instruction "rep insb (%dx), %es:(%e...
Alexander Graf
12:58 pm Revision 50e32ea8: net: Fix hotplug with pci_add
The correct model type wasn't getting added when hotplugging nics with
pci_add.
Testcase: start VM with default nic ...
Amit Shah
12:18 pm Revision e4d58b41: tcg: Make some tcg-target.c routines static.
Both tcg_target_init and tcg_target_qemu_prologue
are unused outside of tcg.c.
Signed-off-by: Richard Henderson <rth...
Richard Henderson
12:18 pm Revision 3b6dac34: tcg: Add TYPE parameter to tcg_out_mov.
Mirror tcg_out_movi in having a TYPE parameter. This allows x86_64
to perform the move at the proper width, which ma...
Richard Henderson

06/08/2010

08:15 pm Revision 26ebe468: target-mips: break out [ls][wd]c1 and rdhwr insn generation
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: A...
Nathan Froyd
08:12 pm Revision d44cff22: Fix --enable-user-pie compilation.
We forgot to propagate -fpie to the libdis-user directory.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Acked-...
Richard Henderson

06/07/2010

05:23 pm Revision 940cda94: virtio-net: truncating packet
virtio net attempts to peek into virtio queue to
determine that we have enough space for the complete
packet to fit. ...
Michael S. Tsirkin
12:54 pm Revision fd1dc858: microblaze: Make MSR_UM and MSR_VM part of the tb flags
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com> Edgar E. Iglesias
12:53 pm Revision 7375c86f: petlogix-3adsp: Tweak displacement of cmdline and fdt blob.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com> Edgar E. Iglesias

06/04/2010

11:01 pm Revision 0ffbba35: migration-exec: fix OpenBSD build warning
Add include directives to get WIFEXITED() and WEXITSTATUS() macros defined.
Fixes warnings:
CC migration-exec.o...
Blue Swirl
10:48 pm Revision 8c0e6340: target-i386: fix decoding of negative 4-byte displacements
Negative four byte displacements need to be sign-extended after
c086b783eb7a578993d6d2ab62c4c2666800b63d. Do so.
Si...
Paolo Bonzini
04:20 pm Revision 653dbec7: block: Fix serial number assignment
We should use 'dinfo->serial' length, 'serial' is a pointer, so
the serial number length is currently limited to the ...
Luiz Capitulino
04:20 pm Revision 666daa68: blockdev: Collect block device code in new blockdev.c
Anything that moves hundreds of lines out of vl.c can't be all bad.
Signed-off-by: Markus Armbruster <armbru@redhat....
Markus Armbruster
12:43 pm Revision 236f1f67: Fix error message in drive_init
The real error is the return value of bdrv_open. errno might be overwritten or
not even set to that value in the firs...
Kevin Wolf
12:43 pm Revision 552fee93: scsi: Fix info qtree for scsi-disk.ver
Show the actual default value instead of <null> when the property has
not been set.
Signed-off-by: Markus Armbruster...
Markus Armbruster
12:43 pm Revision 08a00559: block: Assume raw for drives without media
qemu -cdrom /dev/cdrom with an empty CD-ROM drive doesn't work any more because
we try to guess the format and when t...
Kevin Wolf
12:43 pm Revision 2bc93fed: close all the block drivers before the qemu process exits
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the ...
MORITA Kazutaka
12:43 pm Revision 7cdb1f6d: block: call the snapshot handlers of the protocol drivers
When snapshot handlers are not defined in the format driver, it is
better to call the ones of the protocol driver. T...
MORITA Kazutaka
12:43 pm Revision a803cb8e: blockdev: Hide QEMUMachine from drive_init()
To pave the way for moving it out of vl.c.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin...
Markus Armbruster
12:43 pm Revision 7b370f51: qdev: Move declaration of qdev_init_bdrv() into qdev.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Markus Armbruster
12:43 pm Revision 1573a35d: Cleanup: virtio-blk.c: Be more consistent using BDRV_SECTOR_SIZE instead
Clean up virtio-blk.c to be more consistent using BDRV_SECTOR_SIZE
instead of hard coded 512 values.
Signed-off-by: ...
Jes Sorensen
12:43 pm Revision eb5a3165: Cleanup: Be consistent and use BDRV_SECTOR_SIZE instead of 512
Clean up block.c and use BDRV_SECTOR_SIZE rather than hard coded
numbers (512) when referring to sector size througho...
Jes Sorensen
12:43 pm Revision 9040385d: Cleanup: raw-posix.c: Be more consistent using BDRV_SECTOR_SIZE instead of 512
Clean up raw-posix.c to be more consistent using BDRV_SECTOR_SIZE
instead of hard coded 512 values.
Signed-off-by: J...
Jes Sorensen
12:43 pm Revision 3e82990b: Cleanup: bdrv_open() no need to shift total_size just to shift back.
In bdrv_open() there is no need to shift total_size >> 9 just to
multiply it by 512 again just a few lines later, sin...
Jes Sorensen
12:43 pm Revision 0923c577: qemu-io: Fix error messages
The truncate and getlength commands passed a negative error number to strerror.
They also happen to be the two functi...
Kevin Wolf
12:43 pm Revision 1a43782e: blockdev: Belatedly remove MAX_DRIVES
Unused since commit 751c6a17.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@...
Markus Armbruster
12:43 pm Revision f2747760: blockdev: Belatedly remove driveopts
Unused since commit 9dfd7c7a.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@...
Markus Armbruster
12:43 pm Revision fb08000c: usb: Remove unused usb_device_add() parameter is_hotplug
Unused since commit b3e461d3.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@...
Markus Armbruster
12:43 pm Revision 124964b5: ide: Remove useless IDEDeviceInfo members unit, drive
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Markus Armbruster
12:43 pm Revision 57dac7ef: ide: Remove redundant IDEState member conf
Commit 428c149b added IDEState member conf to let commit 0009baf1 find
the BlockConf from there. It exists only for ...
Markus Armbruster
12:43 pm Revision d459da0e: ide: Split ide_init1() off ide_init2()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Markus Armbruster
12:43 pm Revision 870111c8: ide: Change ide_init_drive() to require valid dinfo argument
IDEState members drive_serial_str and version are now left empty until
an actual drive is connected. Before, they go...
Markus Armbruster
12:43 pm Revision 57234ee4: ide: Split non-qdev code off ide_init2()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Markus Armbruster
12:43 pm Revision cc984673: qdev: New qdev_prop_set_string()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Markus Armbruster
12:43 pm Revision d21357df: qdev: Don't leak string property value on hot unplug
parse_string() qemu_strdup()s the property value. It is never freed.
It needs to be freed along with the device. Ot...
Markus Armbruster
12:43 pm Revision 6ced55a5: ide: Turn drive serial into a qdev property ide-drive.serial
It needs to be a qdev property, because it belongs to the drive's
guest part.
Bonus: info qtree now shows the serial...
Markus Armbruster
12:43 pm Revision 03432407: ide: Fix info qtree for ide-drive.ver
Show the actual default value instead of <null> when the property has
not been set.
Signed-off-by: Markus Armbruster...
Markus Armbruster
12:43 pm Revision a0fef654: scsi: Turn drive serial into a qdev property scsi-disk.serial
It needs to be a qdev property, because it belongs to the drive's
guest part.
Bonus: info qtree now shows the serial...
Markus Armbruster

06/03/2010

10:55 pm Revision 358c360f: Merge remote branch 'kwolf/for-anthony' into staging
Anthony Liguori
10:55 pm Revision 41ef56e6: migration: respect exit status with exec:
This patch makes sure that if the exec: process exits with a non-zero return
status, we treat the migration as failed...
Anthony Liguori
01:02 am Revision 4309a79b: tcg-i386: fix a typo
Fix a typo introduced by c28b14c694d759f39fe3ae4f8d03b567da5b93f8.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Aurelien Jarno

06/02/2010

11:51 pm Revision c28b14c6: tcg-i386: declare tcg_out_tlb_load() inline
Declare tcg_out_tlb_load() inline so that we don't loose optimisations
with commit 8516a04467cb7954cdc32e8b79b4b7df56...
Aurelien Jarno
11:50 pm Revision 82bb07db: tcg-i386: Remove some ifdefs in qemu_ld/st.
Tidy some code by replacing ifdefs by C ifs.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurel...
Richard Henderson
11:50 pm Revision 96b4cf38: tcg-i386: Tidy data16 prefixes.
Include it in the opcode as an extension, as with P_EXT
or the REX bits in the x86-64 port.
Signed-off-by: Richard H...
Richard Henderson
11:50 pm Revision be5a4eb7: tcg-i386: Split out TLB Hit path from qemu_ld/st.
Splitting out these functions will allow further cleanups.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed...
Richard Henderson
11:50 pm Revision 8516a044: tcg-i386: Split out tlb load function.
Share some code between qemu_ld and qemu_st.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurel...
Richard Henderson
11:50 pm Revision 1a6dc1e4: tcg-i386: Swap order of TLB hit and miss paths.
Make fallthru be TLB hit and branch be TLB miss. Doing this
both improves branch prediction and will allow further c...
Richard Henderson
11:08 pm Revision fb170183: sparc64: fix umul and smul insns
- truncate and sign or zero extend operands before multiplication
- factor out common code to gen_op_multiply() with ...
Igor V. Kovalenko
11:07 pm Revision 09487205: sparc64: fix udiv and sdiv insns
- truncate second operand to 32bit
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue...
Igor V. Kovalenko
11:06 pm Revision 0e2fa9ca: sparc64: improve ldf and stf insns
- implemented block load/store primary/secondary with user privilege
Signed-off-by: Igor V. Kovalenko <igor.v.kovale...
Igor V. Kovalenko
11:06 pm Revision b219094a: sparc64: use symbolic name for MMU index v1
- use symbolic name for MMU index
v0->v1:
- change debug traces to DPRINTF_MMU
- fix debug trace function names
Sign...
Igor V. Kovalenko
11:05 pm Revision fe987e23: sparc64: fix ldxfsr insn
- rearrange code to break from switch when appropriate
- allow deprecated ldfsr insn
Signed-off-by: Igor V. Kovalenk...
Igor V. Kovalenko
11:04 pm Revision c086b783: sparc64: fix 32bit load sign extension
- change return type of ldl_* to uint32_t to prevent unwanted sign extension
visible in sparc64 load alternate addr...
Igor V. Kovalenko
11:03 pm Revision 1295001c: sparc64: fix missing address masking v1
- address masking for ldqf and stqf insns
- address masking for lddf and stdf insns
- address masking for translating...
Igor V. Kovalenko
11:03 pm Revision 9168b3a5: sparc64: fix tag access register on mmu traps
- set mmu tag access register on FAULT and PROT traps as well
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gma...
Igor V. Kovalenko
11:54 am Revision 7f974481: virtio-net: stop vhost backend on vmstop
vhost net currently keeps running after vmstop,
which causes trouble as qemy does not check
for dirty pages anymore.
...
Michael S. Tsirkin
12:15 am Revision 54d43eac: vnc: tight: don't forget last pixel in tight_encode_indexed_rect
A simple patch would have been to just remove count -= 1, but this
one also replace the while (count--) with a for(i ...
Corentin Chary
12:15 am Revision 270ec219: vnc: tight: don't forget the third color
While couting color, if the third color was only present one
time it wasn't added to the palette.
Signed-off-by: Cor...
Corentin Chary
12:15 am Revision d9b73e47: vnc: add missing target for vnc-encodings-*.o
vnc-encodings-*.c dependencies where missing.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: A...
Corentin Chary

06/01/2010

09:48 pm Revision 33572ece: monitor: Reorder info documentation
Push the doc fragments for the info command to the end of
qemu-monitor.hx. This helps to establish a proper layout in...
Jan Kiszka
09:48 pm Revision b40292e7: QMP: Introduce commands documentation
One of the most important missing feature in QMP today is its
supported commands documentation.
The plan is to make ...
Jan Kiszka
09:48 pm Revision 637503d1: Monitor: Drop QMP documentation from code
Previous commit added QMP documentation to the qemu-monitor.hx
file, it's is a copy of this information.
While it's ...
Luiz Capitulino
09:34 pm Revision 38141097: Merge remote branch 'mst/for_anthony' into HEAD
Anthony Liguori
09:31 pm Revision 847ce6a1: vnc: don't send invalid screen updates.
Don't send updates for screen areas which are outside the clients
desktop. May happed with vnc clients which don't s...
Gerd Hoffmann
09:31 pm Revision 1d4b638a: vnc: move size-changed check into the vnc_desktop_resize function.
This make sure we send a desktop resize message only in case we actually
have to, using the new variables which track...
Gerd Hoffmann
09:30 pm Revision 621aaeb9: vnc: factor out vnc_desktop_resize()
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Gerd Hoffmann
09:30 pm Revision 6356e472: vnc: send desktopresize event as reply to set encodings
In case the desktop did resize while the vnc connection setup was still
in progress the client isn't informed about i...
Gerd Hoffmann
09:30 pm Revision 5862d195: vnc: keep track of client desktop size
Add two new variables to keep track of the vnc clients desktop size.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com...
Gerd Hoffmann
08:53 pm Revision 26572b8a: check for active_console before using it
Other vga_hw_* functions do the same.
Fixes a segmentation fault. Trigger: boot with -nodefaults,
then connect via v...
Gerd Hoffmann
08:53 pm Revision b6278084: Add support for depth 15 to qemu_default_pixelformat()
Makes qemu_default_pixelformat(15) return pixelformat filled for 15 bit
color depth (16 bpp, 5 bits for red,green,blu...
Gerd Hoffmann
08:53 pm Revision 780a049e: vnc: really call zlib if we want zlib
send_framebuffer_update() was calling hextile instead of zlib
since commit 70a4568fe0c5a64adaa3da5030b7109e5199e692.
...
Corentin Chary
08:53 pm Revision 8a0f0d0c: vnc: explain why set_encodings loop is reversed
Add a small comment to explain why we need to start from
the end of the array to set the right prefered encoding.
Si...
Corentin Chary
08:53 pm Revision a9f20d31: Revert "vnc: set the right prefered encoding"
This patch was wrong, because the loop was already reversed,
so the first encoding was correctly set at the end of th...
Corentin Chary
08:53 pm Revision b05ad290: vnc: only use a single zlib stream
According to http://tigervnc.org/cgi-bin/rfbproto#zlib-encoding
zlib encoding only uses a single stream. Current impl...
Corentin Chary
08:53 pm Revision 9f643ec0: vnc: adjust compression zstream level
Adjust zlib compression level if needed by calling deflateParams.
Signed-off-by: Corentin Chary <corentincj@iksaif.n...
Corentin Chary
08:53 pm Revision 78c98c78: vnc: don't clear zlib stream on set_encoding
On init, values are already NULL, but we shouldn't try
to reset them each time a client send a set encoding
command b...
Corentin Chary
08:53 pm Revision 5d418e3b: vnc: add buffer_free()
Add a buffer_free() helper to free vnc buffers and
remove some duplicated code in vnc_disconnect_finish().
Signed-of...
Corentin Chary
08:53 pm Revision 161c4f20: vnc: remove a memory leak in zlib
Makes sure we free all ressources used in zlib encoding (zlib stream
and buffer).
Signed-off-by: Corentin Chary <cor...
Corentin Chary
08:53 pm Revision a885211e: vnc: return the number of rectangles
Some encodings like tight supports tiling (spliting in
multiple sub-rectangles). So we needed a way to tell
vnc_updat...
Corentin Chary
08:53 pm Revision 380282b0: vnc: add basic tight support
Add support for tight encoding [1]. This patch only add support
for "basic" tight compression without any filter.
[1...
Corentin Chary
08:53 pm Revision b4bea3f2: vnc: add support for tight fill encoding
Fill encoding detects rectangles using only one color and send only
one pixel value.
Signed-off-by: Corentin Chary <...
Corentin Chary
08:53 pm Revision aa7d73fd: vnc: tight: add palette encoding
Add palette tight encoding. Palette encoding will try to count the number
of colors for a given rectangle, and if thi...
Corentin Chary
08:53 pm Revision eafaf1e5: resent: x86/cpuid: Add kvm32 CPU model
Create a kvm32 CPU model that describes a least common denominator
for KVM capable guest CPUs. Useful for migration p...
Andre Przywara
08:53 pm Revision a132a679: virtio-serial-bus: fix ports_map allocation on init
Fix for too small allocation to ports_map
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Amit Shah <amit...
Alon Levy
08:53 pm Revision 3fc250b4: migration: Fix calculation of bytes_transferred
When a page with all identical bytes is transferred, it is counted
as a full page (TARGET_PAGE_SIZE) although only on...
Pierre Riteau
08:53 pm Revision 4091da4b: Add dependency of JSON unit tests on config-host.h
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Jan Kiszka

05/31/2010

09:59 pm Revision 9af9b330: ioapic: improve debugging
Add a DPRINTF macro, use it also to see irq deliveries.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
09:55 pm Revision 17e6a53f: Fix leul_to_cpu on big endian hosts
Commit 213acd2e introduced leul_to_cpu with a special code path for big endian
hosts. Unfortunately that code used pr...
Alexander Graf
08:40 pm Revision e03c22a9: arm: fix arm kernel boot for non zero start addr
Booting an arm kernel has been broken a while when booting from non zero start
address. This is due to the order of e...
Lars Munch
08:18 pm Revision 0f89cc7b: target-ppc: remove useless line
This line was a bit clear.
The next lines set or reset this bit (LE) depending of another bit (ILE).
So the first lin...
Thomas Monjalon
08:17 pm Revision c3d420ea: target-ppc: fix RFI by clearing some bits of MSR
Since commit 2ada0ed, "Return From Interrupt" is broken for PPC processors
because some interrupt specifics bits of S...
Thomas Monjalon
04:39 pm Revision e075e788: pci-hotplug: make them aware of pci domain.
add helper function which converts root bus to pci domain.
make them aware of pci domain.
Signed-off-by: Isaku Yamah...
Isaku Yamahata
04:33 pm Revision 5e434f4e: pci: clean up of pci_set_default_subsystem_id().
Use pci accessor function.
don't return value because it always return 0 and
the caller doesn't check the return valu...
Isaku Yamahata
04:33 pm Revision 3c18685f: pci: add const to pci_is_express(), pci_config_size().
add const to pci_is_express(), pci_config_size().
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-...
Isaku Yamahata
04:33 pm Revision 0c6fcb62: pci.h: remove unused constants.
So remove unused constants,
PCI_STATUS_RESERVED_MASK_LO, PCI_STATUS_RESERVED_MASK_HI,
PCI_COMMAND_RESERVED, PCI_COMMA...
Isaku Yamahata
04:33 pm Revision 1b4e8f73: msix: remove duplicated defines.
remove defines which are already defined in pci_regs.h
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed...
Isaku Yamahata

05/30/2010

10:20 pm Revision aa6f63ff: mc146818rtc: improve debugging
Add a separate flag for debugging coalesced interrupts.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
12:22 am Revision da7ed379: sparc32 SuperSPARC MMU Breakpoint Action register (SS-20 OBP fix)
SuperSPARC MMU Breakpoint Action register is used by OBP at boot
The patch allows booting Solaris and some other OS ...
Artyom Tarasenko

05/29/2010

11:23 pm Revision 471fd342: pc: improve debugging
Add a DPRINTF macro and use it for ISA and PIC interrupts.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
11:23 pm Revision 0a3c5921: apic: improve debugging
Add a DPRINTF macro. Use TARGET_FMT_plx for printing target_phys_addr_t
items. Add a separate flag for debugging coal...
Blue Swirl
11:23 pm Revision 8ac02ff8: i8259: improve debugging
Add a DPRINTF macro.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
01:20 pm Revision 03ae77d6: sparc64: fix user emulator build
Accesses with _nucleus prefix are not available when building user
emulators:
CC sparc64-linux-user/op_helper.o
...
Blue Swirl
11:20 am Revision 3386376c: Pad iommu with an empty slot (necessary for SunOS 4.1.4)
On the real hardware (SS-5, LX) the MMU is not padded, but aliased.
Software shouldn't use aliased addresses, neither...
Artyom Tarasenko
10:26 am Revision 54a3c0f0: sparc64: fix 128-bit atomic load from nucleus context v1
- change 128-bit atomic loads to reference nucleus context
v0->v1: dropped disassembler change
Signed-off-by: Igor V....
Igor V. Kovalenko
04:27 am Revision 68a1c816: Pre-allocate guest address space
Allow pre-allocation of the guest virtual address space in usermode emulation.
Signed-off-by: Paul Brook <paul@codes...
Paul Brook
12:27 am Revision 0be1d07c: alpha-linux-user: Fill in SI_CODE for SIGSEGV.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
12:27 am Revision 680c877a: linux-user: Use qemu-malloc.c.
Since we're no longer setting PAGE_RESERVED, there's no need to
implement qemu_malloc via mmap.
Signed-off-by: Richa...
Richard Henderson
12:27 am Revision 50401022: Use calloc in qemu_mallocz.
Avoids the memset if the allocator has gotten new zeroed
storage from the operating system.
Signed-off-by: Richard H...
Richard Henderson
12:20 am Revision 564e2fe8: linux-user: Fix compilation with DEBUG defined
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aure...
Riccardo Magliocchetti

05/28/2010

11:08 pm Revision 82f24fcc: Fix hw/gt64xxx.c compilation with DEBUG defined
Use TARGET_FMT_plx as format placeholder for target_phys_addr_t
Signed-off-by: Riccardo Magliocchetti <riccardo.magl...
Riccardo Magliocchetti
11:08 pm Revision 3c05613a: Fix typo in balloon help
Fix launchpad #563883
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Aureli...
Riccardo Magliocchetti
10:48 pm Revision c1735af1: musicpal: Drop redundant reset call
Reset is now triggered after init, no need for explicit calls anymore.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>...
Jan Kiszka
10:47 pm Revision d8e06f97: doc: Update monitor info subcommands
The "info blockstats" documentation was copy-pasted as "info block"
instead of "info blockstats". The documentation ...
Stefan Hajnoczi
10:33 pm Revision 97679527: Fix overflow in i440fx_init()
The ram_size parameter can be larger than an int, so it may be truncated.
Fix by using the correct type.
Signed-off...
Avi Kivity
10:25 pm Revision 9ba8c3f4: arm: prevent coprocessor IO reset
This prevent coprocessor IO structure from being reset on cpu reset. This was
a problem for PXA which uses coprocesso...
Lars Munch
09:54 pm Revision 3e1dbadd: tcg: Use INDEX_op_qemu_ld32 for 32-bit results.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
02:29 pm Revision 1a396859: block: Add missing bdrv_delete() for SG_IO BlockDriver in find_image_format()
This patch adds a missing bdrv_delete() call in find_image_format() so that a
SG_IO BlockDriver properly releases the...
Nicholas A. Bellinger
02:29 pm Revision 86fa8da8: qcow2: Fix corruption after error in update_refcount
After it is done with updating refcounts in the cache, update_refcount writes
all changed entries to disk. If a refco...
Kevin Wolf
02:29 pm Revision 25408c09: qcow2: Fix corruption after refblock allocation
Refblock allocation code needs to take into consideration that update_refcount
will load a different refcount block i...
Kevin Wolf
02:29 pm Revision ed0df867: qcow2: Return right error code in write_refcount_block_entries
write_refcount_block_entries used to return -EIO for any errors. Change this to
return the real error code.
Signed-o...
Kevin Wolf
02:29 pm Revision 55c17e98: qcow2: Change l2_load to return 0/-errno
Provide the error code to the caller instead of just indicating success/error.
Signed-off-by: Kevin Wolf <kwolf@redh...
Kevin Wolf
02:29 pm Revision 1c46efaa: qcow2: Allow qcow2_get_cluster_offset to return errors
qcow2_get_cluster_offset() looks up a given virtual disk offset and returns the
offset of the corresponding cluster i...
Kevin Wolf
02:14 pm Revision b587a52c: posix-aio-compat: Expand tabs that have crept in
This patch expands tabs on a few lines so the code formats nicely and
follows the QEMU coding style.
Signed-off-by: ...
Stefan Hajnoczi
02:14 pm Revision c63782cb: block.h: Make BDRV_SECTOR_SIZE 64 bit safe
C defaults to int, so make definition of BDRV_SECTOR_SIZE 64 bit
safe as it and BDRV_SECTOR_MASK may be used against ...
Jes Sorensen
02:14 pm Revision 175e1152: qcow2: Fix error handling in l2_allocate
l2_allocate has some intermediate states in which the image is inconsistent.
Change the order to write to the L1 tabl...
Kevin Wolf
02:14 pm Revision 1b7c801b: qcow2: Clear L2 table cache after write error
If the L2 table was already updated in cache, but writing it to disk has
failed, we must not continue using the chang...
Kevin Wolf
02:14 pm Revision cbf1dff2: block: Fix multiwrite with overlapping requests
With overlapping requests, the total number of sectors is smaller than the sum
of the nb_sectors of both requests.
S...
Kevin Wolf
02:14 pm Revision 776cbbbd: qemu-io: Add multiwrite command
The new multiwrite commands allows to use qemu-io for testing
bdrv_aio_multiwrite.
Signed-off-by: Kevin Wolf <kwolf@...
Kevin Wolf
02:14 pm Revision b50cbabc: add support for protocol driver create_options
This patch enables protocol drivers to use their create options which
are not supported by the format. For example, ...
MORITA Kazutaka
02:14 pm Revision dc33bb34: drive: allow rerror, werror and readonly for if=none
When creating guest disks the qdev way using ...
-drive if=none,id=$name,args
-device $driver,drive=$name
it is...
Gerd Hoffmann

05/27/2010

09:57 pm Revision 29f91781: vhost_net.c: v2 Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a18...
Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2
The format statement expects unsigned long ...
Jes Sorensen
01:08 am Revision c3177288: Make cache=unsafe the default for -snapshot
When using -snapshot we don't care about data integrity of the cow file
at all, so let's disable flushing there and s...
Alexander Graf

05/26/2010

10:14 pm Revision d63baf92: sparc64: clean up pci bridge map
- remove unused host state and store pci bus pointer only
- do not map host state access into unused 1fe.10000000 ran...
Igor V. Kovalenko
10:13 pm Revision 5910b047: sparc64: rename sun4u cpu to Ultrasparc IIi
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Igor V. Kovalenko
09:05 pm Revision 016f5cf6: Add cache=unsafe parameter to -drive
Usually the guest can tell the host to flush data to disk. In some cases we
don't want to flush though, but try to ke...
Alexander Graf

05/24/2010

11:18 pm Revision fbe6d7a4: use new cursor struct + functions for vmware vga and sdl.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Gerd Hoffmann
11:18 pm Revision d467b679: vnc: rich cursor support.
Uses VNC_ENCODING_RICH_CURSOR. Adding XCURSOR support should be
possible without much trouble. Shouldn't be needed ...
Gerd Hoffmann
11:18 pm Revision 111f8ec9: sdl: Do not disable screensaver by default
Unless we are running in full-screen mode, QEMU's SDL window should not
disable the host's screensaver. The user can ...
Jan Kiszka
11:18 pm Revision ebbeb789: Virtio-net: Replace the hardcode 6 with defined ETN_ALEN
hw/virtio-net.h:
#define ETH_ALEN 6
ETH_ALEN was defined by commit 7967406801aa897fae83caad3278ac85a342adaa
S...
Amos Kong
11:18 pm Revision 254e5950: cursor: add cursor functions.
Add a new cursor type to console.h and a bunch of functions to
deal with cursors the (new) cursor.c file.
Signed-off...
Gerd Hoffmann
11:18 pm Revision 019e78ba: Fix error handling in qemu_read_config_file
We need to close the file even in error case. While at it, make the callers
catch all kind of errors. ENOENT is allow...
Kevin Wolf
06:53 pm Revision 9c678ccd: Merge remote branch 'kwolf/for-anthony' into staging
Anthony Liguori
05:00 pm Revision 3853528a: Merge remote branch 'qmp/for-anthony' into staging
Anthony Liguori
12:14 pm Revision 16f04416: microblaze: Handle new elf mach nr for sysemu.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Edgar E. Iglesias
« Previous
Next »
 

Also available in: Atom