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
rbd: hook up cache options Writeback caching was added in Ceph 0.46, and writethrough will be in 0.47. These are controlled by general config options, so there's no need to check for librbd version. Signed-off-by: Josh Durgin <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
b11f38fcdf837c6ba1d4287b1c685eb3ae5351a8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b11f38fcdf837c6ba1d4287b1c685eb3ae5351a8
2012-06-15 14:03:42+02:00
qemu-ga: don't warn on no command return This is a valid condition when a command chooses to not emit a success response. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Michael Roth <[email protected]>
ce8c8b7bd8958fde291f7736016015864e7638a2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ce8c8b7bd8958fde291f7736016015864e7638a2
2012-05-15 09:15:16-05:00
xen: do not initialize the interval timer and PCSPK emulator PIT and PCSPK are emulated by the hypervisor so we don't need to emulate them in Qemu: this patch prevents Qemu from waking up needlessly at PIT_FREQ on Xen. Signed-off-by: Stefano Stabellini <[email protected]>
c2d8d311c18b13c5282ab7d7b2ae57e3dd1e7f7d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c2d8d311c18b13c5282ab7d7b2ae57e3dd1e7f7d
2012-05-17 10:43:32+00:00
qdev: Use int32_t container for devfn property Valid range for devfn is -1 to 255 (-1 for automatic assignment). We do not currently validate this due to devfn being stored as a uint32_t. This can lead to segfaults and other strange behavior. We could technically just cast it to int32_t to implement the checking, but this will not work for visitor-based setting where we may do additional bounds-checking based on target container type, which is int32_t for this case. Signed-off-by: Michael Roth <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
09f1bbcd834c63da35b3fe190fcd9a20d7b04f07
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/09f1bbcd834c63da35b3fe190fcd9a20d7b04f07
2012-06-08 16:11:14+02:00
Remove extra pthread switch remove the extra pthread switch which might be there from the package config check for gthreads. Signed-off-by: Peter Portante <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
e3c56761b465a4253871c32b06ebbc2d8b3fc3e1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e3c56761b465a4253871c32b06ebbc2d8b3fc3e1
2012-04-24 09:50:31-05:00
e1000: PHY loopback mode support The missing of loopback mode prevent the running of self diagnosis program in guest. This patch adds this support. After this patch, loopback test of ethtool were passed in guest. Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
93e37d769074bebfd04c6704b7a7ae92736876e3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/93e37d769074bebfd04c6704b7a7ae92736876e3
2012-04-25 10:53:48+03:00
target-i386: Add range check for -cpu ,family=x A family field value of 0xf and extended family field value of 0xff is the maximum representable unsigned family number. All other CPUID property values are bounds-checked, so add a check here for symmetry before we adopt it in a property setter. Signed-off-by: Andreas Färber <[email protected]> Reviewed-by: Eduardo Habkost <[email protected]> Reviewed-by: Igor Mammedov <[email protected]>
a88a677f54e855c0453f06e0347904e4144e1c2b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a88a677f54e855c0453f06e0347904e4144e1c2b
2012-04-25 10:51:35+02:00
qcow2: Version 3 images This adds the basic infrastructure to qcow2 to handle version 3 images. It includes code to create v3 images, allow header updates for v3 images and checks feature bits. It still misses support for zero clusters, so this is not a fully compliant implementation of v3 yet. The default for creating new images stays at v2 for now. Signed-off-by: Kevin Wolf <[email protected]>
6744cbab8cd63b7ce72b3eee4f0055007acf0798
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6744cbab8cd63b7ce72b3eee4f0055007acf0798
2012-04-20 15:57:29+02:00
target-xtensa: fix LOOPNEZ/LOOPGTZ translation Translation of LOOP instructions used to call LEND SR write handler to update LEND and invalidate relevant TBs. Now that LEND SR write handler ends TB, LOOPNEZ and LOOPGTZ generate wrong code (same as for simple LOOP). Fix it by calling wsr_lend helper directly. Signed-off-by: Max Filippov <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
b18b37f7c5bc96dabdb08bcfb699b339a76104bf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b18b37f7c5bc96dabdb08bcfb699b339a76104bf
2012-04-21 13:24:45+00:00
qed: add bdrv_invalidate_cache to be called after incoming live migration The QED image is reopened to flush metadata and check consistency. Signed-off-by: Benoit Canet <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
c82954e529929c2d650589d8bccaaf19dec33431
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c82954e529929c2d650589d8bccaaf19dec33431
2012-04-05 16:28:27+02:00
xen-mapcache: don't unmap locked entry during mapcache invalidation When an IOREQ_TYPE_INVALIDATE is sent to QEMU, it invalidates all entry of the map cache even if it's locked. QEMU is not able to know that entry was invalidated, so when an IO access is requested a segfault occured. Signed-off-by: Julien Grall <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
852a7cec90f12516eb335bb29ed1398c2f0b7c2c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/852a7cec90f12516eb335bb29ed1398c2f0b7c2c
2012-04-13 17:35:06+00:00
qcow2: Reduce number of I/O requests If the first part of a write request is allocated, but the second isn't and it can be allocated so that the resulting area is contiguous, handle it at once. This is a common case for sequential writes. After this patch, alloc_cluster_offset() only checks if the clusters are already allocated or how many new clusters can be allocated contigouosly. The actual cluster allocation is split off into a new function do_alloc_cluster_offset(). Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]>
250196f19c6e7df12965d74a5073e10aba06c802
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/250196f19c6e7df12965d74a5073e10aba06c802
2012-03-12 15:14:07+01:00
test-coroutine: add performance test for nesting The performance test will also check for nesting. It will do a certain quantity of cycles, and each of one will do a depth nesting process. This is useful for benchmarking the creation of coroutines, given that nesting is creation-intensive (and the other perf test does not benchmark that). Signed-off-by: Alex Barcelo <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
7e849a9919aac147a768a775014f2eff98e44323
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7e849a9919aac147a768a775014f2eff98e44323
2012-03-12 15:14:08+01:00
qxl: drop vram bar minimum size There is no reason to require a minimum size of 16 MB for the vram. Lower the limit to 4096 (one page). Make it disapper completely would break guests.
80105bbfb2aa3023e959b6ea682a3fc9515080a3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/80105bbfb2aa3023e959b6ea682a3fc9515080a3
2012-02-21 10:36:05+01:00
pxa2xx_lcd: SRAM is valid location for the framebuffer Signed-off-by: Vasily Khoruzhick <[email protected]> Signed-off-by: Andrzej Zaborowski <[email protected]>
4f56da61b907ef33fedeed78cf9299f6219c45e2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4f56da61b907ef33fedeed78cf9299f6219c45e2
2012-02-17 08:25:43+01:00
virtio: Remove unneeded g_free() check in virtio_cleanup() Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
6f79e06b35b26a1beda6f6dc4dd02588887597e9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6f79e06b35b26a1beda6f6dc4dd02588887597e9
2012-02-10 10:44:52+00:00
slirp: Prevent sending ICMP error replies to source-only addresses This triggered the related assert in arp_table_search. Signed-off-by: Jan Kiszka <[email protected]>
6612db12d56c68fff3e56ca4ea8c41d9d55c12e4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6612db12d56c68fff3e56ca4ea8c41d9d55c12e4
2012-02-08 10:07:54+01:00
check-qfloat: convert to gtest Signed-off-by: Anthony Liguori <[email protected]>
a9e1c28ddaae5a48415fec1f336b5560eb85d3e1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a9e1c28ddaae5a48415fec1f336b5560eb85d3e1
2012-01-12 10:05:37-06:00
memory: add MemoryRegionOps::valid.accepts MemoryRegionOps::valid tries to declaratively specify which transactions are accepted by the device/bus, however it is not completely generic. Add a callback for special cases. Signed-off-by: Avi Kivity <[email protected]>
897fa7cff21a98b260a5b3e73eae39273fa60272
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/897fa7cff21a98b260a5b3e73eae39273fa60272
2011-11-24 18:32:00+02:00
vdi: Add migration blocker vdi caches the block map. For migration to work, it would have to be invalidated. Block migration for now. Signed-off-by: Kevin Wolf <[email protected]>
fc9d106c8dfe1c4afe0e127dfcd2764e63f0efb0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fc9d106c8dfe1c4afe0e127dfcd2764e63f0efb0
2011-11-23 17:04:02+01:00
qcow: Add migration blocker qcow caches L2 tables. For migration to work, they would have to be invalidated. Block migration for now. Signed-off-by: Kevin Wolf <[email protected]>
fd9f102c3e38ac606ef8ee2a5ba0130f7c87422f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd9f102c3e38ac606ef8ee2a5ba0130f7c87422f
2011-11-23 17:03:59+01:00
vl.c: In qemu -h output, only print options for the arch we are running as Only print options in the help output that are accepted by our arch. This is less confusing for users and also for other programs that consume the help output. The options affected are: -g and -prom-env only displayed on PPC or SPARC -win2k-hack, -rtc-td-hack, -no-fd-bootchk, -no-acpi, -no-hpet, -acpitable, -smbios only displayed on i386 -semihosting only displayed on ARM, M68K or XTENSA -old-param only displayed on ARM Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
a3adb7ad3bd9c517d569e7e23b249e7f7d616015
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a3adb7ad3bd9c517d569e7e23b249e7f7d616015
2011-12-19 10:27:33-06:00
virtio-console: Properly initialise class methods The earlier code really was a hack: initialising class methods in an object init function as noted by Anthony. The motivation for that was to not have the virtio-serial-bus call into the callback functions if there was no chardev backend registered. However, that really wasn't a worthwhile optimisation, and definitely not one that was well-implemented. Get rid of it. Reported-by: Anthony Liguori <[email protected]> Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
05e7af694ce00dafdc464ca70306fa9dd6f78dcd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/05e7af694ce00dafdc464ca70306fa9dd6f78dcd
2011-12-21 15:00:29-06:00
scsi-disk: store valid mode pages in a table A small refactoring of the MODE SENSE implementation in scsi-disk. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
a8f4bbe2900f0ebdead032fb8da137777bddd925
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a8f4bbe2900f0ebdead032fb8da137777bddd925
2011-10-28 19:25:50+02:00
runstate: Print state transition when invalid Makes it easier to debug. Signed-off-by: Luiz Capitulino <[email protected]>
207c5cd20c15244b7747cacf45b8dc1fd27deaa4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/207c5cd20c15244b7747cacf45b8dc1fd27deaa4
2011-10-19 10:48:52-02:00
KVM: PPC: Override host vmx/vsx/dfp only when information known The -cpu host feature tries to find out the host capabilities based on device tree information. However, we don't always have that available because it's an optional property in dt. So instead of force unsetting values depending on an unreliable source of information, let's just try to be clever about it and not override capabilities when we don't know the device tree pieces. This fixes altivec with -cpu host on YDL PowerStations. Reported-by: Nishanth Aravamudan <[email protected]> Acked-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
70bca53ffb811ea59dc090b3ca7825cf0bf346a7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/70bca53ffb811ea59dc090b3ca7825cf0bf346a7
2011-10-30 20:03:27+01:00
compatfd.c: Don't pass NULL pointer to SYS_signalfd Don't pass a NULL pointer in to SYS_signalfd in qemu_signalfd_available(): this isn't valid and Valgrind complains about it. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Andrzej Zaborowski <[email protected]>
7f84c1272b601be88daeb828ec1890890c7aae25
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7f84c1272b601be88daeb828ec1890890c7aae25
2011-10-21 18:01:35+02:00
pseries: Correct vmx/dfp handling in both KVM and TCG cases Currently, when KVM is enabled, the pseries machine checks if the host CPU supports VMX, VSX and/or DFP instructions and advertises accordingly in the guest device tree. It does this regardless of what CPU is selected on the command line. On the other hand, when in TCG mode, it never advertises any of these facilities, even basic VMX (Altivec) which is supported in TCG. Now that we have a -cpu host option for ppc, it is fairly straightforward to fix both problems. This patch changes the -cpu host code to override the basic cpu spec derived from the PVR with information queried from the host avout VMX, VSX and DFP capability. The pseries code then uses the instruction availability advertised in the cpu state to set the guest device tree correctly for both the KVM and TCG cases. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
a7342588c081c7497bc7810431a03fa7b669af40
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a7342588c081c7497bc7810431a03fa7b669af40
2011-10-30 20:03:26+01:00
softmmu_header: pass CPUState to tlb_fill Pass CPUState pointer to tlb_fill() instead of architecture local cpu_single_env hacks. Signed-off-by: Blue Swirl <[email protected]>
bccd9ec5f098668576342c83d90d6d6833d61d33
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bccd9ec5f098668576342c83d90d6d6833d61d33
2011-10-01 09:31:26+00:00
block: directly invoke .bdrv_* from emulation functions The emulation functions which supply default BlockDriver .bdrv_*() functions given another implemented .bdrv_*() function should not use public bdrv_*() interfaces. This patch ensures they invoke .bdrv_*() directly to avoid adding an extra layer of coroutine request processing and possibly entering an infinite loop. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
1ed20acf2f581480436fb621995ef7c18fa75fad
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1ed20acf2f581480436fb621995ef7c18fa75fad
2011-10-13 15:02:53+02:00
configure: Remove relicts from --enable-io-thread Commit 12d4536f7d911b6d87a766ad7300482ea663cea2 removed configure option --enable-io-thread. Remove help message which is now no longer valid. Cc: Anthony Liguori <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
bca4b9885fc021e5550ac1c488dc0048c2694b79
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bca4b9885fc021e5550ac1c488dc0048c2694b79
2011-09-09 09:43:17+01:00
pseries: interrupt controller should not have a 'reg' property The interrupt controller presented in the device tree for the pseries machine is manipulated by the guest only through hypervisor calls. It has no real or emulated registers for the guest to access. However, it currently has a bogus 'reg' property advertising a register window. Moreover, this property has an invalid format, being a 32-bit zero, when the #address-cells property on the root bus indicates that it needs a 64-bit address. Since the guest never attempts to manipulate the node directly, it works, but it is ugly and can cause warnings when manipulating the device tree in other tools (such as future firmware versions). This patch, therefore, corrects the problem by entirely removing the interrupt-controller node's 'reg' property. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
9dfef5aae422d479d8e561889da05cf31d850d5c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9dfef5aae422d479d8e561889da05cf31d850d5c
2011-10-06 09:48:03+02:00
block: Attach non-qdev devices as well For now, this just protects against programming errors like having the same drive back multiple non-qdev devices, or untimely bdrv_delete(). Later commits will add other interesting uses. While there, rename BlockDriverState member peer to dev, bdrv_attach() to bdrv_attach_dev(), bdrv_detach() to bdrv_detach_dev(), and bdrv_get_attached() to bdrv_get_attached_dev(). Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
fa879d62eb51253d00b6920ce1d1d9d261370a49
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fa879d62eb51253d00b6920ce1d1d9d261370a49
2011-09-06 11:23:51+02:00
slirp: Fix bit field types in IP header structs -mms-bitfields prevents that the bitfields in current IP header structs are packed into a single byte as it is required. Fix this by using uint8_t as backing type. Signed-off-by: Jan Kiszka <[email protected]>
1b930bfa098ebad8abfc5ceff5d943133e7513f4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1b930bfa098ebad8abfc5ceff5d943133e7513f4
2011-08-14 23:34:44-07:00
hw/xio3130_downstream.c: 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]>
3ec39b2d20a25505382619e31e6572e3d04f311e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3ec39b2d20a25505382619e31e6572e3d04f311e
2011-06-12 10:33:38+03:00
hw/vga-pci.c: 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]>
32902772833dbe424f754d5b841d996b90be87b2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/32902772833dbe424f754d5b841d996b90be87b2
2011-06-12 10:33:37+03:00
hw/piix_pci.c: 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]>
3a9d85491ed2be8158fe93041dcbb34c13dfdb05
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3a9d85491ed2be8158fe93041dcbb34c13dfdb05
2011-06-12 10:33:36+03:00
qemu-timer: Introduce clock reset notifier QEMU_CLOCK_HOST is based on the system time which may jump backward in case the admin or NTP adjusts it. RTC emulations and other device models can suffer in this case as timers will stall for the period the clock was tuned back. This adds a detection mechanism that checks on every host clock readout if the new time is before the last result. If that is the case a notifier list is informed. Device models interested in this event can register a notifier with the clock. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
691a0c9c9b71360271220c12f20a7238bc302503
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/691a0c9c9b71360271220c12f20a7238bc302503
2011-07-23 11:26:12-05:00
Use new macro QEMU_PACKED for packed structures Most changes were made using these commands: git grep -la '__attribute__((packed))'|xargs perl -pi -e 's/__attribute__\(\(packed\)\)/QEMU_PACKED/' git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/' git grep -la '__attribute__((__packed__))'|xargs perl -pi -e 's/__attribute__\(\(__packed__\)\)/QEMU_PACKED/' git grep -la '__attribute__ ((__packed__))'|xargs perl -pi -e 's/__attribute__ \(\(__packed__\)\)/QEMU_PACKED/' git grep -la '__attribute((packed))'|xargs perl -pi -e 's/__attribute\(\(packed\)\)/QEMU_PACKED/' Whitespace in linux-user/syscall_defs.h was fixed manually to avoid warnings from scripts/checkpatch.pl. Manual changes were also applied to hw/pc.c. I did not fix indentation with tabs in block/vvfat.c. The patch will show 4 errors with scripts/checkpatch.pl. Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
541dc0d47f10973c241e9955afc2aefc96adec51
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/541dc0d47f10973c241e9955afc2aefc96adec51
2011-09-03 10:45:59+00:00
char: Detect chardev release by NULL handlers as well as NULL opaque Juan says he prefers these extra checks to ensure a user of a chardev is releasing it. Requested-by: Juan Quintela <[email protected]> Signed-off-by: Amit Shah <[email protected]>
da7d998bbb80f141ed5743418a4dfa5c1409e75f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/da7d998bbb80f141ed5743418a4dfa5c1409e75f
2011-04-28 11:11:04+05:30
virtio-serial: Clean up virtconsole detection virtio-serial-bus needs to treat "virtconsole" devices specially. It uses VirtIOSerialPort member is_console to recognize them. It gets its value via property initialization. Cute hack, except it lets users mess with it: "-device virtconsole,is_console=0" isn't plugged into port 0 as it should. Move the flag to VirtIOSerialPortInfo. Keep the property for backward compatibility; its value has no effect. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Amit Shah <[email protected]>
2a3d57ce4278dfd898d8b5639ace21fa4a4fb9bd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2a3d57ce4278dfd898d8b5639ace21fa4a4fb9bd
2011-05-27 15:50:56+05:30
Delete unused tb_invalidate_page_range tb_invalidate_page_range() was intended to be used to invalidate an area of a TB which the guest explicitly flushes from i-cache. However, QEMU detects writes to code areas where TBs have been generated, so his has never been useful. Delete the function, adjust callers. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
dcfd14b3741983c466ad92fa2ae91eeafce3e5d5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dcfd14b3741983c466ad92fa2ae91eeafce3e5d5
2011-05-22 10:47:28+00:00
net: Remove unused net-checksum.c file The common checksum functions were moved to net/checksum.c in commit 7200ac3c7c8eefe574193b49eeff09f120e11ec7 but the original net-checksum.c was never deleted from the source tree. Remove it now since all users of the checksum functions link against net/checksum.o and net-checksum.c is not even compiled anymore. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
22156ab498acf5f8104801148732ae8e83f336a0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/22156ab498acf5f8104801148732ae8e83f336a0
2011-04-04 00:17:43+02:00
cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU CPU_QuadU isn't used on all targets, but there's no harm in defining the typedef anyway. It only needs to be guarded by CONFIG_SOFTFLOAT, because softfloat-native doesn't have a float128 type. This avoids the need for every new target which uses CPU_QuadU to add itself to an #ifdef in what ought to be target-agnostic code. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
c8f930c0eeb696d638f4d4bf654e955fa44ff40f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c8f930c0eeb696d638f4d4bf654e955fa44ff40f
2011-04-04 21:14:28+02:00
target-arm: Move Neon VZIP to helper functions Move the implementation of the Neon VUZP unzip instruction from inline code to helper functions. (At 50+ TCG ops it was well over the recommended limit for coding inline.) The helper implementations also give the correct answers where the inline implementation did not. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
d68a6f3a6deb2f5eee198b6fa46877a20227d86e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d68a6f3a6deb2f5eee198b6fa46877a20227d86e
2011-02-20 17:31:53+01:00
checkpatch.pl: don't complain about old lines with tabs Don't complain when the patch includes lines with tabs only in the hunk's untouched context. Signed-off-by: Blue Swirl <[email protected]>
ad36ce8ba95a756ef558579c6e9ecedfae4dfd0b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ad36ce8ba95a756ef558579c6e9ecedfae4dfd0b
2011-02-05 13:18:20+00:00
Remove NULL checks for bdrv_new return value It's an indirect call to qemu_malloc, which never returns an error. Signed-off-by: Kevin Wolf <[email protected]>
ad7171394f2fe3f9b5fe02f0c62496291a859a92
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ad7171394f2fe3f9b5fe02f0c62496291a859a92
2010-12-17 16:11:03+01:00
Prevent creating an image with the same filename as backing file Signed-off-by: Jes Sorensen <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
792da93a635bce0181c8a46a26941560bf2f7412
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/792da93a635bce0181c8a46a26941560bf2f7412
2010-12-17 16:11:03+01:00
target-arm: Correct conversion of Thumb Neon dp encodings into ARM We handle Thumb Neon data processing instructions by converting them into the equivalent ARM encoding, as the two are very close. However the ARM encoding should have bit 28 set, not clear. This wasn't causing any problems because we don't actually look at that bit during decode; however it is better to do the conversion correctly to avoid problems later if we add checks to UNDEF on SBZ/SBO bits. Signed-off-by: Juha Riihimäki <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
f06053e3c3933f75df9694aa3970d589f88b3543
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f06053e3c3933f75df9694aa3970d589f88b3543
2011-02-20 17:30:09+01:00
linux-user: mmap_reserve() not controlled by RESERVED_VA mmap_reserve() should be called only when RESERVED_VA is enabled. Otherwise, unmaped virtual address space will never be reusable. This bug will exhaust virtual address space in extreme conditions. Signed-off-by: Riku Voipio <[email protected]>
c65ffe6d6ca8b156e729e81054ca7597864354a9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c65ffe6d6ca8b156e729e81054ca7597864354a9
2010-12-03 15:09:38+02:00
target-xxx: Use fprintf_function (format checking) fprintf_function uses format checking with GCC_FMT_ATTR. Format errors were fixed in * target-i386/helper.c * target-mips/translate.c * target-ppc/translate.c Cc: Blue Swirl <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
9a78eead0c74333a394c0f7bbfc4423ac746fcd5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9a78eead0c74333a394c0f7bbfc4423ac746fcd5
2010-10-30 08:01:59+00:00
pcie: simplify range check Simplify code slighly by reversing the polarity for the range check Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Isaku Yamahata <[email protected]>
ac0cdda347abee6c1aa8a08a7441fc52c6d7badc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ac0cdda347abee6c1aa8a08a7441fc52c6d7badc
2010-10-27 19:01:59+02:00
MIPS: fix yield handling The parameter for yield should be handled as a signed integer for the comparisons to have any effect. This also avoids a gcc warning with -Wtype-limits. Signed-off-by: Blue Swirl <[email protected]>
1c7242da851cc65a2cc93fbc6defa964084a2826
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1c7242da851cc65a2cc93fbc6defa964084a2826
2010-09-18 05:53:15+00:00
block: Fix bdrv_has_zero_init Assuming that any image on a block device is not properly zero-initialized is actually wrong: Only raw images have this problem. Any other image format shouldn't care about it, they initialize everything properly themselves. Signed-off-by: Kevin Wolf <[email protected]>
336c1c12551ff0a6e1a2af226d6cbdbadd2e02b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/336c1c12551ff0a6e1a2af226d6cbdbadd2e02b5
2010-08-03 15:57:22+02:00
configure: Add basic support for Haiku For compatibility with BeOS, Haiku's error codes are negative whereas recent POSIX versions require them to be positive. As spotted by François, some parts of QEMU code rely on this, so use a mapper library to convert them to positive ones. Cc: François Revol <[email protected]> Cc: Ingo Weinhold <[email protected]> Haiku has network functions in libnetwork.so. It doesn't ship libutil.so. Signed-off-by: Andreas Färber <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
179cf40000d91ea69f30b7337fa055a775523bf5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/179cf40000d91ea69f30b7337fa055a775523bf5
2010-10-03 06:31:05+00:00
Fix qemu_wait_io_event processing in io-thread mode When checking for I/O events in the tcg CPU loop, make sure that we call qemu_wait_io_event_common for all CPUs, not only the current one. Otherwise pause_all_vcpus may lock up or run_on_cpu requests may starve. Rename qemu_wait_io_event to qemu_tcg_wait_io_event at this chance and purge its argument list as it has no use for it. Signed-off-by: Jan Kiszka <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Reviewed-by: Marcelo Tosatti <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
6cabe1f303b9d76458c00f00df7f477449a13b2f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6cabe1f303b9d76458c00f00df7f477449a13b2f
2010-07-22 05:52:09+02:00
QMP: Drop old input object checking Previous commit added qmp_check_input_obj(), it does all the checking we need. Signed-off-by: Luiz Capitulino <[email protected]>
0bbab46db67bd5a059aadabc498be3c371551506
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0bbab46db67bd5a059aadabc498be3c371551506
2010-07-01 14:27:13-03:00
pci: set PCI multi-function bit appropriately. Set PCI multi-function bit according to multifunction property. PCI address, devfn ,is exported to users as addr property, so users can populate pci function(PCIDevice in qemu) at arbitrary devfn. It means each function(PCIDevice) don't know whether pci device (PCIDevice[8]) is multi function or not. So this patch allows user to set multifunction bit via property and checks whether multifunction bit is set correctly. Cc: Juan Quintela <[email protected]> Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
6eab3de16d36c48a983366b09d0a0029a5260bc3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6eab3de16d36c48a983366b09d0a0029a5260bc3
2010-07-11 20:01:02+03:00
Add more boundary checking to sse3/4 parsing ssse3 uses tables with only two entries per op, but it is indexed with b1 which can contain variables upto 3. This happens when ssse3 or sse4 are used with REP* prefixes. Add boundary checking for this case. Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
c045af25a52e9aa69c96bf8af4e4c639f657b08f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c045af25a52e9aa69c96bf8af4e4c639f657b08f
2010-07-02 01:53:37+02:00
virtio-9p: Security model for mkdir Signed-off-by: Venkateswararao Jujjuri <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
00ec5c37601accb2b85b089d72fc7ddff2f4222e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/00ec5c37601accb2b85b089d72fc7ddff2f4222e
2010-06-22 15:15:51-05:00
sparc64: fix 32bit load sign extension - change return type of ldl_* to uint32_t to prevent unwanted sign extension visible in sparc64 load alternate address space methods - note this change makes ldl_* softmmu implementations match ldl_phys one Signed-off-by: Igor V. Kovalenko <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
c086b783eb7a578993d6d2ab62c4c2666800b63d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c086b783eb7a578993d6d2ab62c4c2666800b63d
2010-06-02 20:04:52+00:00
Revert "vnc: set the right prefered encoding" This patch was wrong, because the loop was already reversed, so the first encoding was correctly set at the end of the loopp. This reverts commit 14eb8b6829ad9dee7035de729e083844a425f274. Signed-off-by: Corentin Chary <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
a9f20d31a8332ea4d6a0c90b9731f11a51cff6db
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a9f20d31a8332ea4d6a0c90b9731f11a51cff6db
2010-06-01 12:53:09-05:00
sparc64: generate data access exception on RW violation - separate PRIV and PROT handling - DPRINTF_MMU macro to clean up debug code - dump mmu_idx, trap level and mmu context registers along with address translation values Signed-off-by: Igor V. Kovalenko <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
b8e9fc0625c49404d63b4391f6dc5cf27be8b45b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b8e9fc0625c49404d63b4391f6dc5cf27be8b45b
2010-05-22 12:34:09+00:00
Compile ide/core only once Make win2k install hack unconditional as it is still restricted to x86 only in vl.c. Replace TARGET_PAGE_SIZE and 4096 with PAGE_SIZE. Signed-off-by: Blue Swirl <[email protected]>
f7736b91c40a617e93505e32dcbd2cb56aad8a23
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f7736b91c40a617e93505e32dcbd2cb56aad8a23
2010-03-27 06:20:53+00:00
move targphys.h and hw/poison.h inclusion to cpu-common.h With more files from outside the hw/ directory being placed into libhw, avoid the need to include hw/hw.h for the sake of targ_phys_addr_t. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
37b76cfd938dafc89dc609cfb2c84719357867a5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/37b76cfd938dafc89dc609cfb2c84719357867a5
2010-04-09 18:55:55+02:00
slirp: check system() success we shouldn't call W*() macros until we check that fork worked. Signed-off-by: Juan Quintela <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
24ac07dec7f23c58dc48aa7754f872781b386d46
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/24ac07dec7f23c58dc48aa7754f872781b386d46
2010-03-09 11:23:00-06:00
Monitor: handle optional '-' arg as a bool Historically, user monitor arguments beginning with '-' (eg. '-f') were passed as integers down to handlers. I've maintained this behavior in the new monitor because we didn't have a boolean type at the very beginning of QMP. Today we have it and this behavior is causing trouble to QMP's argument checker. This commit fixes the problem by doing the following changes: 1. User Monitor Before: the optional arg was represented as a QInt, we'd pass 1 down to handlers if the user specified the argument or 0 otherwise This commit: the optional arg is represented as a QBool, we pass true down to handlers if the user specified the argument, otherwise _nothing_ is passed 2. QMP Before: the client was required to pass the arg as QBool, but we'd convert it to QInt internally. If the argument wasn't passed, we'd pass 0 down This commit: still require a QBool, but doesn't do any conversion and doesn't pass any default value 3. Convert existing handlers (do_eject()/do_migrate()) to the new way Before: Both handlers would expect a QInt value, either 0 or 1 This commit: Change the handlers to accept a QBool, they handle the following cases: A) true is passed: the option is enabled B) false is passed: the option is disabled C) nothing is passed: option not specified, use default behavior Signed-off-by: Luiz Capitulino <[email protected]>
eb159d13ee36a9ef2a83e3ab66f1b2ae1cc2d9f1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/eb159d13ee36a9ef2a83e3ab66f1b2ae1cc2d9f1
2010-07-01 14:27:13-03:00
pcnet: make subsystem vendor id match hardware Real pcnet device (AT2450) apparently has subsystem device and vendor id set to 0, this is out of spec (which requires that vendor id is obtained from PCI SIG) but windows xp driver seems to need this in order to associate. qemu sets pci subsystem id to qumranet/qemu since d350d97d196a632b6c7493acf07a061017fc6f7d, debian does not yet have this patch. https://bugzilla.redhat.com/show_bug.cgi?id=521247 Signed-off-by: Michael S. Tsirkin <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Anthony Liguori <[email protected]>
7a7e5db99399dd5e17fc75036577f822a516b504
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7a7e5db99399dd5e17fc75036577f822a516b504
2010-03-15 13:52:06+02:00
x86: Extend validity of bsp_to_cpu As we hard-wire the BSP to CPU 0 anyway and cpuid_apic_id equals cpu_index, bsp_to_cpu can also be based on the latter directly. This will help an early user of it: KVM while initializing mp_state. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
6cb2996cef5e273ef370e690e84b5e1403f5c391
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6cb2996cef5e273ef370e690e84b5e1403f5c391
2010-03-04 00:29:32-03:00
PCI: fix multiple bridge problems When several PCI bridges were in use, monitor command "info pci" would enter into infinite loop. Buses behind the bridge were not discoverable because secondary and subordinate bus numbers were not used properly. Other buses were not found because bus search terminated on first miss. Signed-off-by: Blue Swirl <[email protected]>
c021f8e65f5009a5ab5711d9d5326fcab553ef1c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c021f8e65f5009a5ab5711d9d5326fcab553ef1c
2010-02-06 09:20:13+00:00
QList: Introduce QLIST_FOREACH_ENTRY() Iterate over QList entries, it's needed to call qlist_entry_obj() to retrieve the stored QObject. I'm not sure if it's ok to have this, because it's not as easy as qlist_iter() and the QListEntry data type is now exposed to the users, which means we have one more struct to be maintained when we have libqmp. Adding anyway, as it's more compact and people are asking for it. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
59eb1c85cd5f416e8f8743db27d0c98c15b64d18
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/59eb1c85cd5f416e8f8743db27d0c98c15b64d18
2010-01-26 15:42:01-06:00
sparc64: interrupt trap handling cpu_check_irqs - handle SOFTINT register TICK and STICK timer bits - only check interrupt levels greater than PIL value - handle preemption by higher level traps cpu_exec - handle CPU_INTERRUPT_HARD only if interrupts are enabled - PIL 15 is not special level on sparcv9 Signed-off-by: Igor V. Kovalenko <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
d532b26c9dee0fb5b2186572f921b1e413963ec2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d532b26c9dee0fb5b2186572f921b1e413963ec2
2010-01-08 17:25:13+00:00
monitor: do_cont(): Don't ask for passwords The do_cont() function will ask the user to enter a password if a device is encrypted. This is invalid under QMP, so we raise a QERR_DEVICE_ENCRYPTED error. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
94171e119cb6f7bab2578896643b0daff1d9b184
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/94171e119cb6f7bab2578896643b0daff1d9b184
2009-12-07 16:34:33-06:00
fixes to the static compilation case for sdl After the next commit, pkg-config could be used for the shared library configuration case and sdl-config for static libraries. So I prepare the test here by doing two changes: at the same time I remove useless backslashes from the invocation of grep; 1) fixing a typo ($sd_cflags). The typo has been there since commit 1ac88f2 (remove sdl_static. Just do the right thing if static is yes, 2009-07-27). 2) fixing an erroneous "test `... | grep > /dev/null`" idiom that would never succeed since grep's output would be empty; 3) checking the status code after executing sdl-config --static --libs; this is needed for the next patch only. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
67c274d3c72ae0e906ff20694e272b47b1d8d827
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/67c274d3c72ae0e906ff20694e272b47b1d8d827
2010-01-13 17:14:14-06:00
qemu-img: Allow creating zero sized images A size of 0 should be valid and cannot be treated as "missing value". Use -1 for this purpose instead. Signed-off-by: Kevin Wolf <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
9f56640c8536a8dfb78fc05a39c1bf9921483b12
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9f56640c8536a8dfb78fc05a39c1bf9921483b12
2009-11-09 08:43:03-06:00
tcg: initial mips support Based on a patch from Arnaud Patard (Rtp) <[email protected]> A few words about design choices: * Two registers, at and t0, are reserved for TCG internal use. They are useful for bswap and 64-bit ops. * Most ops supports a constant argument with value 0, which is actually mapped to the zero register. * While the at register is available for constant loading, ops only support a limited range of constants. TCG does a better job doing the register allocation and constant loading by itself. There are plenty of registers available anyway. Signed-off-by: Aurelien Jarno <[email protected]>
afa05235a5860e7e2153b428294bd44569d4039b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/afa05235a5860e7e2153b428294bd44569d4039b
2009-12-01 00:06:15+00:00
char: check for initial_reset_issued unnecessary At init, qemu_chr_reset is always called with initial_reset_issued set to 1. So checking for it to be set is not necessary. Patchworks-ID: 35286 Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
69795d6769910eaee4416470744e65ae066aeb54
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/69795d6769910eaee4416470744e65ae066aeb54
2009-10-21 13:35:37-05:00
multiboot: Limit number of multiboot modules Add size checks to avoid overwriting the multiboot structure when too many modules are loaded. Patchworks-ID: 35700 Signed-off-by: Adam Lackorzynski <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
bf854d65a5db2380ef2f0e8014f79a405c523b94
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bf854d65a5db2380ef2f0e8014f79a405c523b94
2009-10-15 09:32:04-05:00
Fix pci_add storage not to exit on bad first argument Monitor command "pci_add ADDR storage ..." does its work in qemu_pci_hot_add_nic(). It called pci_create(..., ADDR) to create the device. That's wrong, because pci_create() terminates the program when ADDR is invalid. Use pci_get_bus_devfn() and pci_create_noinit() instead. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
49bd1458da8909434eb83c5cda472c63ff6a529c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/49bd1458da8909434eb83c5cda472c63ff6a529c
2009-10-05 09:32:53-05:00
pci_host.h: move functions in pci_host.h into .c file. split static functions in pci_host.h into pci_host.c and pci_host_template.h. Later a structures declared in pci_host.h, PCIHostState, will be used. However pci_host.h doesn't allow to include itself easily. This patches addresses it. pci_host.h includes functions which are instantiated in .c by including pci_host.h with typedefing pci_addr_t. pci_addr_t is per pci host bridge and is typedef'ed to uint32_t for ioio or target_phys_addr_t for mmio in .c file. That prevents from including pci_host.h to use PCIHostState because of requiring type, pci_addr_t. Its purpose to include is to instantiate io function for mmio or ioio depending on which pci host bridge requires ioio or mmio. To avoid including code, we always instantiate both version. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
4f5e19e6c570459cd524b29b24374f03860f5149
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4f5e19e6c570459cd524b29b24374f03860f5149
2009-11-09 08:43:07-06:00
musicpal: Catch null TX qeueues They likely represent invalid queues that should be skipped. We already do this for RX queues. Wish I had a spec... Credits go to malc for analyzing the issue and suggesting this fix. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
2e87c5b937444c1155073f7b10d630e0e383e5d8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2e87c5b937444c1155073f7b10d630e0e383e5d8
2009-10-05 09:32:43-05:00
fix qdev_print_devinfo() snprintf returns number of bytes needed for the output, not the number of bytes actually written. Thus the math is wrong ... Spotted by Markus Armbruster. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> Message-Id:
22f2e344748370b2e13888ba1057ebea2579970c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/22f2e344748370b2e13888ba1057ebea2579970c
2009-08-10 13:11:27-05:00
do proper cpu_self check Currently, our check for qemu_cpu_self only checks if there is a cpu currently in execution (represented by cpu_single_env being set). While this might be okay for tcg, it is certainly not okay for kvm, since multiple cpus might be executing. Instead, I propose we use pthread primitives to test if the caller thread is the same as env->thread. For tcg, it will have the same semantics as before, since all CPUStates will point to the same thread, and we'll only have one in execution at a time. Signed-off-by: Glauber Costa <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
e5bc201df7e060bc4c2912258a77c53f8901356c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e5bc201df7e060bc4c2912258a77c53f8901356c
2009-10-05 09:32:44-05:00
Fix checksum writing in signboot.sh The printf command takes an octal value after \, so we have to convert our decimal representation to octal first and then write it. This unbreaks extboot signing. Multiboot wasn't affected yet because the checksum was < 8. Spotted and first patch by Glauber Costa <[email protected]>. Printf idea by Paolo Bonzini <[email protected]>. Signed-off-by: Alexander Graf <[email protected]> CC: Glauber Costa <[email protected]> CC: Paolo Bonzini <[email protected]> CC: Jan Ondrej <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> Message-Id:
c66b57fc144345e7f4b5f2bfc6a389d57d927647
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c66b57fc144345e7f4b5f2bfc6a389d57d927647
2009-08-10 13:05:30-05:00
block: Clean up after deleting BHs Commit 6a7ad299 ("Call qemu_bh_delete at bdrv_aio_bh_cb") deletes emulated aio bottom halves to prevent endless accumulation. However, it leaves a stale ->bh pointer, which is then waited on when the aio is reused. Zeroing the pointer fixes the issue, allowing vmdk format images to be used. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
36afc451599175eb8f03f1962de74e7f7a8af4db
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/36afc451599175eb8f03f1962de74e7f7a8af4db
2009-07-10 13:44:30-05:00
Fix elf loader range checking The ELF loader tracks the range of addresses used by a binary. However this incorrectly assumes zero is not a valid address. Signed-off-by: Paul Brook <[email protected]>
fd93a79999c728dd1f30bb2e726ce12bdf704e6d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd93a79999c728dd1f30bb2e726ce12bdf704e6d
2009-06-05 15:16:41+01:00
Introduce kvm_check_extension to check if KVM extensions are supported Signed-off-by: Anthony Liguori <[email protected]>
ad7b8b33108a6bf610b9492b1f204e660e488e99
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ad7b8b33108a6bf610b9492b1f204e660e488e99
2009-05-08 15:42:42-05:00
allow CPUID vendor override KVM-enabled QEMU will always report the vendor ID of the physical CPU it is running on. Allow to override this if explicitly requested on the command line. It will not suffice to name a CPU type (like -cpu phenom), but you have to explicitly set the vendor: -cpu phenom,vendor=AuthenticAMD Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
ef7681389f1d5bd4bba9b66504df8a0b768b27b1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ef7681389f1d5bd4bba9b66504df8a0b768b27b1
2009-06-16 15:36:47-05:00
Remove ARM NVIC initialization hack The ARMv7-M NVIC device pokes itself into the CPU state. Now we have a proper device model we can have the CPU/SoC code do this. Signed-off-by: Paul Brook <[email protected]>
bdb11366b9370e97fb436444c697c01fe839dc11
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bdb11366b9370e97fb436444c697c01fe839dc11
2009-06-04 13:12:05+01:00
linux-user: proper exit code for uncaught signals The proper exit code for dieing from an uncaught signal is -<signal>. The kernel doesn't allow exit() or _exit() to pass a negative value. To get the proper exit code we need to actually die from an uncaught signal. A default signal handler is installed, we send ourself a signal and we wait for it to arrive. Patch originates from Scratchbox Signed-off-by: Riku Voipio <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7119 c046a42c-6fe2-441c-8c8c-71466251a162
603e4fd7b1e034f79181a53df9719818f80ba364
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/603e4fd7b1e034f79181a53df9719818f80ba364
2009-04-15 16:18:38+00:00
Remove real_screen->pixels checks git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6372 c046a42c-6fe2-441c-8c8c-71466251a162
413bfb7cfc4e7f886ad35d610056ad8da8deab8a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/413bfb7cfc4e7f886ad35d610056ad8da8deab8a
2009-01-21 00:34:46+00:00
cuda: improve date/time read/write - Allow date/time to be written - Use qemu_get_timedate() to initialize the clock Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6313 c046a42c-6fe2-441c-8c8c-71466251a162
5703c174ff8bd2072e6cb77d87fa3e85c98bf043
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5703c174ff8bd2072e6cb77d87fa3e85c98bf043
2009-01-15 18:57:15+00:00
CRIS: Slight performance improvement for flag evaluation. Translate sub and cmp ops separately when evaluating flags to avoid checking for them at runtime. Signed-off-by: Edgar E. Iglesias <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6198 c046a42c-6fe2-441c-8c8c-71466251a162
a8cf66bb393ff420d40ae172a4c817bf2752918a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a8cf66bb393ff420d40ae172a4c817bf2752918a
2009-01-07 12:25:15+00:00
target-ppc: fix fres, fsqrte and remove useless code - fres and fsqrte should not assign a float32 number to a float64 value. - fre, fres and fsqrte are checking for cases already taken into account by softfloat and softfloat native. Remove those useless tests. Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6083 c046a42c-6fe2-441c-8c8c-71466251a162
6c01bf6c7ba7539460fcaeb99fbe1776ba137aa8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6c01bf6c7ba7539460fcaeb99fbe1776ba137aa8
2008-12-18 22:42:23+00:00
Add -rtc-td-hack option to fix time drift with RTC on Windows (Gleb Natapov) After my last patch to fix interrupt coalescing was rejected on the basis that it is too intrusive we decided to make the fix much more localized and only fix the problem for RTC time source. Unfortunately it is impossible to fix the problem entirely inside RTC code like Andrzej proposed since Windows reads RTC register C more then once on each time interrupt so it is impossible to count reliably how many interrupt windows actually handled. Proposed solution is localized to I386 target and is disabled by default. To enable it "-rtc-td-hack" flag should be used. Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6320 c046a42c-6fe2-441c-8c8c-71466251a162
73822ec806bc8459047b6e9dea71d675c283a84c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/73822ec806bc8459047b6e9dea71d675c283a84c
2009-01-15 20:11:34+00:00
kvm: sync vcpu state during initialization (Hollis Blanchard) Currently on x86, qemu initializes CPUState but KVM ignores it and does its own vcpu initialization. However, PowerPC KVM needs to be able to set the initial register state to support the -kernel and -append options. Signed-off-by: Hollis Blanchard <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6060 c046a42c-6fe2-441c-8c8c-71466251a162
f5d6f51ba66aad038f1bc4436582761015838438
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f5d6f51ba66aad038f1bc4436582761015838438
2008-12-15 22:20:42+00:00
Enable same-arch consistency check on x86-64, print syscall name on error. Also disable testing instructions unsupported by 64-bit binutils in test-i386.c git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5277 c046a42c-6fe2-441c-8c8c-71466251a162
872ea0c098f63a36de8c49eb2cf348cd111292b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/872ea0c098f63a36de8c49eb2cf348cd111292b9
2008-09-21 02:31:19+00:00
better type checking for vga (Glauber Costa) unsigned long is too bad of a type. Use ram_addr_t instead. aligurori: fixed a compile warning in this patch Signed-off-by: Glauber Costa <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5790 c046a42c-6fe2-441c-8c8c-71466251a162
4efe27556dea874030f1cd53a6d70452ee064fba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4efe27556dea874030f1cd53a6d70452ee064fba
2008-11-24 19:33:59+00:00
Use C99 initializers git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4996 c046a42c-6fe2-441c-8c8c-71466251a162
66de733bdb37a7542e5313c18f44d99d5faf6cb7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/66de733bdb37a7542e5313c18f44d99d5faf6cb7
2008-08-12 15:51:09+00:00
Register only valid register access widths git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3881 c046a42c-6fe2-441c-8c8c-71466251a162
7c560456707bfe53eb1728fcde759be7d9418b62
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7c560456707bfe53eb1728fcde759be7d9418b62
2008-01-01 17:06:38+00:00