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
s390-ccw.img: Rudimentary error checking. Try to handle at least some of the errors that may happen. Signed-off-by: Cornelia Huck <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
0f3f1f302fd2021a5ce6cb170321d0a0d35bdec5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0f3f1f302fd2021a5ce6cb170321d0a0d35bdec5
2013-04-26 20:18:24+02:00
win32: generate console executable again The -mwindows option is not anymore in LIBS at this point of the Makefile, it is only in libs_softmmu. Check the right variable. Signed-off-by: Paolo Bonzini <[email protected]>
c12915e638a31010923b8dbbf8ce06f564a175f9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c12915e638a31010923b8dbbf8ce06f564a175f9
2013-04-27 00:28:35+02:00
configure: rename OpenGL feature to GLX As the probe now actually checks for the availability of GLX, rename it accordingly. The only user of this feature is the milkymist-tmu2 model. Signed-off-by: Michael Walle <[email protected]>
b1e5fff4afd0c47148b0d9f9341887ae2c3eb9af
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b1e5fff4afd0c47148b0d9f9341887ae2c3eb9af
2013-03-18 19:40:34+01:00
target-arm: Override do_interrupt for ARMv7-M profile Enable ARMCPUInfo to specify a custom class_init functions. Introduce arm_v7m_class_init() and use it for "cortex-m3" model. Instead of forwarding from arm_cpu_do_interrupt() to do_interrupt_v7m(), override CPUClass::do_interrupt with arm_v7m_cpu_do_interrupt() in arm_v7m_class_init(). Acked-by: Peter Maydell <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
e6f010cc27177c97596455b2e2b589bd19b2a486
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e6f010cc27177c97596455b2e2b589bd19b2a486
2013-03-12 10:35:55+01:00
monitor: Use qemu_get_cpu() in monitor_set_cpu() No functional change, just a reduction of CPU loops. The mon_cpu field is left untouched for now since changing that requires a number of larger prerequisites, including cpu_synchronize_state() and mon_get_cpu(). Reviewed-by: Luiz Capitulino <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
1c8bb3cc7b98ad07a028567b86fc6baa5c5a0b7a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1c8bb3cc7b98ad07a028567b86fc6baa5c5a0b7a
2013-03-12 10:35:54+01:00
migration: move rate limiting to QEMUFile Rate limiting is now simply a byte counter; client call qemu_file_rate_limit() manually to determine if they have to exit. So it is possible and simple to move the functionality to QEMUFile. This makes the remaining functionality of s->file redundant; in the next patch we can remove it and write directly to s->migration_file. Reviewed-by: Orit Wasserman <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
1964a397063967acc5ce71a2a24ed26e74824ee1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1964a397063967acc5ce71a2a24ed26e74824ee1
2013-03-11 13:32:02+01:00
check-qjson: More thorough testing of UTF-8 in strings Test cases are scraped from Markus Kuhn's UTF-8 decoder capability and stress test at http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt Unfortunately, both JSON parser and formatter misbehave right now. This test expects current, incorrect results. They're all clearly marked, and are to be replaced by correct ones as the bugs get fixed. See comments in new utf8_string() for details. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
3960c41f05bf776cc23a4a3b861f729fa65295a5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3960c41f05bf776cc23a4a3b861f729fa65295a5
2013-02-21 15:17:55-03:00
qemu-file: temporarily expose qemu_file_set_error and qemu_fflush Right now, migration cannot entirely rely on QEMUFile's automatic drop of I/O after an error, because it does its "real" I/O outside the put_buffer callback. To fix this until buffering is gone, expose qemu_file_set_error which we will use in buffered_flush. Similarly, buffered_flush is not a complete flush because some data may still reside in the QEMUFile's own buffer. This somewhat complicates the process of closing the migration thread. Again, when buffering is gone buffered_flush will disappear and calling qemu_fflush will not be needed; in the meanwhile, we expose the function for use in migration.c. Reviewed-by: Orit Wasserman <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
4eb938102b3d533e142de23e255e46da1326fc5a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4eb938102b3d533e142de23e255e46da1326fc5a
2013-03-11 13:32:01+01:00
qjson: to_json() case QTYPE_QSTRING is buggy, rewrite Known bugs in to_json(): * A start byte for a three-byte sequence followed by less than two continuation bytes is split into one-byte sequences. * Start bytes for sequences longer than three bytes get misinterpreted as start bytes for three-byte sequences. Continuation bytes beyond byte three become one-byte sequences. This means all characters outside the BMP are decoded incorrectly. * One-byte sequences with the MSB are put into the JSON string verbatim when char is unsigned, producing invalid UTF-8. When char is signed, they're replaced by "\\uFFFF" instead. This includes \xFE, \xFF, and stray continuation bytes. * Overlong sequences are happily accepted, unless screwed up by the bugs above. * Likewise, sequences encoding surrogate code points or noncharacters. * Unlike other control characters, ASCII DEL is not escaped. Except in overlong encodings. My rewrite fixes them as follows: * Malformed UTF-8 sequences are replaced. Except the overlong encoding \xC0\x80 of U+0000 is still accepted. Permits embedding NUL characters in C strings. This trick is known as "Modified UTF-8". * Sequences encoding code points beyond Unicode range are replaced. * Sequences encoding code points beyond the BMP produce a surrogate pair. * Sequences encoding surrogate code points are replaced. * Sequences encoding noncharacters are replaced. * ASCII DEL is now always escaped. The replacement character is U+FFFD. Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
e2ec3f976803b360c70d9ae2ba13852fa5d11665
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e2ec3f976803b360c70d9ae2ba13852fa5d11665
2013-04-13 19:40:25+00:00
qemu-pixman.h: Avoid mutual inclusion loop with console.h Remove an unnecessary mutual inclusion loop between qemu-pixman.h and console.h, since the former was only including the latter for 'PixelFormat*', which can be provided by typedefs.h. This requires a minor adjustment to the files which included qemu-pixman.h, since they were relying on it implicitly dragging in all of console.h. Signed-off-by: Peter Maydell <[email protected]> Acked-by: Gerd Hoffmann <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
0b0878611c64f027ca5d15ba641f423cc04ead3f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0b0878611c64f027ca5d15ba641f423cc04ead3f
2013-01-30 11:16:28+01:00
target-arm: Detect attempt to instantiate non-CPU type in cpu_init() Consolidate model checking into a new arm_cpu_class_by_name(). If the name matches an existing type, also check whether that type is actually (a sub-type of) TYPE_ARM_CPU. This fixes, e.g., -cpu tmp105 asserting. Cc: qemu-stable <[email protected]> Acked-by: Peter Maydell <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
5900d6b2d59875c9b11e4d8cead6d9ddaa9eb787
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5900d6b2d59875c9b11e4d8cead6d9ddaa9eb787
2013-01-27 14:52:04+01:00
qga: add missing commas in json docs * qga/qapi-schema.json: Use valid JSON. Signed-off-by: Eric Blake <[email protected]> Signed-off-by: Michael Roth <[email protected]>
01b87f6d217ed05d5948562f74f5cf7b511a9c6c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/01b87f6d217ed05d5948562f74f5cf7b511a9c6c
2013-01-14 16:15:26-06:00
openpic: fix remaining issues from idr-to-destmask conversion openpic_update_irq() was checking idr rather than destmask, treating it as if it were a simple bitmap of cpus. Changed to use destmask. IPI delivery was removing bits directly from .idr, without calling write_IRQreg_idr so that the change could be conveyed to destmask. Changed to use destmask directly. Save/restore destmask when serializing, as due to the IPI change it cannot be reproduced from idr. Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
f40c360c0da020a1a478f8e60dd205d7412bc315
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f40c360c0da020a1a478f8e60dd205d7412bc315
2013-01-25 22:02:56+01:00
block: make qiov_is_aligned() public The qiov_is_aligned() function checks whether a QEMUIOVector meets a BlockDriverState's alignment requirements. This is needed by virtio-blk-data-plane so: 1. Move the function from block/raw-posix.c to block/block.c. 2. Make it public in block/block.h. 3. Rename to bdrv_qiov_is_aligned(). 4. Change return type from int to bool. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
c53b1c5114bdf7fc945cbf11436da61789ca2267
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c53b1c5114bdf7fc945cbf11436da61789ca2267
2013-01-14 10:06:56+01:00
target-i386: Move kvm_check_features_against_host() check to realize time kvm_check_features_against_host() should be called when features can't be changed, and when features are converted to properties it would be possible to change them until realize time, so correct way is to call kvm_check_features_against_host() in x86_cpu_realize(). Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Eduardo Habkost <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
5ec01c2e96910e1588d1a0de8609b9dda7618c7f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5ec01c2e96910e1588d1a0de8609b9dda7618c7f
2013-01-15 04:09:15+01:00
openpic: use standard bitmap operations Besides the private implementation being redundant, namespace collisions prevented the use of other things in bitops.h. Serialization does get a bit more awkward, unfortunately, since the standard bitmap operations are "unsigned long" rather than "uint32_t", though in exchange we will get faster queue lookups on 64-bit hosts once we search a word at a time. Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
e69a17f65e9f12f33c48b04a789e49d40a8993f5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e69a17f65e9f12f33c48b04a789e49d40a8993f5
2013-01-07 17:37:10+01:00
target-s390: Delete dead code from old translator The use of inline restricts detection of static functions that are no longer used. Limit the use of inline to those functions that are conditionally used based on CONFIG_USER_ONLY. Signed-off-by: Richard Henderson <[email protected]>
4f3adfb2a63416c434fdafdfa406604f2a18392b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4f3adfb2a63416c434fdafdfa406604f2a18392b
2013-01-05 12:18:43-08:00
openpic: always call IRQ_check from IRQ_get_next Previously the code relied on the queue's "next" field getting set to -1 sometime between an update to the bitmap, and the next call to IRQ_get_next. Sometimes this happened after the update. Sometimes it happened before the check. Sometimes it didn't happen at all. Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
3c94378e2c500b6211e95d7457f4a9959955c3d1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3c94378e2c500b6211e95d7457f4a9959955c3d1
2013-01-07 17:37:10+01:00
tcg: Remove unneeded assertion Commit 7f6f0ae5b95adfa76e10eabe2c34424a955fd10c added two assertions. One of these assertions is not needed: The pointer ts is never NULL because it is initialized with the address of an array element. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
9a8a5ae69d3a436e51a7eb2edafe254572f60823
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9a8a5ae69d3a436e51a7eb2edafe254572f60823
2013-01-02 11:23:21-06:00
Revert "pci: prepare makefiles for pci code reorganization" This reverts commit 475d67c3bcd6ba9fef917b6e59d96ae69eb1a9b4. Now that all users have been updated, we don't need the makefile hack or the softlink anymore. Signed-off-by: Michael S. Tsirkin <[email protected]>
d9fb58054825ef141e6d03f455654b2e3e767bce
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d9fb58054825ef141e6d03f455654b2e3e767bce
2012-12-17 13:02:27+02:00
Fix error code checking for SetFilePointer() call An error has occurred if the return value is invalid_set_file_pointer and getlasterror doesn't return no_error. Signed-off-by: Fabien Chouteau <[email protected]> Acked-by: Stefan Hajnoczi <[email protected]>
fbcad04d6bfdff937536eb23088a01a280a1a3af
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fbcad04d6bfdff937536eb23088a01a280a1a3af
2012-12-11 11:36:57+01:00
virtio-rng: disable timer on device removal Disable the rate-limit timer on device remove (e.g. hot-unplug). Signed-off-by: Amit Shah <[email protected]> Reviewed-by: Anthony Liguori <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
8cc677435498561d8fe213bb44a02cf4f75cc685
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8cc677435498561d8fe213bb44a02cf4f75cc685
2012-11-26 14:26:37-06:00
pseries: Fix incorrect initialization of interrupt controller Currently in the reset code for the XICS interrupt controller, we initialize the pending_priority field to 0 (most favored, by XICS convention). This is incorrect, since there is no pending interrupt, it should be set to least favored - 0xff. At the moment our XICS implementation doesn't get hurt by this edge case, but it does confuse the upcoming kernel XICS implementation. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
044f4c8b0ee90290b6cbbc616c4be3c8aeffcaab
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/044f4c8b0ee90290b6cbbc616c4be3c8aeffcaab
2012-12-14 13:12:53+01:00
i386: kvm: extract try_get_cpuid() loop to get_supported_cpuid() function No behavior change, just code movement. Signed-off-by: Eduardo Habkost <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
dd87f8a690330777363f9a8680fce8f2ec544414
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dd87f8a690330777363f9a8680fce8f2ec544414
2012-10-30 23:39:46-02:00
linux-user: Perform more checks on iovec lists Validate count between 0 and IOV_MAX. Limit total length of operation in the same way the kernel does. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Riku Voipio <[email protected]>
f287b2c2d4d20d35880ab6dca44bda0476e67dce
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f287b2c2d4d20d35880ab6dca44bda0476e67dce
2012-10-12 13:59:09+03:00
kvmvapic: Fix TB invalidation after instruction patching Since 0b57e287, cpu_memory_rw_debug already triggers a TB invalidation. As it doesn't (and cannot) set is_cpu_write_access=1 but "consumes" the currently executed TB, the tb_invalidate_phys_page_range call from patch_instruction didn't work anymore. Fix this by open-coding the required bits to restore the CPU state from the current TB position before patching and resume execution on the patched instruction afterward. Signed-off-by: Jan Kiszka <[email protected]> Tested-by: Hervé Poussineau <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
5c61afec86e5b2597b19b4657edc404fd76e6eb9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5c61afec86e5b2597b19b4657edc404fd76e6eb9
2012-11-10 12:25:17+00:00
target-i386: Initialize APIC at CPU level (L)APIC is a part of cpu [1] so move APIC initialization inside of x86_cpu object. Since cpu_model and override flags currently specify whether APIC should be created or not, APIC creation&initialization is moved into x86_cpu_apic_init() which is called from x86_cpu_realize(). [1] - all x86 cpus have integrated APIC if we overlook existence of i486, and it's more convenient to model after majority of them. Signed-off-by: Igor Mammedov <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
bdeec802170d5dc9f0f8a01235c3488dca3ff83b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bdeec802170d5dc9f0f8a01235c3488dca3ff83b
2012-10-30 22:38:37+01:00
block: vpc support for ~2 TB disks The VHD specification allows for up to a 2 TB disk size. The current implementation in qemu emulates EIDE and ATA-2 hardware which only allows for up to 127 GB. This disk size limitation can be overridden by allowing up to 255 heads instead of the normal 4 bit limitation of 16. Doing so allows disk images to be created of up to nearly 2 TB. This change does not violate the VHD format specification nor does it change how smaller disks (ie, <=127GB) are defined. [Charles Arnold also writes: "In analyzing a 160 GB VHD fixed disk image created on Windows 2008 R2, it appears that MS is also ignoring the CHS values in the footer geometry field in whatever driver they use for accessing the image. The CHS values are set at 65535,16,255 which obviously doesn't represent an image size of 160 GB." -- Stefan] Signed-off-by: Charles Arnold <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
258d2edbcd4bb5d267c96163333820332e1c14fa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/258d2edbcd4bb5d267c96163333820332e1c14fa
2012-12-11 11:04:26+01:00
aio: Another fix to the walking_handlers logic The AIO dispatch loop will call QLIST_REMOVE and g_free even if there are other pending calls to qemu_aio_wait outside the current one. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Bharata B Rao <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
2db2bfc0ccac5fd68dbf0ceb70fbc372c5d8a8c7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2db2bfc0ccac5fd68dbf0ceb70fbc372c5d8a8c7
2012-09-28 17:57:54+02:00
net: fix usbnet_receive() packet drops The USB network interface has a single buffer which the guest reads from. This patch prevents multiple calls to usbnet_receive() from clobbering the input buffer. Instead we queue packets until buffer space becomes available again. This is inspired by virtio-net and e1000 rxbuf handling. Signed-off-by: Stefan Hajnoczi <[email protected]>
190563f9a90c9df8ad32fc7f3e4b166deda949a6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/190563f9a90c9df8ad32fc7f3e4b166deda949a6
2012-09-14 08:40:32+01:00
net: EAGAIN handling for net/socket.c TCP Replace spinning send_all() with a proper non-blocking send. When the socket write buffer limit is reached, we should stop trying to send and wait for the socket to become writable again. Non-blocking TCP sockets can return in two different ways when the write buffer limit is reached: 1. ret = -1 and errno = EAGAIN/EWOULDBLOCK. No data has been written. 2. ret < total_size. Short write, only part of the message was transmitted. Handle both cases and keep track of how many bytes have been written in s->send_index. (This includes the 'length' header before the actual payload buffer.) Signed-off-by: Stefan Hajnoczi <[email protected]>
45a7f54a8bb3928ffa58d522e0d61acaee8277bb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/45a7f54a8bb3928ffa58d522e0d61acaee8277bb
2012-09-14 08:40:33+01:00
vfio-pci: Update slow path INTx algorithm We can't afford the overhead of switching out and back into mmap mode around each interrupt, but we can do it lazily via a timer. On INTx interrupt, disable the mmap'd memory regions and set a timer. On every interrupt, push the timer out. If the timer expires and the interrupt is no longer pending, switch back to mmap mode. This has the benefit that things like graphics cards, which rarely or never, fire an interrupt don't need manual user intervention to add the x-intx=off parameter. They'll just remain in mmap mode until they trigger an interrupt, and if they don't continue to regularly fire interrupts, they'll switch back. The default timeout is tuned for network cards so that a ping is just enough to keep them in non-mmap mode, where they have much better latency. It is tunable with an experimental option, x-intx-mmap-timeout-ms. A value of 0 keeps the device in non-mmap mode after the first interrupt. It's possible we could look at the class code of devices and come up with reasonable per-class defaults based on expected interrupt frequency and latency. None of this is used for MSI interrupts and also won't be used if we can bypass through KVM. Signed-off-by: Alex Williamson <[email protected]>
ea486926b07d2ebd73ef67315ebb1eecf39faf5a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ea486926b07d2ebd73ef67315ebb1eecf39faf5a
2012-10-08 08:45:29-06:00
usb-redir: Adjust pkg-config check for usbredirparser .pc file rename (v2) The usbredir 0.5 release introduced the new API for 64 bit packet ids, but it kept the libusbredirparser.pc name as is, meaning that older versions of qemu will still have their pkg-config check for usbredirparser fulfilled, and build with the usb-redir device. Due to the API change there will be some compiler warnings, but the build will succeed, however the usb-redir device will be broken on 32 bit machines. To solve this a new usbredir-0.5.2 release is coming, which renames the libusbredirparser.pc file to libusbredirparser-0.5.pc, so that it will no longer fulfill the pkg-config check of the qemu-1.2 and older releases, stopping the (silent) breakage. This patch adjusts qemu master's configure to properly detect the new usbredir release. Changes in v2: -Not only use the new .pc name in the check but also when getting cflags and libs! Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
8b626aa7841ef79b70066c880b3b6c29496797af
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8b626aa7841ef79b70066c880b3b6c29496797af
2012-09-26 09:24:42+02:00
CHECKPATCH: Add --debug adv_dcs Add debug options to find this issue. They were not listed in the help because the are not simple to understand the output of. Signed-off-by: Don Slutz <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
a99ac041e9f30dafb0afa326ddbeb8a481ba3f81
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a99ac041e9f30dafb0afa326ddbeb8a481ba3f81
2012-09-05 19:17:49+00:00
block/curl: Fix wrong free statement Report from smatch: block/curl.c:546 curl_close(21) info: redundant null check on s->url calling free() The check was redundant, and free was also wrong because the memory was allocated using g_strdup. Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
45724d6d02383b0d7d4a90e05787fca7c55cb070
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/45724d6d02383b0d7d4a90e05787fca7c55cb070
2012-09-12 15:50:09+02:00
reset PMBA and PMREGMISC PIIX4 registers. The bug causes Windows + OVMF hang after reboot since OVMF checks PMREGMISC to see if IO space is enabled and skip configuration if it is. Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
4d09d37c6aa9a02b44b1fdb6268820fab92499bd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4d09d37c6aa9a02b44b1fdb6268820fab92499bd
2012-08-29 09:30:31-05:00
blockdev: Drop redundant CHS validation for if=ide Leave it to ide_init_drive(). Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
aaea3f366eeb8c5c23d821cdd1ce078086fe3764
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/aaea3f366eeb8c5c23d821cdd1ce078086fe3764
2012-07-17 16:48:32+02:00
Prevent disk data loss when closing qemu Prevent disk data loss when closing qemu console window under Windows 7. v3. Comment for Sleep() parameter was updated. Signed-off-by: Pavel Dovgalyuk<[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
b75a02829dde98723dfe16fa098338cb267b28b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b75a02829dde98723dfe16fa098338cb267b28b9
2012-06-15 14:03:42+02:00
error, qerror: add ErrorClass argument to error functions The new argument is added to functions qerror_report() and error_set(). It's stored in Error and QError. qerror_report_err() is also updated to take care of it. The QERR_ macros are changed to contain a place holder value for the new argument, so that the value is used on all current calls to qerror_report() and error_set() (and also to initialize qerror_table[]). Next commit will update the QERR_ macros with a proper ErrorClass value. Signed-off-by: Luiz Capitulino <[email protected]> Reviewed-by: Markus Armbruster <[email protected]>
13f59ae8157e8ec238fa8aefe5309909a1eeb7e2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/13f59ae8157e8ec238fa8aefe5309909a1eeb7e2
2012-08-13 13:21:21-03:00
eepro100: Fix network hang when rx buffers run out This is reported by QA. When installing os with pxe, after the initial kernel and initrd are loaded, the procedure tries to copy files from install server to local harddisk, the network becomes stall because of running out of receive descriptor. [Whitespace fixes and removed qemu_notify_event() because Paolo's earlier net patches have moved it into qemu_flush_queued_packets(). Additional info: I can reproduce the network hang with a tap device doing a iPXE HTTP boot as follows: $ qemu -enable-kvm -m 1024 \ -netdev tap,id=netdev0,script=no,downscript=no \ -device i82559er,netdev=netdev0,romfile=80861209.rom \ -drive if=virtio,cache=none,file=test.img iPXE> ifopen net0 iPXE> config # set static network configuration iPXE> kernel http://mirror.bytemark.co.uk/fedora/linux/releases/17/Fedora/x86_64/os/images/pxeboot/vmlinuz I needed a vanilla iPXE ROM to get to the iPXE prompt. I think the boot prompt has been disabled in the ROMs that ship with QEMU to reduce boot time. During the vmlinuz HTTP download there is a network hang. hw/eepro100.c has reached the end of the rx descriptor list. When the iPXE driver replenishes the rx descriptor list we don't kick the QEMU net subsystem and event loop, thereby leaving the tap netdev without its file descriptor in select(2). Stefan Hajnoczi <[email protected]>] Signed-off-by: Bo Yang <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
1069985fb132cd4324fc02d371f1e61492a1823f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1069985fb132cd4324fc02d371f1e61492a1823f
2012-09-14 08:40:31+01:00
block: push bdrv_change_backing_file error checking up from drivers This check applies to all drivers, but QED lacks it. Reviewed-by: Kevin Wolf <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
5f3777945d22248d805fb7c134e206c2d943b77b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5f3777945d22248d805fb7c134e206c2d943b77b
2012-05-10 10:32:11+02:00
qxl: check for NULL return from qxl_phys2virt Signed-off-by: Alon Levy <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
fae2afb10e3fdceab612c62a2b1e8b944ff578d9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fae2afb10e3fdceab612c62a2b1e8b944ff578d9
2012-05-03 10:45:04+02:00
vl: drop is_suspended variable Check for the RUN_STATE_SUSPENDED state instead. Signed-off-by: Luiz Capitulino <[email protected]>
9abc62f6445795522d1bf5bf17f642e44eaf032d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9abc62f6445795522d1bf5bf17f642e44eaf032d
2012-05-08 14:30:22-03:00
qemu-iotests: mark 035 qcow2-only The 035 parallel aio write test relies on knowledge of qcow2 metadata layout to stress parallel L2 table accesses. This only works for qcow2 unless we add additional calculations for qed or other formats. Mark this test as qcow2-only. Note that the test is strictly speaking non-deterministic although the output produced is reliable with qcow2. This is because the aio_write command returns before the aio write request has completed. Completions can occur at any time afterwards and cause a message to be printed. Therefore the exact output of this test is not deterministic but we seem to get away with it for qcow2 (maybe due to coroutine and main loop scheduling). Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
b84762e2456e15c091c25aff052afb8766394acd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b84762e2456e15c091c25aff052afb8766394acd
2012-05-25 18:13:44+02:00
PPC: Fix up e500 cache size setting When initializing the e500 code, we need to expose its cache line size for user and system mode, while the mmu details are only interesting for system emulation. Split the 2 switch statements apart, allowing us to #ifdef out the mmu parts for user mode emulation while keeping all cache information consistent. Signed-off-by: Alexander Graf <[email protected]>
892c587f22fc97362a595d3c84669a39ce1cd2f5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/892c587f22fc97362a595d3c84669a39ce1cd2f5
2012-05-01 21:47:00+02:00
aio: simplify qemu_aio_wait The do...while loop can never loop, because select will just not return 0 when invoked with infinite timeout. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
9eb0bfca960b8cf24fb42e017c3a6479e5676f75
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9eb0bfca960b8cf24fb42e017c3a6479e5676f75
2012-04-19 16:51:47+02:00
qemu-ga: add a whitelist for fsfreeze-safe commands Currently we rely on fsfreeze/thaw commands disabling/enabling logging then having other commands check whether logging is disabled to avoid executing if they aren't safe for running while a filesystem is frozen. Instead, have an explicit whitelist of fsfreeze-safe commands, and consolidate logging and command enablement/disablement into a pair of helper functions: ga_set_frozen()/ga_unset_frozen() Signed-off-by: Michael Roth <[email protected]>
f22d85e9e67262db34504f4079745f9843da6a92
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f22d85e9e67262db34504f4079745f9843da6a92
2012-04-30 08:42:10-05:00
aio: return "AIO in progress" state from qemu_aio_wait The definition of when qemu_aio_flush should loop is much simpler than it looks. It just has to call qemu_aio_wait until it makes no progress and all flush callbacks return false. qemu_aio_wait is the logical place to tell the caller about this. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
bcdc18578d5b41180db2e17baa7563c5f05b39ee
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bcdc18578d5b41180db2e17baa7563c5f05b39ee
2012-04-19 16:50:49+02:00
memory: check address space when a listener is registered This patch resolves a bug in memory listener registration. "range_add" callback was called on each section of the both address space (IO and memory space) even if it doesn't match the address space filter. Signed-off-by: Julien Grall <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
221b3a3f1e5edb9e41a48bfa384803800184b397
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/221b3a3f1e5edb9e41a48bfa384803800184b397
2012-04-05 13:09:17+03:00
qemu-iotests: add block-stream speed value test case Add tests to exercise the InvalidParameter 'speed' error code path, as well as the regular success case for setting the speed. The block-stream 'speed' parameter allows the speed limit of the job to be applied immediately when the job starts instead of issuing a separate block-job-set-speed command later. If the parameter has an invalid value we expect to get an error and the job is not created. It turns out that cancelling a block job is a common operation in these test cases, let's extract a cancel_and_wait() function instead of duplicating the QMP commands. Signed-off-by: Stefan Hajnoczi <[email protected]> Acked-by: Kevin Wolf <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
e425306a27ef02b6ef19408d588974953f0f28c0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e425306a27ef02b6ef19408d588974953f0f28c0
2012-04-27 11:44:50-03:00
qapi: add strict mode to input visitor While QMP in general is designed so that it is possible to ignore unknown arguments, in the case of the QMP server it is better to reject them to detect bad clients. In fact, we're already doing this at the top level in the argument checker. To extend this to complex structures, add a mode to the input visitor where it checks for unvisited keys and raises an error if it finds one. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
e38ac9621c8ab51880b9e6e833a125342d6b46b2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e38ac9621c8ab51880b9e6e833a125342d6b46b2
2012-03-27 09:15:13-03:00
memory: give phys_page_find() its own tree search loop We'll change phys_page_find_alloc() soon, but phys_page_find() doesn't need to bear the consequences. Signed-off-by: Avi Kivity <[email protected]>
31ab2b4a46eb9761feae9457387eb5ee523f5afd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/31ab2b4a46eb9761feae9457387eb5ee523f5afd
2012-02-29 13:44:44+02:00
libcacard/vcard_emul_nss: add warning for old coolkey Older coolkey versions (before the future fix of RHBZ 802435) have a fake card reader created if no reader is detected during module initialization. Warn libcacard users if the faulty coolkey is detected by checking for the fake reader name "E-Gate 0 0". Signed-off-by: Alon Levy <[email protected]>
6f06f178f96de3597e1098258ab5d11733ae8602
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6f06f178f96de3597e1098258ab5d11733ae8602
2012-03-26 18:39:00+02:00
implement vnc_dpy_setdata The comment is wrong, we have to do something in the setdata callback. Changing the framebuffer backing storage (happens when the guest pans the display) renders the whole screen content invalid. Trigger #1: cirrus vga + 32bit linux guest + vesafb with ypan enabled. Trigger #2: std vga + http://patchwork.ozlabs.org/patch/145479/ Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
1d3323de5fe5656844ea57a16eb432f09a366140
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1d3323de5fe5656844ea57a16eb432f09a366140
2012-03-12 14:05:26-05:00
target-xtensa: implement info tlb monitor command Command dumps valid ITLB and DTLB entries. Signed-off-by: Max Filippov <[email protected]>
692f737cc252b811f0b00ab3c77008dd64680965
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/692f737cc252b811f0b00ab3c77008dd64680965
2012-02-18 01:25:28+04:00
suspend: switch acpi s3 to new infrastructure. This patch switches pc s3 suspend over to the new infrastructure. The cmos_s3 qemu_irq is killed, the new notifier is used instead. The xen hack goes away with that too, the hypercall can simply be done in a notifier function now. This patch also makes the guest actually stay suspended instead of leaving suspend instantly, so it is useful for more than just testing whenever the suspend/resume cycle actually works. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
da98c8eb4c35225049cad8cf767647eb39788b5d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/da98c8eb4c35225049cad8cf767647eb39788b5d
2012-02-24 13:36:03-06:00
cpu-exec.c: Correct comment about this file and indentation cleanup Each target uses the #define macro (in target-xxx/cpu.h) to rename cpu_exec (cpu-exec.c) to cpu_xxx_exec, then defines its own cpu_loop which calls cpu_xxx_exec. So basically, cpu-exec.c is not only the i386 emulator main execution loop. This patch corrects the comment of this file and does indentation cleanup. Signed-off-by: Chen Wei-Ren (陳韋任) <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
e965fc380703110e967febf8d5b2ecd7db53b5d2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e965fc380703110e967febf8d5b2ecd7db53b5d2
2012-02-10 10:44:52+00:00
arm_boot: support board IDs more than 16 bits wide Support passing a board ID value to the kernel in r1 that is more than 16 bits wide. This is needed to pass the '-1 == invalid' value for boards which only support device tree booting. Signed-off-by: Peter Maydell <[email protected]> Tested-by: Mark Langsdorf <[email protected]>
f8414cb5c8343bdacfee53ac9e255831aed882fe
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f8414cb5c8343bdacfee53ac9e255831aed882fe
2012-01-26 11:49:09+00:00
check-qjson: enable disabled tests gtest does the right thing here so there's no need to comment these tests out. Signed-off-by: Anthony Liguori <[email protected]>
38273e1dee8c7c8ce1f9e79619561f63957577b3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/38273e1dee8c7c8ce1f9e79619561f63957577b3
2012-01-12 10:05:38-06:00
qemu-nbd: drop loop which can never loop For some reason nbd_client_thread() has a do..while loop which can never loop, the condition is bogus because we would take a goto instead. Drop the loop. Reported-by: Dr David Alan Gilbert <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
dc10e8b3c556b582eb7919c92d0997b5f9a9d136
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc10e8b3c556b582eb7919c92d0997b5f9a9d136
2012-01-06 15:09:53+00:00
isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions NULL is a valid bus/device, so there is no change in behaviour. Signed-off-by: Hervé Poussineau <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
48a18b3c698295e4d891f34e919615e84e20f027
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/48a18b3c698295e4d891f34e919615e84e20f027
2011-12-20 15:44:30-06:00
memory: remove MemoryRegion::backend_registered backend_registered was used to lazify the process of registering an mmio region, since the it is different for the I/O address space and the memory address space. However, it also makes registration dependent on the region being visible in the address space. This is not the case for "fake" regions, like watchpoints or IO_MEM_UNASSIGNED. Remove backend_registered and always initialize the region. If it turns out to be part of the I/O address space, we've wasted an I/O slot, but that's not too bad. In any case this will be optimized later on. Signed-off-by: Avi Kivity <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
26a83ad0e793465b74a8b06a65f2f6fdc5615413
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/26a83ad0e793465b74a8b06a65f2f6fdc5615413
2012-01-04 13:34:49+02:00
hw/9pfs: Fix error handling in local_mknod Update local_chown to remove unnecessary if loop Signed-off-by: Aneesh Kumar K.V <[email protected]>
17b1971f631af18e87249ee6a509fcb47dec220d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/17b1971f631af18e87249ee6a509fcb47dec220d
2011-10-31 12:34:15+05:30
configure: Suppress messages from pkg_config probe for check Suppress confusing messages from pkg_config when probing for 'check' by sending them to /dev/null as we do with other similar probes. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
f809c0d66bf1d9a8a4282b5a089b7eead45428fc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f809c0d66bf1d9a8a4282b5a089b7eead45428fc
2011-11-01 16:52:08-05:00
hw/pl061: Remove pointless comparison of array to null Remove a pointless comparison of an array to null. (There is no need to check whether s->out[i] is non-null as qemu_set_irq will do that for us.) Spotted by Coverity (see bug 887883). Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
b78c2b3aad2b42084265c89f93a92733d68e9003
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b78c2b3aad2b42084265c89f93a92733d68e9003
2011-11-11 12:49:53-06:00
main-loop: create main-loop.c Signed-off-by: Paolo Bonzini <[email protected]>
d3b12f5dec4b27ebab58fb5797cb67bacced773b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d3b12f5dec4b27ebab58fb5797cb67bacced773b
2011-10-21 18:14:30+02:00
vl.c: Guard against GThread double-initialization GThread-ERROR **: GThread system may only be initialized once. aborting... Making the g_thread_init() call in vl.c conditional resolves an abort on Mac OS X, where coroutine-gthread.c seems to call it before vl.c. Reported-by: Juan Pineda <[email protected]> Signed-off-by: Andreas Färber <[email protected]> Cc: Daniel P. Berrange <[email protected]>
db529aabfac17201d3647384abf89fc7f272b493
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/db529aabfac17201d3647384abf89fc7f272b493
2011-11-01 20:41:06+01:00
qxl: stride fixup spice uses negative stride value to signal the bitmap is upside down. The qxl renderer (used for scl, vnc and screenshots) wants a positive value because it is easier to work with. The positive value is then stored in the very same variable, which has the drawback that the upside-down test works only once. Fix by using two variables. Signed-off-by: Gerd Hoffmann <[email protected]>
0e2487bd6f56445b43307536a465ee2ba810aed9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0e2487bd6f56445b43307536a465ee2ba810aed9
2011-11-01 12:11:53+01:00
qerror: add qerror_report_err() This provides a bridge between Error (new error mechanism) and QError (old error mechanism). Errors can be propagated whereas QError cannot. The minor evilness avoids layering violations. Since QError should go away RSN, it seems like a reasonable hack. Signed-off-by: Anthony Liguori <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
2a82d936a2bda9cb01d05fc91845e82001b78632
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2a82d936a2bda9cb01d05fc91845e82001b78632
2011-10-04 11:00:46-03:00
pseries: Support SMT systems for KVM Book3S-HV Alex Graf has already made qemu support KVM for the pseries machine when using the Book3S-PR KVM variant (which runs the guest in usermode, emulating supervisor operations). This code allows gets us very close to also working with KVM Book3S-HV (using the hypervisor capabilities of recent POWER CPUs). This patch moves us another step towards Book3S-HV support by correctly handling SMT (multithreaded) POWER CPUs. There are two parts to this: * Querying KVM to check SMT capability, and if present, adjusting the cpu numbers that qemu assigns to cause KVM to assign guest threads to cores in the right way (this isn't automatic, because the POWER HV support has a limitation that different threads on a single core cannot be in different guests at the same time). * Correctly informing the guest OS of the SMT thread to core mappings via the device tree. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
e97c363638b32943afc4bd2845f4081496fabfbc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e97c363638b32943afc4bd2845f4081496fabfbc
2011-10-30 17:11:53+01:00
Add new macro QEMU_PACKED for packed C structures A packed struct needs different gcc attributes for compilations with MinGW compilers because glib-2.0 adds compiler flag -mms-bitfields which modifies the packing algorithm. Attribute gcc_struct reverses the negative effects of -mms-bitfields. QEMU_PACKED sets this attribute and must be used for any packed struct which is affected by -mms-bitfields. Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
0f7fdd347514ea97b24f5f658f3ae31f9b078397
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0f7fdd347514ea97b24f5f658f3ae31f9b078397
2011-09-03 10:45:46+00:00
Update HACKING to refer to g_malloc instead of qemu_malloc Signed-off-by: Anthony Liguori <[email protected]>
145e21dbd06dbb4af319a019ee1281631215a94f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/145e21dbd06dbb4af319a019ee1281631215a94f
2011-08-21 08:16:56-05:00
Let users select their pythons Add configure check for python, exit if not found. Add switches for specifying the path to python, use the path in Makefile. Signed-off-by: Blue Swirl <[email protected]>
c886edfb851c0c590d4e77f058f2ec8ed95ad1b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c886edfb851c0c590d4e77f058f2ec8ed95ad1b5
2011-07-25 16:50:12+00:00
sdl: Dynamically grab input in absolute mouse mode Not grabbing the input means that special keys like ALT+TAB are still handled by the host. Improve the usability by grabbing input once the mouse is inside the guest screen, provided the SDL window has the input focus. Release it again when the mouse is moved to any border. Also grab the input when we gain the input focus and the mouse is within the screen limits. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
35b0f237205dc6a5c9aa3eae14f19ef4d37dafcd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/35b0f237205dc6a5c9aa3eae14f19ef4d37dafcd
2011-08-05 10:57:35-05:00
scsi-bus: remove duplicate table entries Remove duplicate entries from SCSI command table, spotted by clang analyzer: /src/qemu/hw/scsi-bus.c:979:40: warning: initializer overrides prior initialization of this subobject [ ERASE_16 ] = "ERASE_16", /src/qemu/hw/scsi-bus.c:978:40: note: previous initialization is here [ WRITE_SAME_16 ] = "WRITE_SAME_16", /src/qemu/hw/scsi-bus.c:984:40: warning: initializer overrides prior initialization of this subobject [ MAINTENANCE_IN ] = "MAINTENANCE_IN", /src/qemu/hw/scsi-bus.c:917:40: note: previous initialization is here [ MAINTENANCE_IN ] = "MAINTENANCE_IN", /src/qemu/hw/scsi-bus.c:985:40: warning: initializer overrides prior initialization of this subobject [ MAINTENANCE_OUT ] = "MAINTENANCE_OUT", /src/qemu/hw/scsi-bus.c:918:40: note: previous initialization is here [ MAINTENANCE_OUT ] = "MAINTENANCE_OUT", Signed-off-by: Blue Swirl <[email protected]>
48bb9f53f4944771bc5d7bf89bbaa61094ad4382
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/48bb9f53f4944771bc5d7bf89bbaa61094ad4382
2011-09-10 14:48:08+00:00
exec.c: Fix calculation of code_gen_buffer_max_size When calculating the point at which we should not try to put another TB into the code gen buffer, we have to allow not just for OPC_MAX_SIZE but OPC_BUF_SIZE. This is because the target translate.c will only stop when an instruction has put it past the OPC_MAX_SIZE limit, so we have to include the MAX_OP_PER_INSTR margin which that final insn might have used. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
a884da8a06806d55fa83c8011bb17d6838583f9b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a884da8a06806d55fa83c8011bb17d6838583f9b
2011-07-12 20:29:08+00:00
ide/piix: convert to PCIDeviceInfo to initialize ids use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
25f8e2f512d87f0a77fc5c0b367dd200a7834d21
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/25f8e2f512d87f0a77fc5c0b367dd200a7834d21
2011-06-12 10:33:33+03:00
usb-uhci: convert to PCIDEviceInfo to initialize ids use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
dc638fadb54c911019227ae37656560c49a209b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc638fadb54c911019227ae37656560c49a209b9
2011-06-12 10:33:32+03:00
Switch build system to accompanied kernel headers This helps reducing our build-time checks for feature support in the available Linux kernel headers. And it helps users that do not have sufficiently recent headers installed on their build machine. Consequently, the patch removes and build-time checks for kvm and vhost in configure, the --kerneldir switch, and KVM_CFLAGS. Kernel headers are supposed to be provided by QEMU only. s390 needs some extra love as it carries redefinitions from kernel headers. CC: Alexander Graf <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
e205c7902f01664f4ad6dccc32ba1472e6d32d34
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e205c7902f01664f4ad6dccc32ba1472e6d32d34
2011-06-20 15:16:12-03:00
Fix segfault on screendump with -nographic When running -nographic and calling "screendump" on the monitor, qemu segfaults. Fix the invalid pointer dereference by checking for NULL. Signed-off-by: Alexander Graf <[email protected]>
e34b12ae98b6851da8acc791d6df05f4482ae416
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e34b12ae98b6851da8acc791d6df05f4482ae416
2011-06-03 12:42:19+02:00
target-mips: Do not check CPU_INTERRUPT_TIMER. This bit is never set, therefore we should not read it either. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
ce0c6930cc2c199eee2d391e23759204a235b162
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ce0c6930cc2c199eee2d391e23759204a235b162
2011-05-08 16:55:23+00:00
exec.c: refactor cpu_physical_memory_map Introduce qemu_ram_ptr_length that takes an address and a size as parameters rather than just an address. Refactor cpu_physical_memory_map so that we call qemu_ram_ptr_length only once rather than calling qemu_get_ram_ptr one time per page. This is not only more efficient but also tries to simplify the logic of the function. Currently we are relying on the fact that all the pages are mapped contiguously in qemu's address space: we have a check to make sure that the virtual address returned by qemu_get_ram_ptr from the second call on is consecutive. Now we are making this more explicit replacing all the calls to qemu_get_ram_ptr with a single call to qemu_ram_ptr_length passing a size argument. Signed-off-by: Stefano Stabellini <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Alexander Graf <[email protected]>
38bee5dc94ee355640b030d28f311b03ee2f13d1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/38bee5dc94ee355640b030d28f311b03ee2f13d1
2011-06-19 04:40:05+02:00
set $SDL_VIDEODRIVER=x11 on Linux to prevent sudo kvm from fighting for video card Signed-off-by: Michael Tokarev <[email protected]> Acked-by: Alexander Graf <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
1de9756b97daec3c15f8048631af866e9cb58562
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1de9756b97daec3c15f8048631af866e9cb58562
2011-05-15 01:05:26+02:00
scsi-disk: add data direction checking scsi_req_parse() already provides for a data direction setting, so we should be using it to check for correct direction. And we should return the sense code 'INVALID FIELD IN CDB' in these cases. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
efb9ee024845982a210bfe48a73298846adfe9da
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/efb9ee024845982a210bfe48a73298846adfe9da
2011-05-26 12:14:16+02:00
target-arm: Fix 32 bit signed saturating narrow The returned value when doing saturating signed 64->32 bit conversion of a negative number was incorrect due to a missing cast. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
cc2212c2f851291929becc3f4fd153d05ca4c54a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cc2212c2f851291929becc3f4fd153d05ca4c54a
2011-02-09 19:37:48+01:00
xen: Support new libxc calls from xen unstable. This patch updates the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]> Acked-by: Alexander Graf <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
d5b93ddfefe63d5869a8eb97ea3474867d3b105b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d5b93ddfefe63d5869a8eb97ea3474867d3b105b
2011-05-08 10:09:59+02:00
kvm: x86: Consolidate TCG and KVM MCE injection code This switches KVM's MCE injection path to cpu_x86_inject_mce, both for SIGBUS and monitor initiated events. This means we prepare the MCA MSRs in the VCPUState also for KVM. We have to drop the MSRs writeback restrictions for this purpose which is now safe as every uncoordinated MSR injection is removed with this patch. Signed-off-by: Jan Kiszka <[email protected]> CC: Huang Ying <[email protected]> CC: Hidetoshi Seto <[email protected]> CC: Jin Dongming <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
c34d440a728fd3b5099d11dec122d440ef092c23
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c34d440a728fd3b5099d11dec122d440ef092c23
2011-03-15 01:19:06-03:00
HACKING: Update status of format checking Hopefully all functions with printf like arguments now use format checking. This was tested with default build configuration on linux and windows hosts (including some cross compilations), so chances are good that there remain few (if any) functions without format checking. Therefore the last comment in HACKING is no longer valid but misleading. Cc: Blue Swirl <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
417131fb9ad3f6dd7177a338cc5f143dec4d75f0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/417131fb9ad3f6dd7177a338cc5f143dec4d75f0
2011-02-25 16:31:05-06:00
SPARC: Emulation of GRLIB APB UART This device exposes one parameter: - chardev (ptr) : Pointer to a qemu character device Emulation of GrLib devices is base on the GRLIB IP Core User's Manual: http://www.gaisler.com/products/grlib/grip.pdf Signed-off-by: Fabien Chouteau <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
8b1e1320748f0aca2319ee272f106ca41a7580a2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8b1e1320748f0aca2319ee272f106ca41a7580a2
2011-01-24 20:54:34+00:00
qed: Refuse to create images on block devices QED relies on the underlying filesystem to extend the file and maintain its size. Check that images are not created on a block device. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
c743849bee7333c7ef256b7e12e34ed6f907064f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c743849bee7333c7ef256b7e12e34ed6f907064f
2011-01-24 16:41:50+01:00
kvm: introduce kvm_mce_in_progress Share same error handing, and rename this function after MCIP (Machine Check In Progress) flag. Signed-off-by: Hidetoshi Seto <[email protected]> Signed-off-by: Jin Dongming <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
6643e2f001f207bdb85646a4c48d1e13244d87c3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6643e2f001f207bdb85646a4c48d1e13244d87c3
2011-01-21 14:05:22-02:00
kvm: x86: Remove redundant mp_state initialization kvm_arch_reset_vcpu initializes mp_state, and that function is invoked right after kvm_arch_init_vcpu. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
3390e7f79784cbc75df408740cda4edbcf57ac58
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3390e7f79784cbc75df408740cda4edbcf57ac58
2011-01-23 02:27:21-02:00
usb core: add migration support Yes, seriously. There is no migration support at all for usb devices. They loose state, especially the device address, and stop responding because of that. Oops. Luckily there is so much broken usb hardware out there that the guest usually just kicks the device hard (via port reset and reinitialization), then continues without a hitch. So we got away with that in a surprising high number of cases. The arrival of remote wakeup (which enables autosuspend support) changes that picture though. The usb devices also forget that it they are supposed to wakeup, so they don't do that. The host also doesn't notice the device stopped working in case it suspended the device and thus expects it waking up instead of polling it. Result is that your mouse is dead. Lets start fixing that. Add a vmstate struct for USBDevice. Signed-off-by: Gerd Hoffmann <[email protected]>
c1ecb40a6124b80f1e346e38a1975e82da6507ca
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c1ecb40a6124b80f1e346e38a1975e82da6507ca
2011-01-24 17:21:34+01:00
scsi-disk: support WRITE SAME (16) with unmap bit Support discards via the WRITE SAME command with the unmap bit set, and tell the initiator about the support for it via the block limit and the new thin provisioning EVPD pages. Also fix the comment which incorrectly describedthe block limits EVPD page. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
ea3bd56f56822350bbb91518b3d786948f573359
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ea3bd56f56822350bbb91518b3d786948f573359
2010-12-17 16:11:03+01:00
Type-safe ioport callbacks The current ioport callbacks are not type-safe, in that they accept an "opaque" pointer as an argument whose type must match the argument to the registration function; this is not checked by the compiler. This patch adds an alternative that is type-safe. Instead of an opaque argument, both registation and the callback use a new IOPort type. The callback then uses container_of() to access its main structures. Currently the old and new methods exist side by side; once the old way is gone, we can also save a bunch of memory since the new method requires one pointer per ioport instead of 6. Acked-by: Anthony Liguori <[email protected]> Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
acd1c812b5548c8426e093075362b6d4119db6ac
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/acd1c812b5548c8426e093075362b6d4119db6ac
2010-11-21 09:16:57-06:00
exec: Use fprintf_function for dump_exec_info (format checking) fprintf_function uses format checking with GCC_FMT_ATTR. It is declared in qemu-common.h and used in cpu-all.h (which is included from cpu.h), so qemu-common.h must be included earlier. Some redundant include statements for standard include files were removed. Fix also two format errors (ptrdiff_t needs %td). Cc: Blue Swirl <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
055403b2a72729497fb58e0c6293547e767679d3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/055403b2a72729497fb58e0c6293547e767679d3
2010-10-30 08:01:59+00:00
vgabios update: handle compatibility with older qemu versions As pointed out by avi the vgabios update is guest-visible and thus has migration implications. One change is that the vga has a valid pci rom bar now. We already have a pci bus property to enable/disable the rom bar and we'll load the bios via fw_cfg as fallback for the no-rom-bar case. So we just have to add compat properties to handle this case. A second change is that the magic bochs lfb @ 0xe0000000 is gone. When live-migrating a guest from a older qemu version it might be using the lfb though, so we have to keep it for the old machine types. The patch enables the bochs lfb in case we don't have the pci rom bar enabled (i.e. we are in 0.13+older compat mode). This patch depends on these patches which add (and use) the pc-0.13 machine type: http://patchwork.ozlabs.org/patch/70797/ http://patchwork.ozlabs.org/patch/70798/ Signed-off-by: Gerd Hoffmann <[email protected]> Cc: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
281a26b15b4adcecb8604216738975abd754bea8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/281a26b15b4adcecb8604216738975abd754bea8
2010-11-21 09:16:57-06:00
Use a few more gcc warning flags If the compiler supports the following warning flags, use them: -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wmissing-include-dirs Currently, these flags don't produce any warnings. Signed-off-by: Blue Swirl <[email protected]>
a21493e00952e5d7cd948951f2677b0d0e465ccd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a21493e00952e5d7cd948951f2677b0d0e465ccd
2010-09-18 07:01:05+00:00
Use gcc warning flag -Wtype-limits If the compiler supports the warning flag -Wtype-limits, use it. Signed-off-by: Blue Swirl <[email protected]>
6e15cb5f6d87d0039b4c1590d1577ae14db17b50
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6e15cb5f6d87d0039b4c1590d1577ae14db17b50
2010-09-18 05:53:15+00:00
fix 100% CPU load when idle with ALSA Playback control function did not disable polling when playback stops. Caused busy spinning of the main loop due to unprocessed events. Signed-off-by: Jindrich Makovicka <[email protected]> Signed-off-by: malc <[email protected]>
22d948a2d97434192018bdabaf0a50cda7f994be
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/22d948a2d97434192018bdabaf0a50cda7f994be
2010-10-18 00:39:02+04:00