commit_msg
stringlengths
1
24.2k
commit_hash
stringlengths
2
84
project
stringlengths
2
40
source
stringclasses
4 values
labels
int64
0
1
repo_url
stringlengths
26
70
commit_url
stringlengths
74
118
commit_date
stringlengths
25
25
pseries: Fix initialization of sPAPREnvironment structure Since we added PCI support to the pseries machine, we include a qlist of PCI host bridges in the sPAPREnvironment structure. However this list was never properly initialized it. Somehow we got away with this until some other recent change broke it, and we now segfault immediately on startup. This patch adds the required QLIST_INIT(), and while we're at it makes sure we initialize the rest of the sPAPREnvironment structure to 0, to avoid future nasty surprises. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
d43b45e220ae82081e389ae113f6f03d9294fdcf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d43b45e220ae82081e389ae113f6f03d9294fdcf
2011-11-11 17:33:58+01:00
qxl: fix guest cursor tracking (1) If the guest cursor command is empty, don't reload it after migration. (2) Cleaning the guest cursor when it is released by the spice server. In addition, explicitly reset the cursor in spice upon destroying the primary surface (was done by spice-server implicitly). This will prevent access to pci memory that was released. RHBZ: 744518 Signed-off-by: Yonit Halperin <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
30f6da6656c94964ba8677928588592d9667007e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/30f6da6656c94964ba8677928588592d9667007e
2011-10-25 14:00:54+02:00
Support running QEMU on Valgrind Valgrind is a tool which can automatically detect many kinds of bugs. Running QEMU on Valgrind with x86_64 hosts was not possible because Valgrind aborts when memalign is called with an alignment larger than 1 MiB. QEMU normally uses 2 MiB on Linux x86_64. Now the alignment is reduced to the page size when QEMU is running on Valgrind. v2: Instead of using the macro RUNNING_ON_VALGRIND from valgrind.h, the patch now uses a hack from libvirt which tests for the pre-loaded vgpreload_*.so shared libraries. This avoids the need for valgrind.h. Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
c2a8238a2c1e37a2ae6d628a2b7bd95d1b5f1a89
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c2a8238a2c1e37a2ae6d628a2b7bd95d1b5f1a89
2011-11-01 10:04:05-05:00
hw/9pfs: Fix build error on platform that don't support futimens Also don't do glibc version check to find handle support. Instead do handle syscall support in configure. Signed-off-by: Aneesh Kumar K.V <[email protected]>
d20423788e3a3d5f6a2aad8315779bf3f952ca36
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d20423788e3a3d5f6a2aad8315779bf3f952ca36
2011-10-15 15:30:26+05:30
mips_jazz: initialize i8259 after the ISA bus Succeeding i8259 conversion to ISA requires this. Signed-off-by: Avi Kivity <[email protected]>
e155c99be9439f1fdf245b0b05251f2e225cde62
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e155c99be9439f1fdf245b0b05251f2e225cde62
2011-09-25 14:58:36+03:00
vga: Unbreak ISA support We need to initialize legacy_address_space during ISA VGA setup so that the chain-4 alias can be registered properly. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
53d6e682552c981207a38f6c794c47320e95e0d0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/53d6e682552c981207a38f6c794c47320e95e0d0
2011-09-23 10:55:33-05:00
target-xtensa: implement memory protection options - TLB opcode group; - region protection option (ISA, 4.6.3); - region translation option (ISA, 4.6.4); - MMU option (ISA, 4.6.5). Cache control attribute bits are not used by this implementation. Signed-off-by: Max Filippov <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
b67ea0cd74417b42482499c29feb90914fbf8097
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b67ea0cd74417b42482499c29feb90914fbf8097
2011-09-10 16:57:40+00:00
Drop the incoming_expected global variable Test against RSTATE_IN_MIGRATE instead. Please, note that the RSTATE_IN_MIGRATE state is only set when all the initial VM setup is done, while 'incoming_expected' was set right in the beginning when parsing command-line options. Shouldn't be a problem as far as I could check. Signed-off-by: Luiz Capitulino <[email protected]>
1bcef683bf840a928d633755031ac572d5fdb851
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1bcef683bf840a928d633755031ac572d5fdb851
2011-09-15 16:39:32-03:00
introduce environment variables for all qemu-user options (Edits by Riku Voipio to apply to current HEAD) Rework option parsing code for linux-user in a table-driven manner to allow environment variables for all commandline options. Also generate usage() output from option table. Fix complains from checkpatch.pl, also have envlist global Signed-off-by: Johannes Schauer <[email protected]> Signed-off-by: Riku Voipio <[email protected]>
fc9c54124d134dbd76338a92a91804dab2df8166
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fc9c54124d134dbd76338a92a91804dab2df8166
2011-09-09 10:48:10+03:00
vscsi: send the CHECK_CONDITION status down together with autosense data I introduced this bug in commit 05751d3 (vscsi: always use get_sense, 2011-08-03) because at the time there was no way to expose a sense condition to SLOF and Linux manages to work around the bug. However, the bug becomes evident now that SCSI devices also report unit attention on reset. SLOF also has problems dealing with unit attention conditions, so it still will not boot even with this fix (just like OpenBIOS). IBM folks are aware of their part of the bug. :-) Reported-by: Thomas Huth <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Acked-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
f5b6ffcf2a94337df31e801dd11b34896bd4fe2b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f5b6ffcf2a94337df31e801dd11b34896bd4fe2b
2011-10-06 09:48:05+02:00
cirrus: wrap memory update in a transaction This prevents spurious unmapping and remapping of the vga windows, which reduces performance. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
cf9182e2290732be9f8d4f73ba3d6f3484380450
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cf9182e2290732be9f8d4f73ba3d6f3484380450
2011-08-25 10:56:33+03:00
PPC: E500: Set ESR values When an exception occurs on BookE, we need to set ESR bits to expose to the guest information on what exactly happened. Add the obvious ones. Reported-by: Jason Wessel <[email protected]> Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Edgar E. Iglesias <[email protected]>
e8906f3529a452276375ab8e7b8598751bc33b01
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8906f3529a452276375ab8e7b8598751bc33b01
2011-08-23 22:24:40+02:00
sdl: Initialize gui_fullscreen earlier during setup This ensures that we actually enter full screen on startup when e.g. '-vga none -full-screen' was specified. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
110defd753906a01d01d0cabfb2d8db77b3271ef
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/110defd753906a01d01d0cabfb2d8db77b3271ef
2011-08-05 10:57:35-05:00
scsi: add support for unit attention conditions Unit attention conditions override any sense data the device already has. Their signaling and clearing is handled entirely by the SCSIBus code, and they are completely transparent to the SCSIDevices. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
6dc06f08b3d6c0347df00ac68d9f30e2b233a749
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6dc06f08b3d6c0347df00ac68d9f30e2b233a749
2011-08-12 08:31:28-05:00
balloon: Reject negative balloon values Negative balloon values don't make sense, reject them and throw a qerror with QERR_INVALID_PARAMETER_VALUE. Reported-by: Mike Cao <[email protected]> Signed-off-by: Amit Shah <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]>
514e73ecebc0aeadef218e91e36ee42b3d145c93
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/514e73ecebc0aeadef218e91e36ee42b3d145c93
2011-08-04 16:43:09-05:00
monitor: Prevent sign-extension of 32-bit addresses printed by info mem Previously, on 32-bit i386, info mem used signed 32-bit int's to store the page table indexes. As a result, address calculation was done in 32 bits and then incorrectly sign-extended to 64 bits, yielding output like ffffffffef000000-ffffffffef031000 0000000000031000 ur- ffffffffef7bc000-ffffffffef7bd000 0000000000001000 urw ffffffffef7bd000-ffffffffef7be000 0000000000001000 ur- This makes these indexes unsigned, which yields correct output 00000000ef000000-00000000ef031000 0000000000031000 ur- 00000000ef7bc000-00000000ef7bd000 0000000000001000 urw 00000000ef7bd000-00000000ef7be000 0000000000001000 ur- Signed-off-by: Austin Clements <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
b49ca72dd7c6157324656694a924ad1d781e2916
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b49ca72dd7c6157324656694a924ad1d781e2916
2011-08-21 16:42:31+00:00
qemu-img: Add cache command line option qemu-img currently writes disk images using writeback and filling up the cache buffers which are then flushed by the kernel preventing other processes from accessing the storage. This is particularly bad in cluster environments where time-based algorithms might be in place and accessing the storage within certain timeouts is critical. This patch adds the option to choose a cache method when writing disk images. Signed-off-by: Federico Simoncelli <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
661a0f712b7c5b78408d85ba8b7f47ce44f395c0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/661a0f712b7c5b78408d85ba8b7f47ce44f395c0
2011-07-05 11:23:29+02:00
ehci: add freq + maxframes properties Add properties for the wakeup rate and the max number of frames ehci will process at once. The wakeup rate defaults to 1000 which equals the usb frame rate. This can be reduced to make qemu wake up less often when ehci is active. In case the wakeup rate is reduced or the ehci timer is delayed due to latency issues elsewhere in qemu ehci will process multiple frames at once. The maxframes property specifies the upper limit for this. Signed-off-by: Gerd Hoffmann <[email protected]>
16a2dee6b98ec0d4f60fa17f78ca989ce5c7f831
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/16a2dee6b98ec0d4f60fa17f78ca989ce5c7f831
2011-06-23 11:28:06+02:00
usb: assert on calling usb_attach(port, NULL) on a port without a dev with the "usb-ehci: cleanup port reset handling" patch in place no callers are calling usb_attach(port, NULL) for a port where port->dev is NULL. Doing that makes no sense as that causes the port detach op to get called for a port with nothing attached. Add an assert that port->dev != NULL when dev == NULL, and remove the check for not having a port->dev in the dev == NULL case. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
45b9fd348061ab793cf4521bb3621f07a5bd7bf6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/45b9fd348061ab793cf4521bb3621f07a5bd7bf6
2011-07-05 15:09:02+02:00
seabios: update to latest git - cc97564 Add config option to permit running option roms with bad checksums. - 424f217 Add config option to disable MTRR initialization. - fb2f10d Prep version for next release. - f18b09b Update version to 0.6.2 - 20fcf9b lets pretend that RTC can be used to wakeup from S4 - 1efb10b Expand user configurable parameters in Kconfig. - 3dba4c2 Support non-local build directory - allow "make OUT=abc/" to work. - 42d9771 The vgabios build must depend on autoconf.h. - 32aa9f3 fix parallel compilation of SeaBIOS - 713be89 Start using Kconfig to configure SeaBIOS settings. - b623e7c Change kconfig to emit disabled symbols in autoconf.h. - 0da7bfd Build changes for Linux kconfig code to work in seabios dir structure. - a4c5daf Initial commit of Kconfig build tool. - 4d0c592 Minor boot fixes. - 812478e Minor comment / code layout improvement to romlayout.S. - 6fc7cf1 Fix to prevent infinite loop in build_pci_path(). - f5154e2 support T13 EDD3.0 spec - d08eb9c Add ability to track PCI paths and add to build_pci_path(). - 89a1efd Move the CBFS payload setup to later in the boot. - 9e881a3 Extract space trimming code from ATA and use in USB and bootorder code. - 3c241ed seabios: acpi: add _RMV control method for PCI devices - c2002a1 Add support for finding the boot priority of USB drives. - a5f2b91 Extend 'usb_pipe' to track the controller and ports of each device. - 8bf5503 Add functions for boot device path parsing. - c4bd3b9 Use bootprio_find_named_rom() for ramdisk and cbfs payload priorities. - ca2bc1c Remove drive->desc field. - f13a180 Minor reorganization of some of the boot_xxx code in boot.c. - 3da2c1c Move IPL.fw_bootorder to static variables in boot.c. - 7bb1584 Move IPL.bev to static variables in boot.c - baaadb6 Move IPL.checkfloppysig to a global (CheckFloppySig) in boot.c. - a0842f8 Remove Drives global struct in favor of independent global variables. - ecbcf77 Don't access drive_g->desc from boot_cdrom(). - 551caa2 Simplify keyboard reading code in the interactive boot menu. - 697e63c Call setup_translation() from map_hd_drive(). - 3c5e0e1 Rename add_ordered_drive() to add_drive() and use in map_hd_drive(). - 031ef55 Add stubs to permit devices to specify their boot priority. - 72eee3e Simplify boot ordering by building an inclusive boot list. - ce24be5 Populate drive_g->desc prior to calling add_bcv_internal(). - 74fd942 pciinit: fix off-by-one - 311f887 Minor build fixes. - bca3a87 Track the source of each optionrom deployed. - c6629e0 Support qemu based romfile wrappers called out of order. - d1a1746 Breakup boot_setup() bootorder code into its own function. - f9b0930 Add romfile_loadfile() helper function. - b9a7591 Read bootorder file into memory. - 2e109a6 Add strchr() function. - 1703ea2 Add romfile_name() function. - b674152 Add BAID for ahci cdrom. - f77e179 Provide full EDD 3.0 info for virtio disk - 67863be Enhance layoutrom.py to work around a binutils quirk. - 4c90a20 Create separate IPL entry for each CD/DVD - 0e6f636 ahci: set controller id - 1e924bb ahci: fix off-by-one in port count - 7eb0222 ahci: enable io/mem/dma - c19fc71 ahci: set dma feature flag - 80c2b6e Check if capability enabled in XXX_cmd_data functions. - f3fe3aa Require a "_cfuncXX_" symbol prefix for inter-mode c function references. - d52fdf6 add ahci support - 54fa8ec ata: make helpers available - 0a80608 util: add memset_fl() - f1f18eb pci: add helper functions for mmio bar access from real mode. - af9629b Enhance call32() to pass a parameter to called function. - 4057f98 Don't pass return address to transition(32,16,16big) on stack. - e2623fc pciinit: use pci_region functions. - 58a38e8 pci: introduce pci_region to manage pci io/memory/prefmemory regions. - 6d5a217 mark irq9 active high in DSDT - 9433098 Report meaningful error if pyserial not present in tools/readserial.py - 94dc9c4 Show size of non-relocatable runtime code during build. - 4d96edc Cleanup - it's no longer necessary to manually reset global variables. - a899945 Allow rom to grow to 256K. - 4a446d7 Fix typo preventing relocated space from being used for option roms. - 0f67397 fix virtio-blk failure after reboot - d4bded4 Add a debug method to AML code. - 2f96800 Warn that ohci bulk is not supported. - e826465 Enable optionroms to use freed space due to CONFIG_RELOCATE_INIT. - 7f55fd3 Move the 32bit init code to high memory at runtime. - 025cabd Move init code from _start() to post(). - 12fa24a Add memalign_tmp() helper function. - 244caf8 Try to hard-reboot on rerun of post even on emulators. - 5bd01de Don't do shadow copying of optionroms when CONFIG_OPTIONROMS_DEPLOYED. - adaf373 Try to hard-reboot processor on rerun of post under coreboot. - 402fd9c Enhance build to emit relocation information. - d1b4f96 Separate out init code from the rest of the 32bit flat code. - 1a4885e Modify tools/layoutrom.py to use classes instead of tuples. - 6c2e781 Use str.startswith() in python scripts. - d9c916e Prep version for next release. Signed-off-by: Anthony Liguori <[email protected]>
8b06c62ae48b67b320f7420dcd4854c5559e1532
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8b06c62ae48b67b320f7420dcd4854c5559e1532
2011-03-21 17:41:52-05:00
Fix typos in comments (chek -> check) Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
a57d23e4f7e7e81c839a7b53a973ac71eefe91da
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a57d23e4f7e7e81c839a7b53a973ac71eefe91da
2011-05-22 22:31:45+01:00
i8254: convert to qdev Convert to qdev. Don't expose PITState. Signed-off-by: Blue Swirl <[email protected]>
64d7e9a421fea0ac50b44541f5521de455e7cd5d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/64d7e9a421fea0ac50b44541f5521de455e7cd5d
2011-02-20 09:35:06+00:00
scsi-generic: Handle queue full The sg driver currently has a hardcoded limit of commands it can handle simultaneously. When this limit is reached the driver will return -EDOM. So we need to capture this to enable proper return values here. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
2e7cc4d604206ce15d298686c0ffd77dcedc33a2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2e7cc4d604206ce15d298686c0ffd77dcedc33a2
2011-05-26 12:14:17+02:00
kvm: Stop on all fatal exit reasons Ensure that we stop the guest whenever we face a fatal or unknown exit reason. If we stop, we also have to enforce a cpu loop exit. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
73aaec4a39b3cf11082303a6cf6bcde8796c09c6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/73aaec4a39b3cf11082303a6cf6bcde8796c09c6
2011-01-23 02:27:20-02:00
Add notifier that will be called when machine is fully created. Action that depends on fully initialized device model should register with this notifier chain. Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
4cab946a4adc3094a846dd3c7ea104abe7bdc5f1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4cab946a4adc3094a846dd3c7ea104abe7bdc5f1
2010-12-11 21:32:48+00:00
pci/aer: fix error injection Fix the injection logic upon aer message to follow 6.2.4.1.2 more closely: specifically only send an msi interrupt when the logical or of the enabled bits changed, not when a bit which was previously clear becomes set. Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Isaku Yamahata <[email protected]>
c3f33667a64a6de0b92106c862247d97d81490ef
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c3f33667a64a6de0b92106c862247d97d81490ef
2010-12-09 12:48:26+02:00
block: Make bdrv_create_file() ':' handling consistent Filenames may start with "<protocol>:" to explicitly use a protocol like nbd. Filenames with unknown protocols are rejected in most of QEMU except for bdrv_create_file(). Even if a file with an invalid filename can be created, QEMU cannot use it since all the other relevant functions reject such paths. Make bdrv_create_file() consistent. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
16905d717507d3daffa714c7f0fd5403873807b2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/16905d717507d3daffa714c7f0fd5403873807b2
2010-12-14 15:44:21+01:00
tools: Use real async.c instead of stubs It's wrong to call BHs directly, even in tools. The only operations that schedule BHs are called in a loop that (indirectly) contains a call to qemu_bh_poll anyway, so we're not losing the scheduled BHs: Tools either use synchronous functions, which are guaranteed to have completed (including any BHs) when they return; or if they use asynchronous functions, they need to call qemu_aio_wait() or similar functions already today. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]>
4e59b545868a5ee5f59b346337f0c44209929334
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4e59b545868a5ee5f59b346337f0c44209929334
2011-03-15 13:21:14+01:00
intel-hda: Honor WAKEEN bits. HDA: Honor WAKEEN bits when deciding to raise an interrupt on codec status change. This prevents an interrupt storm with the Haiku HDA driver which does not handle codec status changes in the irq handler. Signed-off-by: François Revol <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: malc <[email protected]>
af93485cde810f3c2f488533e0b60c99eae5d01d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/af93485cde810f3c2f488533e0b60c99eae5d01d
2010-11-09 16:51:12+03:00
Use GCC_FMT_ATTR (format checking) Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
8b7968f7c4ac8c07cad6a1a0891d38cf239a2839
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8b7968f7c4ac8c07cad6a1a0891d38cf239a2839
2010-10-03 06:34:51+00:00
*-dis: Replace fprintf_ftype by fprintf_function (format checking) This patch adds more printf format checking. Additional modifications were needed for this code change: * alpha-dis.c: The local definition of MAX conflicts with a previous definition from osdep.h, so add an #undef. * dis-asm.h: Add include for fprintf_function (qemu-common.h). The standard (now redundant) includes are removed. * mis-dis.c: The definition of ARRAY_SIZE is no longer needed and must be removed (conflict with previous definition from qemu-common.h). * sh4-dis.c: Remove some unneeded forward declarations. Cc: Blue Swirl <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
6e2d864edf5ef4d75e2fec061f4cd247b4d315be
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6e2d864edf5ef4d75e2fec061f4cd247b4d315be
2010-12-04 20:50:30+00:00
powerpc: Make the decr interrupt type overridable Make it possible for boards to override the kind of interrupt to be signaled when the decr timer hits. The 405's signal PIT interrupts while the 440's signal DECR. Signed-off-by: Edgar E. Iglesias <[email protected]>
d63cb48db9016328a7a69f3a1c2938cd3dfc9d1a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d63cb48db9016328a7a69f3a1c2938cd3dfc9d1a
2010-09-24 22:01:24+02:00
PPC: Suppress gcc warnings with -Wtype-limits The hack added by c5b76b381081680633e2e0a91216507430409fb2 was not enough to avoid warnings with gcc flag -Wtype-limits. Add a new macro to fix both problems. Signed-off-by: Blue Swirl <[email protected]>
d62d28630dde50b436ca19afc9279ce449170121
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d62d28630dde50b436ca19afc9279ce449170121
2010-09-18 05:53:15+00:00
HACKING: add C type rules Add C type rules, adapted from libvirt HACKING. Also include a description of special QEMU scalar types. Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6 where it belongs. Signed-off-by: Blue Swirl <[email protected]>
84174436a6cd948c3bac22bc02df5d2404ff641d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/84174436a6cd948c3bac22bc02df5d2404ff641d
2010-09-10 18:47:31+00:00
qemu-img: Fix qemu-img convert -obacking_file The old -B option caused a backing file to be used for the converted image and to avoid copying clusters from the old backing file. When replaced with -obacking_file, qemu-img convert does assign the backing file to the new image, but it doesn't realize that it should avoid copying clusters from the backing file. This patch checks the -o options for a backing_file and applies the same logic as for -B in this case. Signed-off-by: Kevin Wolf <[email protected]>
a18953fbe72ba553a564ba11fdda03aac41d4f38
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a18953fbe72ba553a564ba11fdda03aac41d4f38
2010-10-22 14:49:35+02:00
HACKING: add preprocessor rules Add a new file, HACKING, in order to collect recurring issues with submitted patches. Start with preprocessor rules, adapted from libvirt HACKING. Signed-off-by: Blue Swirl <[email protected]>
45fad878d7fd2e7bff78e677c34ca59fe24b7e94
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/45fad878d7fd2e7bff78e677c34ca59fe24b7e94
2010-09-10 18:46:00+00:00
tcg: Initialize the prologue after GUEST_BASE is fixed. This will allow backends to make intelligent choices about how to implement GUEST_BASE. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
9002ec794e8154ff774270cf9fac5f850a1c5751
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9002ec794e8154ff774270cf9fac5f850a1c5751
2010-05-21 18:41:21+02:00
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 the clients desktop size. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
1d4b638ad1fc273a19d93c7d4725fecdd7e5182a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1d4b638ad1fc273a19d93c7d4725fecdd7e5182a
2010-06-01 13:31:40-05:00
make SIG_IPI to tcg vcpu thread reliable Store tcg loop exit request on a global variable, and transfer it to per-CPUState exit_request after assignment of cpu_single_env. This makes exit request signal from robust. Drop the timedlock hack. Signed-off-by: Marcelo Tosatti <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
1a28cac3161f8a85ee0256776068eaed2da025e5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1a28cac3161f8a85ee0256776068eaed2da025e5
2010-05-11 14:02:22-03:00
linux-user: Fix sparc32plus stat64 syscalls. Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding whether or not the guest needs special 64-bit stat translation. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
ed18c5ce1d2aabdaa0a138463789b9fe812bb0e0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ed18c5ce1d2aabdaa0a138463789b9fe812bb0e0
2010-04-26 17:30:17+00:00
Restore terminal monitor attributes - addition Patch 2d753894c7553d6a05e8fdbed5f4704398919a35 was missing this check, when running monitor as /dev/tty and other serial device, i.e: qemu -monitor /dev/tty -serial /dev/pts/1 Without this patch any serial device will override the monitor stored attributes. (monitor is called in main() before any serial device). Signed-off-by: Shahar Havivi <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
d3f822d241d673103046a07874f8a3f37d1cb41b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d3f822d241d673103046a07874f8a3f37d1cb41b
2010-03-31 11:17:29-05:00
target-arm: disable PAGE_EXEC for XN pages Don't set PAGE_EXEC for XN pages, to avoid a bypass of XN protection checking if the page is already in the TLB. Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
3ad493fc5ea38c005670adc5933058a28ccabdd4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3ad493fc5ea38c005670adc5933058a28ccabdd4
2010-03-27 14:14:34+01:00
QMP: Drop DEBUG event This event has been introduced in the first round of QMP commits, turns out that it's based on the usage of the EXCP_DEBUG macro, which has discussable semantics when exposed through QMP. As libvirt doesn't use this, let's just drop it. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
51a3bd71b3f2fa7033a5a3db459449b4bb4cd5d7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/51a3bd71b3f2fa7033a5a3db459449b4bb4cd5d7
2010-03-08 11:30:08-06:00
tcg: Add consistency checks for op definitions When compiled with CONFIG_DEBUG_TCG, this code looks for missing, duplicate and wrong entries in the op definitions. Errors will raise an assertion at program start (all checks are done in the initial phase). The current code contains such errors, at least for i386 guest on i386 host. Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
c68aaa18921b88ba98a9c62cfe45d59f56de7808
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c68aaa18921b88ba98a9c62cfe45d59f56de7808
2010-02-18 19:08:14+00:00
QMP: Introduce VNC_INITIALIZED event It's emitted when a VNC client session is activated by QEMU, client's information such as port, IP and auth ID (if the session is authenticated) are provided. Event example: { "event": "VNC_INITIALIZED", "timestamp": {"seconds": 1263475302, "microseconds": 150772}, "data": { "server": { "auth": "sasl", "family": "ipv4", "service": "5901", "host": "0.0.0.0"}, "client": { "family": "ipv4", "service": "46089", "host": "127.0.0.1", "sasl_username": "lcapitulino" } } } Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
0d2ed46af43365fd713532c5eb9450380635b694
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0d2ed46af43365fd713532c5eb9450380635b694
2010-01-19 16:31:04-06:00
Add qemu_net_opts The first step in porting -net to QemuOpts. We do not include parameter descriptions in the QemuOptsList because we use the first parameter to choose which descriptions validate against. Signed-off-by: Mark McLoughlin <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
8119b33d1810fd0f25b3592690d7e44527451292
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8119b33d1810fd0f25b3592690d7e44527451292
2009-10-06 14:36:11-05:00
v3: don't call reset functions on cpu initialization There is absolutely no need to call reset functions when initializing devices. Since we are already registering them, calling qemu_system_reset() should suffice. Actually, it is what happens when we reboot the machine, and using the same process instead of a special case semantics will even allow us to find bugs easier. Furthermore, the fact that we initialize things like the cpu quite early, leads to the need to introduce synchronization stuff like qemu_system_cond. This patch removes it entirely. All we need to do is call qemu_system_reset() only when we're already sure the system is up and running I tested it with qemu (with and without io-thread) and qemu-kvm, and it seems to be doing okay - although qemu-kvm uses a slightly different patch. [ v2: user mode still needs cpu_reset, so put it in ifdef. ] [ v3: leave qemu_system_cond for now. ] Signed-off-by: Glauber Costa <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
c169998802505c244b8bcad562633f29de7d74a4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c169998802505c244b8bcad562633f29de7d74a4
2009-11-07 08:06:58+00:00
restore CFLAGS check for conflict and fix recursive CFLAGS issue cc-option uses more make-syntax to replace the shell "if/else". Issue with recursive += is fixed by doing the first assignment simply-expanded, as explained in http://www.gnu.org/software/make/manual/html_node/Appending.html Signed-off-by: Thomas Monjalon <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
fc3baad7bf1a2256ae784181a6ec73c5242db8b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fc3baad7bf1a2256ae784181a6ec73c5242db8b5
2009-10-05 09:32:53-05:00
Relax pthreads check to avoid win32 Signed-off-by: Anthony Liguori <[email protected]>
4617e59389b3b389ec853e98b91e2402cab84818
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4617e59389b3b389ec853e98b91e2402cab84818
2009-08-27 20:47:01-05:00
audio streaming from usb devices I have streaming audio devices working within qemu-kvm. This is a port of the changes to qemu. Streaming audio generates a series of isochronous requests that are repetitive and time sensitive. The URBs need to be submitted in consecutive USB frames and responses need to be handled in a timely manner. Summary of the changes for isochronous requests: 1. The initial 'valid' value is increased to 32. It needs to be higher than its current value of 10 since the host adds a 10 frame delay to the scheduling of the first request; if valid is set to 10 the first isochronous request times out and qemu cancels it. 32 was chosen as a nice round number, and it is used in the path where a TD-async pairing already exists. 2. The token field in the TD is *not* unique for isochronous requests, so it is not a good choice for finding a matching async request. The buffer (where to write the guest data) is unique, so use that value instead. 3. TD's for isochronous request need to be completed in the async completion handler so that data is pushed to the guest as soon as it is available. The uhci code currently attempts to process complete isochronous TDs the next time the UHCI frame with the request is processed. The results in lost data since the async requests will have long since timed out based on the valid parameter. Increasing the valid value is not acceptable as it introduces a 1+ second delay in the data getting pushed to the guest. 4. The frame timer needs to be run on 1 msec intervals. Currently, the expire time for the processing the next frame is computed after the processing of each frame. This regularly causes the scheduling of frames to shift in time. When this happens the periodic scheduling of the requests is broken and the subsequent request is seen as a new request by the host resulting in a 10 msec delay (first isochronous request is scheduled for 10 frames from when the URB is submitted). [ For what's worth a small change is needed to the guest driver to have more outstanding URBs (at least 4 URBs with 5 packets per URB).] Signed-off-by: David Ahern <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
8e65b7c04965c8355e4ce43211582b6b83054e3d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8e65b7c04965c8355e4ce43211582b6b83054e3d
2010-02-10 12:45:11-06:00
Add check support Check is a unit testing framework for C. All the QObjects have unit-tests and more will be written for the future data types. More info about check can be found at: http://check.sourceforge.net/ Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
5495ed11b0d066b2f30735b8336a5880457a0cc3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5495ed11b0d066b2f30735b8336a5880457a0cc3
2009-09-04 09:37:33-05:00
Fix sys-queue.h conflict for good Problem: Our file sys-queue.h is a copy of the BSD file, but there are some additions and it's not entirely compatible. Because of that, there have been conflicts with system headers on BSD systems. Some hacks have been introduced in the commits 15cc9235840a22c289edbe064a9b3c19c5f49896, f40d753718c72693c5f520f0d9899f6e50395e94, 96555a96d724016e13190b28cffa3bc929ac60dc and 3990d09adf4463eca200ad964cc55643c33feb50 but the fixes were fragile. Solution: Avoid the conflict entirely by renaming the functions and the file. Revert the previous hacks. Signed-off-by: Blue Swirl <[email protected]>
72cf2d4f0e181d0d3a3122e04129c58a95da713e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/72cf2d4f0e181d0d3a3122e04129c58a95da713e
2009-09-12 07:36:22+00:00
QemuOpts: add some functions qemu_opt_foreach: loop over all QemuOpts entries. qemu_opts_id: return QemuOpts id. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> Message-Id:
48026075aeca1dc62599a4aaae844edff9679cb4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/48026075aeca1dc62599a4aaae844edff9679cb4
2009-08-10 13:05:25-05:00
move checks for bswap32/bswap_32 sooner than starting of printing variables Signed-off-by: Juan Quintela <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> Message-Id:
6ae9a1f44a47f0492a01b5e2ee3bf0efbab1b608
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6ae9a1f44a47f0492a01b5e2ee3bf0efbab1b608
2009-08-10 13:05:32-05:00
Fix PCI IRQ breakage Zero initialize the PCI bus irq count. Signed-off-by: Paul Brook <[email protected]>
616cbc78a50c638b94cc4756a565f11bb10dbfeb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/616cbc78a50c638b94cc4756a565f11bb10dbfeb
2009-07-11 22:46:51+01:00
Add out of memory and zero size argument checks to be consistent with the qemu_malloc routines
d644f8beaa268a4e36b473f283f0b5a5ff66d8c2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d644f8beaa268a4e36b473f283f0b5a5ff66d8c2
2009-07-08 18:24:05+04:00
Remove unneded ac97 indirection accessing its state Searching for "inspiration" to convert another device to qdev, I got ac97. Once I understood a bit of qdev, found that ac97 used a not needed indirection. To protect the unaware, just fixed it. Later, Juan. Signed-off-by: Juan Quintela <[email protected]> Signed-off-by: malc <[email protected]>
10ee2aaa417d8d8978cdb2bbed55ebb152df5f6b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/10ee2aaa417d8d8978cdb2bbed55ebb152df5f6b
2009-08-22 13:51:39+04:00
net: purge queued packets in tap_cleanup() If tap has any packets queued at host_net_remove time, it needs to purge them in order to prevent a sent callback being invoked for it. Signed-off-by: Mark McLoughlin <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
b9adce2c833fae930f5bede2b8a3357697984e8c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b9adce2c833fae930f5bede2b8a3357697984e8c
2009-06-22 10:15:30-05:00
slirp: Drop link_up checks from if_output and slirp_socket_can_recv link_up is true once slirp is initialized, so these check are really not required. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
b5302e1a9d8a47bd29a3e1876fba34be111728a2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b5302e1a9d8a47bd29a3e1876fba34be111728a2
2009-06-29 08:52:49-05:00
virtio-net: reorganize receive_filter() Reorganize receive_filter to better handle the split between unicast and multicast filtering. This allows us to skip the broadcast check on unicast packets and leads to more opportunities for optimization. Signed-off-by: Alex Williamson <[email protected]> Signed-off-by: Mark McLoughlin <[email protected]>
bbe2f399b222f1f2fcf5cd2ea78e4f5c9a66c64e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bbe2f399b222f1f2fcf5cd2ea78e4f5c9a66c64e
2009-06-09 11:38:50+01:00
virtio-net: Increase filter and control limits Increase the size of the perfect filter table and control queue depth. This should give us more headroom in the MAC filter and is known to be needed by at least one guest user. Increasing the control queue depth allows a guest to feed several commands back to back if they so desire rather than using the send and wait approach Linux uses. Signed-off-by: Alex Williamson <[email protected]> Signed-off-by: Mark McLoughlin <[email protected]>
4ffb17f5c3244e405198ae285ffbb20a62e0d4b3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4ffb17f5c3244e405198ae285ffbb20a62e0d4b3
2009-06-09 11:38:50+01:00
net: pass VLANClientState* as first arg to receive handlers Give static type checking a chance to catch errors. Signed-off-by: Mark McLoughlin <[email protected]>
e3f5ec2b5e92706e3b807059f79b1fb5d936e567
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e3f5ec2b5e92706e3b807059f79b1fb5d936e567
2009-06-09 11:38:49+01:00
x86: Add NULL check to lsl (Jan Kiszka) According to the Intel specs, lsl performs a check against NULL for the provided selector, just like lar does. helper_lar() includes the corresponding code, helper_lsl() was lacking it so far. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6863 c046a42c-6fe2-441c-8c8c-71466251a162
dc1ded53b8cd9198da193e44b25815cdd2ddb6f5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc1ded53b8cd9198da193e44b25815cdd2ddb6f5
2009-03-20 16:13:41+00:00
Add --with-pkgversion. Allows distributors to identify their builds without needing to hack the sources. Signed-off-by: Paul Brook <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7036 c046a42c-6fe2-441c-8c8c-71466251a162
4a19f1eced611e7c3a0fba07d13515cbc73da09f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4a19f1eced611e7c3a0fba07d13515cbc73da09f
2009-04-07 23:17:49+00:00
Use C99 initializers for BlockDriver methods Consistently use the C99 named initializer format for the BlockDriver methods to make the method table more readable and more easily extensible. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6768 c046a42c-6fe2-441c-8c8c-71466251a162
e60f469ca80e0b39b7cf85aef0d3b1ff32a67cba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e60f469ca80e0b39b7cf85aef0d3b1ff32a67cba
2009-03-07 22:00:29+00:00
qcow2: Refcount checking code cleanup (Kevin Wolf) This is purely cosmetical changes to make the code easier to read. Move L2 table processing from a deeply nested block to its own function, add some comments. Patch v2: Fix misplaced bracket causing false positives Signed-off-by: Kevin Wolf <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7216 c046a42c-6fe2-441c-8c8c-71466251a162
ae2f14af54b089f793fcd1f5635dcb57a569adef
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ae2f14af54b089f793fcd1f5635dcb57a569adef
2009-04-21 23:11:58+00:00
Adds null check for DisplayStatus (Stefano Stabellini) Allocate a DisplaySurface in dumb_display_init if none else does it. The DisplaySurface will be used for the qemu monitor, serial and parallel ports, etc. Signed-off-by: Andrew May <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6387 c046a42c-6fe2-441c-8c8c-71466251a162
7da03b1d2622a66b033544e16d82d16d8a49568c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7da03b1d2622a66b033544e16d82d16d8a49568c
2009-01-21 18:58:51+00:00
Consolidate compiler invocations (Avi Kivity) Instead of specifying the compilation command over and over, use a single rule and adjust it as necessary using target specific target overrides. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6377 c046a42c-6fe2-441c-8c8c-71466251a162
807544e27d868c5b9ac7f4a0f0a325bc8ceb77f3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/807544e27d868c5b9ac7f4a0f0a325bc8ceb77f3
2009-01-21 18:12:44+00:00
add virtio-console initializer for x86 (Christian Ehrhardt) This adds an intialization of virtio console for pc style hardware. Signed-off-by: Christian Ehrhardt <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6318 c046a42c-6fe2-441c-8c8c-71466251a162
a2fa19f92c914caece0b648aeb658fb0f07b5692
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a2fa19f92c914caece0b648aeb658fb0f07b5692
2009-01-15 20:07:22+00:00
Avoid thundering herd problem Broadcast was used so that the I/O threads would wakeup, reset their ts values and all but one go to sleep, in other words an optimization to prevent threads from exiting in presence of continuing I/O activity. Spurious wakeups make the looping around cond_timedwait with ever reinitialized ts potentially unsafe and as such ts in no longer reinitilized inside the loop, hence switch to signal is warranted and this benefits of this particlaur optimization are lost. (It's worth noting that timed variants of pthread calls use realtime clock by default, and therefore can hang "forever" should the host time be changed. Unfortunatelly not all host systems QEMU runs on support CLOCK_MONOTONIC and/or pthread_condattr_setclock with this value) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6632 c046a42c-6fe2-441c-8c8c-71466251a162
5d47e3728bbd589701f74bb494c9c9825ba23c88
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5d47e3728bbd589701f74bb494c9c9825ba23c88
2009-02-21 05:48:15+00:00
Suppress a -Werror=format-security warning git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6135 c046a42c-6fe2-441c-8c8c-71466251a162
b4e237aae774a6dd3de2c3db9f87012d48ab6716
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b4e237aae774a6dd3de2c3db9f87012d48ab6716
2008-12-28 15:45:20+00:00
protect exec-all.h frm multiple inclusion (Glauber Costa) Signed-off-by: Glauber Costa <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5519 c046a42c-6fe2-441c-8c8c-71466251a162
875cdcf6510264cfef34116008e9185ca7e45680
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/875cdcf6510264cfef34116008e9185ca7e45680
2008-10-23 13:52:00+00:00
Make sure to initialize fd_sets in aio.c This was spotted by valgrind. Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5470 c046a42c-6fe2-441c-8c8c-71466251a162
f71903d020667ae704cf803d0cd64f80c879c6d0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f71903d020667ae704cf803d0cd64f80c879c6d0
2008-10-12 21:19:57+00:00
Allow attaching devices to OMAP UARTs. Also avoid two signedness warnings in hw/omap2.c. The API to attach new devices to serials is fine, bu the implementation is a hack. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5263 c046a42c-6fe2-441c-8c8c-71466251a162
75554a3ca10a7ad295d2a3d2e14ee6ba90f94c8b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/75554a3ca10a7ad295d2a3d2e14ee6ba90f94c8b
2008-09-20 01:10:32+00:00
Actually check read/write errors in IDE (Ian Jackson). This patch makes the ide emulation actually take notice of error returns from bdrv_write and bdrv_aio_{read,write}. (Cherry picked from qemu-xen e0e7a0afe0e324a1f7d64c240f567b15dbe454cf, first posted to qemu-devel Wed, 20 Feb 2008 15:26:41 +0000) Signed-off-by: Ian Jackson <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5368 c046a42c-6fe2-441c-8c8c-71466251a162
e162cfb07b7bee2d4527b860f13de39429733dfa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e162cfb07b7bee2d4527b860f13de39429733dfa
2008-10-01 01:13:37+00:00
gdbstub: manage CPUs as threads (Jan Kiszka) This patch enhances QEMU's built-in debugger for SMP guest debugging. Using the thread support of the gdb remote protocol, each VCPU is mapped on a pseudo thread and exposed to the gdb frontend. This way you can easy switch the focus of gdb between the VCPUs and observe their states. On breakpoint hit, the focus is automatically adjusted just as for normal multi-threaded application under gdb control. Furthermore, the patch propagates breakpoint and watchpoint insertions or removals to all CPUs, not just the current one as it was the case so far. Without this, SMP guest debugging was practically unfeasible. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5743 c046a42c-6fe2-441c-8c8c-71466251a162
880a7578381d1c7ed4d41c7599ae3cc06567a824
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/880a7578381d1c7ed4d41c7599ae3cc06567a824
2008-11-18 20:30:24+00:00
Introduce a buffered file wrapper for QEMUFile This patch introduces a buffered QEMUFile wrapper. This allows QEMUFile's to be rate limited. It also makes it easier to implement a QEMUFile that is asynchronous since the current QEMUFile API requires that all reads and writes be synchronous. The only real non-obvious part of the API is the "frozen" concept. If the backend returns EAGAIN, the QEMUFile is said to be "frozen". This means no additional output will be sent to the backend until the file is unfrozen. qemu_file_put_notify can be used to unfreeze a frozen file. A synchronous interface is also provided to wait for an unfreeze event. This is used during the final part of live migration when the VM is no longer running. Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5475 c046a42c-6fe2-441c-8c8c-71466251a162
39b65c2e315ad5565e22b98ea2a4498ec2edfad2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/39b65c2e315ad5565e22b98ea2a4498ec2edfad2
2008-10-13 03:10:22+00:00
qemu-img: set encrypted disk image password (Laurent Vivier) This patch modify qemu-img to ask and set a password when an encrypted disk image is created. Signed-off-by: Laurent Vivier <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4977 c046a42c-6fe2-441c-8c8c-71466251a162
61fce45f12964d8775313e3c7f56318bac913902
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/61fce45f12964d8775313e3c7f56318bac913902
2008-08-01 15:00:04+00:00
Handle terminating signals (Gerd Hoffmann) This patch makes qemu handle signals better. It sets the request_shutdown flag, making the main_loop exit and qemu taking the usual exit route, with atexit handlers being called and so on, instead of qemu just being killed by the signal. To avoid calling vm_start() from the signal handler main_loop() got an additional check so qemu_system_shutdown_request() works even when the vm is in stopped state. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5055 c046a42c-6fe2-441c-8c8c-71466251a162
5b08fc106d3146ddc1447d82d4770fc402fc363b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5b08fc106d3146ddc1447d82d4770fc402fc363b
2008-08-21 20:08:03+00:00
Remove stray local "speedup" hack git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4830 c046a42c-6fe2-441c-8c8c-71466251a162
69dd867364a5554a6f2ae6d0e2dc7c67690c067f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/69dd867364a5554a6f2ae6d0e2dc7c67690c067f
2008-07-02 21:25:53+00:00
Add IP checksumming functions to qemu (Gerd Hoffmann) This can be shared between the e1000, virtio-net, and xennet. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4971 c046a42c-6fe2-441c-8c8c-71466251a162
48c643630c5e994e4885dceb45a5da1c403a678a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/48c643630c5e994e4885dceb45a5da1c403a678a
2008-07-29 19:40:04+00:00
Ask password when encrypted disk image is used (Laurent Vivier) This patch repairs the management of encrypted disk images and allows to enter the password. Changelog: v2: - move read_password() before do_loadvm() - really start monitor if output is stdio. Signed-off-by: Laurent Vivier <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4976 c046a42c-6fe2-441c-8c8c-71466251a162
396f929762d10ba2c7b38f7e8a2276dd066be2d7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/396f929762d10ba2c7b38f7e8a2276dd066be2d7
2008-08-01 14:51:02+00:00
MusicPal: Restore display size after invalidation (Jan Kiszka). Make sure that the MusicPal display is set to the correct size again after some other console may have used a different size. Signed-off-by: Jan Kiszka <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4646 c046a42c-6fe2-441c-8c8c-71466251a162
167bc3d2fa100590b5a9d8fd9f19ae0207197447
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/167bc3d2fa100590b5a9d8fd9f19ae0207197447
2008-06-02 02:04:56+00:00
For consistency, align the address to the cache line before using it, when invalidating the instruction cache. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3449 c046a42c-6fe2-441c-8c8c-71466251a162
f0685f6e7a4179e75c4696de88de9657c6a86e95
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f0685f6e7a4179e75c4696de88de9657c6a86e95
2007-10-26 00:55:17+00:00
Check for R2 instructions, and throw RI if we don't emulate R2. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2921 c046a42c-6fe2-441c-8c8c-71466251a162
3a95e3a7d9a6fd7610fe483778ff7016d23be5ec
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3a95e3a7d9a6fd7610fe483778ff7016d23be5ec
2007-06-02 00:25:12+00:00
io map checks git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@452 c046a42c-6fe2-441c-8c8c-71466251a162
3e25f9515a07d47da843d9b3835e25def785dcee
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3e25f9515a07d47da843d9b3835e25def785dcee
2003-11-13 00:13:08+00:00
added loop/xadd/cmpxchg support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@29 c046a42c-6fe2-441c-8c8c-71466251a162
1a9353d258aba69afd8a389bf5fb705caab12ce0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1a9353d258aba69afd8a389bf5fb705caab12ce0
2003-03-16 20:28:50+00:00
FDC fix 5/10 (Hervé Poussineau): - Better handling of DOR register. DOR register drives external motors, but it not limited to existing drives. - Use FD_DOR_nRESET flag instead of internal FD_CTRL_RESET flag. - Support writing to DOR register even in reset mode (as said in specification) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4285 c046a42c-6fe2-441c-8c8c-71466251a162
1c346df2a2992339609338d900bc919cf152ed85
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1c346df2a2992339609338d900bc919cf152ed85
2008-04-29 16:15:53+00:00
removed unnecessary VME support - fixed selector GPF exception git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@140 c046a42c-6fe2-441c-8c8c-71466251a162
3acace1333d6b75628fe6e6786ad3cd2db766f0e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3acace1333d6b75628fe6e6786ad3cd2db766f0e
2003-05-10 12:39:11+00:00
Standard project directories initialized by cvs2svn. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1 c046a42c-6fe2-441c-8c8c-71466251a162
e63c3dc74bfb90e4522d075d0d5a7600c5145745
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e63c3dc74bfb90e4522d075d0d5a7600c5145745
2003-02-18 22:55:36+00:00
linux-user: Propagate siginfo_t through to handle_cpu_signal() Currently all the architecture/OS specific cpu_signal_handler() functions call handle_cpu_signal() without passing it the siginfo_t. We're going to want that so we can look at the si_code to determine whether this is a SEGV_ACCERR access violation or some other kind of fault, so change the functions to pass through the pointer to the siginfo_t rather than just the si_addr value. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Laurent Vivier <[email protected]>
a78b1299f1bbb9608e3e3a36a7f16cf700a2789d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a78b1299f1bbb9608e3e3a36a7f16cf700a2789d
2018-01-23 14:20:52+01:00
Replace all occurances of __FUNCTION__ with __func__ Replace all occurs of __FUNCTION__ except for the check in checkpatch with the non GCC specific __func__. One line in hcd-musb.c was manually tweaked to pass checkpatch. Signed-off-by: Alistair Francis <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Anthony PERARD <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]> [THH: Removed hunks related to pxa2xx_mmci.c (fixed already)] Signed-off-by: Thomas Huth <[email protected]>
a89f364ae8740dfc31b321eed9ee454e996dc3c1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a89f364ae8740dfc31b321eed9ee454e996dc3c1
2018-01-22 09:46:18+01:00
qemu-iotests: add 202 external snapshots IOThread test QMP 'transaction' blockdev-snapshot-sync with multiple disks in an IOThread is an untested code path. Several bugs have been found in connection with this command. This patch adds a test case to prevent future regressions. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Reviewed-by: Eric Blake <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
6dd64919ea36db9fd7e754ed394c25ced45ea39a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6dd64919ea36db9fd7e754ed394c25ced45ea39a
2017-12-19 10:25:09+00:00
backup: move from done_bitmap to copy_bitmap Use HBitmap copy_bitmap instead of done_bitmap. This is needed to improve incremental backup in following patches and to unify backup loop for full/incremental modes in future patches. Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: John Snow <[email protected]> Message-id: [email protected] Signed-off-by: Jeff Cody <[email protected]>
a193b0f0a8d7735f4eb2ff863fd0902a5fa5eec6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a193b0f0a8d7735f4eb2ff863fd0902a5fa5eec6
2017-12-18 10:54:13-05:00
spapr_cpu_core: instantiate CPUs separately The current code assumes that only the CPU core object holds a reference on each individual CPU object, and happily frees their allocated memory when the core is unrealized. This is dangerous as some other code can legitimely keep a pointer to a CPU if it calls object_ref(), but it would end up with a dangling pointer. Let's allocate all CPUs with object_new() and let QOM free them when their reference count reaches zero. This greatly simplify the code as we don't have to fiddle with the instance size anymore. Signed-off-by: Greg Kurz <[email protected]> Acked-by: Igor Mammedov <[email protected]> Signed-off-by: David Gibson <[email protected]>
94ad93bd976841c26af75322301f5aad925114d6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/94ad93bd976841c26af75322301f5aad925114d6
2017-12-15 09:49:23+11:00
Makefile: use $(MAKE) variable For some systems (i.e. FreeBSD) the default 'make' is not compatible with the GNU extensions used by QEMU makefiles. Calling the GNU make (gmake) works, however the help displayed refers to the host 'make' and copy/paste leads to lot of unobvious errors: $ gmake check-help [...] make check Run all tests $ make check make: "Makefile" line 28: Missing dependency operator make: "Makefile" line 37: Need an operator make: "Makefile" line 41: warning: duplicate script for target "git-submodule-update" ignored make: "rules.mak" line 70: warning: duplicate script for target "%.o" ignored make: Unknown modifier ' ' make: Unclosed substitution for eval modules (= missing) make: "tests/Makefile.include" line 24: Variable/Value missing from "export" make: "tests/" line 1: warning: Zero byte read from file, skipping rest of line. make: "tests/" line 1: Need an operator make: "Makefile" line 660: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 78: warning: using previous script for "ifneq" defined here make: Fatal errors encountered -- cannot continue Using the $(MAKE) variable, the help displayed is consistent with the 'make' program used. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
b98a3bae2596fd9bf60f140d042c8e993daba930
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b98a3bae2596fd9bf60f140d042c8e993daba930
2017-12-18 17:07:02+03:00
block: Expect graph changes in bdrv_parent_drained_begin/end The .drained_begin/end callbacks can (directly or indirectly via aio_poll()) cause block nodes to be removed or the current BdrvChild to point to a different child node. Use QLIST_FOREACH_SAFE() to make sure we don't access invalid BlockDriverStates or accidentally continue iterating the parents of the new child node instead of the node we actually came from. Signed-off-by: Kevin Wolf <[email protected]> Tested-by: Jeff Cody <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Reviewed-by: Fam Zheng <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
02d213009d571bcd7171e3ff9234722a11d30d1b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/02d213009d571bcd7171e3ff9234722a11d30d1b
2017-11-29 14:22:03+01:00
util/async: use atomic_mb_set in qemu_bh_cancel Commit b7a745d added a qemu_bh_cancel call to the completion function as an optimization to prevent it from unnecessarily rescheduling itself. This completion function is scheduled from worker_thread, after setting the state of a ThreadPoolElement to THREAD_DONE. This was considered to be safe, as the completion function restarts the loop just after the call to qemu_bh_cancel. But, as this loop lacks a HW memory barrier, the read of req->state may actually happen _before_ the call, seeing it still as THREAD_QUEUED, and ending the completion function without having processed a pending TPE linked at pool->head: worker thread | I/O thread ------------------------------------------------------------------------ | speculatively read req->state req->state = THREAD_DONE; | qemu_bh_schedule(p->completion_bh) | bh->scheduled = 1; | | qemu_bh_cancel(p->completion_bh) | bh->scheduled = 0; | if (req->state == THREAD_DONE) | // sees THREAD_QUEUED The source of the misunderstanding was that qemu_bh_cancel is now being used by the _consumer_ rather than the producer, and therefore now needs to have acquire semantics just like e.g. aio_bh_poll. In some situations, if there are no other independent requests in the same aio context that could eventually trigger the scheduling of the completion function, the omitted TPE and all operations pending on it will get stuck forever. [Added Sergio's updated wording about the HW memory barrier. --Stefan] Signed-off-by: Sergio Lopez <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
ef6dada8b44e1e7c4bec5c1115903af9af415b50
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ef6dada8b44e1e7c4bec5c1115903af9af415b50
2017-11-08 19:09:15+00:00
sparc32_dma: remove is_ledma hack and replace with memory region alias This hack originated from before the memory region API was introduced, and increased the size of the ledma DMA device to capture incorrect accesses beyond the end of the ledma device. A full analysis can be found on Artyom's blog at http://tyom.blogspot.co.uk/2010/10/bug-in-all-solaris-versions-after-57.html. With the memory API we can now simply alias the incorrect access onto its intended destination allowing us to remove the hack. Signed-off-by: Mark Cave-Ayland <[email protected]> Reviewed-by: Artyom Tarasenko <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Tested-by: Philippe Mathieu-Daudé <[email protected]>
4ca3d368d2a66e6e0739fd1cb4552e68d060d337
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4ca3d368d2a66e6e0739fd1cb4552e68d060d337
2017-10-31 17:25:36+00:00
target/s390x: check CF_PARALLEL instead of parallel_cpus Thereby decoupling the resulting translated code from the current state of the system. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Emilio G. Cota <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
6476615d385eb249105b25873ef30ba4b9c808dc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6476615d385eb249105b25873ef30ba4b9c808dc
2017-10-24 13:53:42-07:00