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
hw/sun4u.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]>
e8b36ba92e0394815b64d96b00e81db3c851f6e2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8b36ba92e0394815b64d96b00e81db3c851f6e2
2011-06-12 10:33:36+03:00
scsi: fix tracing of scsi requests with simple backend The simple backend only supports a maximum of 6 arguments. Split the scsi_req_parsed event in two parts to cope with the limit. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
d800040fb47fe4500d1f8bf604b9fd129bda9419
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d800040fb47fe4500d1f8bf604b9fd129bda9419
2011-06-05 15:05:35+00:00
Redirect cpu_interrupt to callback handler This allows to override the interrupt handling of QEMU in system mode. KVM will make use of it to set a specialized handler. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
ec6959d0466fb240fe4d94d5f525eebf9ba18b84
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ec6959d0466fb240fe4d94d5f525eebf9ba18b84
2011-05-02 09:38:35-03:00
report serial devices created with -device in the PIIX4 config space Serial and parallel devices created with -device are not reported in the PIIX4 configuration space, and are hence not picked up by the DSDT. This upsets Windows, which hides them altogether from the guest. To avoid this, check at the end of machine initialization whether the corresponding I/O ports have been registered. The new function in ioport.c does this; this also requires a tweak to isa_unassign_ioport. I left the comment in piix4_pm_initfn since the registers I moved do seem to match the 82371AB datasheet. There are some quirks though. We are setting this bit: "Device 8 EIO Enable (EIO_EN_DEV8)—R/W. 1=Enable PCI access to the device 8 enabled I/O ranges to be claimed by PIIX4 and forwarded to the ISA/EIO bus. 0=Disable. The LPT_MON_EN must be set to enable the decode." but not LPT_MON_EN (bit 18 at 50h): LPT Port Enable (LPT_MON_EN)—R/W. 1=Enable accesses to parallel port address range (LPT_DEC_SEL) to generate a device 8 (parallel port) decode event. 0=Disable. We're also setting the LPT_DEC_SEL field (that's the 0x60 written to 63h) to 11, which means reserved, rather than to 01 (378h-37Fh). Likewise we're not setting SA_MON_EN, SB_MON_EN (respectively bit 14 and bit 16 at address 50h) for the serial ports. However, we're setting COMA_DEC_SEL and COMB_DEC_SEL correctly, unlike the corresponding register for the parallel port. All these fields are left as they are, since they are probably only meant to be used in the DSDT. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
6141dbfe0a595076310f690ec8db84ad5be2cde5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6141dbfe0a595076310f690ec8db84ad5be2cde5
2011-07-23 10:56:55-05:00
target-arm: Simplify three-register pairwise code Since we know that the case of (pairwise && q) has been caught earlier, we can simplify the register setup code for each pass in the three-register-same-size Neon loop. Signed-off-by: Juha Riihimäki <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
a5a14945da2c9ea8903c69af22274c33ad9488f7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a5a14945da2c9ea8903c69af22274c33ad9488f7
2011-04-12 21:51:51+02:00
target-arm: Use new softfloat min/max functions for VMAX, VMIN Use the new softfloat min/max functions to implement the Neon VMAX and VMIN instructions. This allows us to get the right behaviour for NaN and negative zero. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
4a9f9cb24de52e93aae7539a004dd20314ca1c0c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4a9f9cb24de52e93aae7539a004dd20314ca1c0c
2011-04-03 17:19:38+02:00
fix linuxboot.bin and multiboot.bin to not hijack int19 Currently linuxboot.bin and multiboot.bin option roms override int19 vector to intercept boot process. No sane option rom should do that. Provide bev entry instead that will be called by BIOS if option rom is selected for booting. Signed-off-by: Gleb Natapov <[email protected]> Acked-by: Alexander Graf <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
75b9f69057b166876a0c33d5fd86aa59ccfd3812
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/75b9f69057b166876a0c33d5fd86aa59ccfd3812
2011-03-22 07:00:58+01:00
add a generic scaling mechanism for timers This enables rt_clock timers to use nanosecond resolution, just by using the _ns functions; there is really no reason to forbid that. Migrated timers are all using vm_clock (of course; but I checked that anyway) so the timers in the savevm files are already in nanosecond resolution. So this patch makes no change to the migration format. Signed-off-by: Paolo Bonzini <[email protected]>
4a998740b22aa673ea475060c787da7c545588cf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4a998740b22aa673ea475060c787da7c545588cf
2011-03-21 09:23:23+01:00
block: Do not cache device size for removable media The block layer caches the device size to avoid doing lseek(fd, 0, SEEK_END) every time this value is needed. For removable media the device size becomes stale if a new medium is inserted. This patch simply prevents device size caching for removable media. A smarter solution is to update the cached device size when a new medium is inserted. Given that there are currently bugs with CD-ROM media change I do not want to implement that approach until we've gotten things correct first. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
46a4e4e6085c1e5ae498e350009ff6d321d9ee67
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/46a4e4e6085c1e5ae498e350009ff6d321d9ee67
2011-04-07 13:51:47+02:00
exit round-robin vcpu loop if cpu->stopped is true Sometimes vcpus are stopped directly without going through ->stop = 1. Exit the VCPU execution loop in this case as well. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
df646dfd56332a5313feac75d6d168e4c78cf404
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/df646dfd56332a5313feac75d6d168e4c78cf404
2011-03-13 14:44:21+00:00
target-arm: Move Neon VUZP 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 fix the handling of the quadword version of the instruction. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
02acedf93da420713a0c4bbeaf32ce9d734a4332
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/02acedf93da420713a0c4bbeaf32ce9d734a4332
2011-02-20 17:31:52+01:00
change all other clock references to use nanosecond resolution accessors This was done with: sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \ $(git grep -l 'qemu_get_clock\>' ) sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \ $(git grep -l 'qemu_new_timer\>' ) after checking that get_clock and new_timer never occur twice on the same line. There were no missed occurrences; however, even if there had been, they would have been caught by the compiler. There was exactly one false positive in qemu_run_timers: - current_time = qemu_get_clock (clock); + current_time = qemu_get_clock_ns (clock); which is of course not in this patch. Signed-off-by: Paolo Bonzini <[email protected]>
74475455442398a64355428b37422d14ccc293cb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/74475455442398a64355428b37422d14ccc293cb
2011-03-21 09:23:23+01:00
checkpatch: Fix bracing false positives on #else Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
789f88d0b21fedfd4251d56bb7a9fbfbda7a4ac7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/789f88d0b21fedfd4251d56bb7a9fbfbda7a4ac7
2011-01-21 17:32:45+00:00
audio: Use GCC_FMT_ATTR (format checking) Cc: Blue Swirl <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
ab9de3692e34dc874ce44c7905590ef98445ce33
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ab9de3692e34dc874ce44c7905590ef98445ce33
2010-12-04 20:51:18+00:00
pulseaudio: process 1/4 buffer max at once Limit the size of data pieces processed by the pulseaudio worker threads. Never ever process more than 1/4 of the buffer at once. Background: The buffer area currently processed by the pulseaudio thread is blocked, i.e. the main thread (or iothread) can't fill in more data there. The buffer processing time is roughly real-time due to the pa_simple_write() call blocking when the output queue to the pulse server is full. Thus processing big chunks at once means blocking a large part of the buffer for a long time. This brings high latency and can lead to dropouts. When processing the buffer in smaller chunks the rpos handling becomes a problem though. The thread reads hw->rpos without knowing whenever qpa_run_out has already seen the last (small) chunk processed and updated rpos accordingly. There is no point in reading hw->rpos though, pa->rpos can be used instead. We just need to take care to initialize pa->rpos before kicking the thread. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: malc <[email protected]>
6315633b2535dc82dc1b3403f884b81e26b4c72c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6315633b2535dc82dc1b3403f884b81e26b4c72c
2011-01-25 19:56:35+03:00
virtio-9p: Check the return value of llistxattr. If llistxattr returned 0, qemu aborts. Signed-off-by: Kusanagi Kouichi <[email protected]> Signed-off-by: Venkateswararao Jujjuri <[email protected]>
0562c67432991d1cee442615d70fd39e638bec71
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0562c67432991d1cee442615d70fd39e638bec71
2010-12-02 16:08:27-08:00
QMP: Introduce Human Monitor passthrough command This command allows QMP clients to execute HMP commands. Please, check the documentation added to the qmp-commands.hx file for additional details about the interface and its limitations. Signed-off-by: Luiz Capitulino <[email protected]>
0268d97c51207f35a5a01239ad92ef2c35dcd5ba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0268d97c51207f35a5a01239ad92ef2c35dcd5ba
2010-11-17 09:52:24-02:00
vnc: Fix password expiration through 'change vnc ""' (v2) commit 52c18be9e99dabe295321153fda7fce9f76647ac introduced a regression in the change vnc password command that changed the behavior of setting the VNC password to an empty string from disabling login to disabling authentication. This commit refactors the code to eliminate this overloaded semantics in vnc_display_password and instead introduces the vnc_display_disable_login. The monitor implementation then determines the behavior of an empty or missing string. Recently, a set_password command was added that allows both the Spice and VNC password to be set. This command has not shown up in a release yet so the behavior is not yet defined. This patch proposes that an empty password be treated as an empty password with no special handling. For specifically disabling login, I believe a new command should be introduced instead of overloading semantics. I'm not sure how Spice handles this but I would recommend that we have Spice and VNC have consistent semantics here for the 0.14.0 release. Reported-by: Neil Wilson <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> --- v1 -> v2 - Add a proper return to make sure that login is really disabled instead of relying on the VNC server to treat empty passwords specially
1cd20f8bf0ecb9d1d1bd5e2ffab3b88835380c9b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1cd20f8bf0ecb9d1d1bd5e2ffab3b88835380c9b
2011-02-01 15:16:48-06:00
linux-user: initialize mmap_mutex properly We initialize mmap_mutex in any child threads/processes, but we need to correctly statically initialize it for the original process. Signed-off-by: Nathan Froyd <[email protected]> Signed-off-by: Riku Voipio <[email protected]>
df377d0354b8572bd448e85afae72d43d6e071ab
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/df377d0354b8572bd448e85afae72d43d6e071ab
2009-06-16 16:58:45+03:00
configure: Send error message from spice check to /dev/null pkg-config is not always available (e.g. on win32 hosts), but we don't want to see the 'command not found' error message. Redirect stdout and stderr to /dev/null. v2: * Removed changes which should not have been here. Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
ba80782912293c9b9828d0cf406f90b76bf4f61b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ba80782912293c9b9828d0cf406f90b76bf4f61b
2010-10-09 08:23:02+00:00
exec: remove code duplication in qemu_ram_alloc() and qemu_ram_alloc_from_ptr() Since most of the code in qemu_ram_alloc() and qemu_ram_alloc_from_ptr() are duplicated, let qemu_ram_alloc_from_ptr() to switch by checking void *host, and change qemu_ram_alloc() to a wrapper. Signed-off-by: Yoshiaki Tamura <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
6977dfe6af975d72a8140dbc91effe8b8f2a58f8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6977dfe6af975d72a8140dbc91effe8b8f2a58f8
2010-08-22 16:19:00-05:00
virtio-serial: Check if more max_ports specified than we can handle Currently virtio-serial supports a maximum of 31 ports. Specifying the 'max_ports' parameter to be > 31 on the cmd line causes badness. Ensure we initialise virtio-serial only if max_ports is within the supported range. Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
5ab4bb598d3f58542a06a6946f04b140be222892
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5ab4bb598d3f58542a06a6946f04b140be222892
2010-07-30 22:59:55+02:00
target-ppc: fix power mode checking on 7400/7410 Only the PowerPC 7440/7450 family don't support DOZE mode. PowerPC 7400 and 7410 support it.
488243b0e9126daa5f1e7fb2e97717b66a977517
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/488243b0e9126daa5f1e7fb2e97717b66a977517
2010-07-19 00:33:29+02:00
virtio-pci: Use ioeventfd for virtqueue notify Virtqueue notify is currently handled synchronously in userspace virtio. This prevents the vcpu from executing guest code while hardware emulation code handles the notify. On systems that support KVM, the ioeventfd mechanism can be used to make virtqueue notify a lightweight exit by deferring hardware emulation to the iothread and allowing the VM to continue execution. This model is similar to how vhost receives virtqueue notifies. The result of this change is improved performance for userspace virtio devices. Virtio-blk throughput increases especially for multithreaded scenarios and virtio-net transmit throughput increases substantially. Some virtio devices are known to have guest drivers which expect a notify to be processed synchronously and spin waiting for completion. For virtio-net, this also seems to interact with the guest stack in strange ways so that TCP throughput for small message sizes (~200bytes) is harmed. Only enable ioeventfd for virtio-blk for now. Care must be taken not to interfere with vhost-net, which uses host notifiers. If the set_host_notifier() API is used by a device virtio-pci will disable virtio-ioeventfd and let the device deal with host notifiers as it wishes. Finally, there used to be a limit of 6 KVM io bus devices inside the kernel. On such a kernel, don't use ioeventfd for virtqueue host notification since the limit is reached too easily. This ensures that existing vhost-net setups (which always use ioeventfd) have ioeventfds available so they can continue to work. After migration and on VM change state (running/paused) virtio-ioeventfd will enable/disable itself. * VIRTIO_CONFIG_S_DRIVER_OK -> enable virtio-ioeventfd * !VIRTIO_CONFIG_S_DRIVER_OK -> disable virtio-ioeventfd * virtio_pci_set_host_notifier() -> disable virtio-ioeventfd * vm_change_state(running=0) -> disable virtio-ioeventfd * vm_change_state(running=1) -> enable virtio-ioeventfd Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
25db9ebe15125deb32958c6df74996f745edf1f9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/25db9ebe15125deb32958c6df74996f745edf1f9
2011-01-10 14:44:16+02:00
QMP: Fix python helper /wrt long return strings Remove the arbitrary limitation of 1024 characters per return string and read complete lines instead. Required for device_show. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
bbafc7a8798bc9ed1380e75033544e0614d344c7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bbafc7a8798bc9ed1380e75033544e0614d344c7
2010-07-01 14:27:13-03:00
target-i386: fix decoding of negative 4-byte displacements Negative four byte displacements need to be sign-extended after c086b783eb7a578993d6d2ab62c4c2666800b63d. Do so. Signed-off-by: Paolo Bonzini <[email protected]> Acked-by: Richard Henderson <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
8c0e6340fb53cb3f94c0f43abb19eb485f30840e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8c0e6340fb53cb3f94c0f43abb19eb485f30840e
2010-06-04 19:48:53+00:00
Revert "Avoid page_set_flags() assert in qemu-user host page protection code" This reverts commit 01c0bef1625d8e5d6d5c6abaf413214d667615ad. (breaks build on 32-bit hosts)
fd43690777b19e5072f6be22eba17c0894af9e73
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd43690777b19e5072f6be22eba17c0894af9e73
2010-04-10 17:20:36+02:00
pci: irq_state vmstate breakage Code for saving irq_state got vm_state macros wrong, passing in the wrong parameter. As a result, we both saved a wrong value and restored it to a wrong offset. This leads to device and bus irq counts getting out of sync, which in turn leads to interrupts getting lost or never cleared, such as https://bugzilla.redhat.com/show_bug.cgi?id=588133 Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Juan Quintela <[email protected]>
c3f8f61157625d0bb5bfc135047573de48fdc675
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c3f8f61157625d0bb5bfc135047573de48fdc675
2010-05-12 02:02:03+03:00
QMP: Move RESET event into qemu_system_reset() Nothing will change as that function is currently only called by the main loop code, but it's the right place for the RESET event, as it's where the reset is actually performed. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
0ee442502bc8af7fe1679ccf775e54fcf62dd8ac
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0ee442502bc8af7fe1679ccf775e54fcf62dd8ac
2010-03-08 11:30:08-06:00
Fix last page errors in page_check_range and page_set_flags. The addr < end comparison prevents iterating over the last page in the guest address space; an iteration based on length avoids this problem. At the same time, assert that the given address is in the guest address space. Signed-off-by: Richard Henderson <[email protected]>
376a790970de7e84170ee9360b6ff53ecfa4a1be
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/376a790970de7e84170ee9360b6ff53ecfa4a1be
2010-03-12 16:31:32+00:00
block: Cache total_sectors to reduce bdrv_getlength calls The BlockDriver bdrv_getlength function is called from the I/O code path when checking that the request falls within the device. Unfortunately this involves an lseek system call in the raw protocol; every read or write request will incur this lseek cost. Jan Kiszka <[email protected]> identified this issue and its latency overhead. This patch caches device length in the existing total_sectors variable so lseek calls can be avoided for fixed size devices. Growable devices fall back to the full bdrv_getlength code path because I have not added logic to detect extending the size of the device in a write. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
51762288b41f59d027073c404a29256fc4d4540e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/51762288b41f59d027073c404a29256fc4d4540e
2010-05-03 10:07:32+02:00
Count dirty blocks and expose an API to get dirty count This will manage dirty counter for each device and will allow to get the dirty counter from above. Signed-off-by: Liran Schour <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
aaa0eb75e2e56d483c89731a447c999985713b43
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/aaa0eb75e2e56d483c89731a447c999985713b43
2010-02-09 16:56:14-06:00
virtio-9p: Implement Security model for mknod Mapped mode stores extended attributes in the user space of the extended attributes. Given that the user space extended attributes are available to regular files only, special files are created as regular files on the fileserver and appropriate mode bits are added to the extended attributes. This method presents all special files and symlinks as regular files on the fileserver while they are represented as special files on the guest mount. On Host/Fileserver: -rw-------. 1 virfsuid virtfsgid 0 2010-05-11 09:36 afifo -rw-------. 1 virfsuid virtfsgid 0 2010-05-11 09:32 blkdev -rw-------. 1 virfsuid virtfsgid 0 2010-05-11 09:33 chardev On Guest/Client: prw-r--r-- 1 guestuser guestuser 0 2010-05-11 12:36 afifo brw-r--r-- 1 guestuser guestuser 0, 0 2010-05-11 12:32 blkdev crw-r--r-- 1 guestuser guestuser 4, 5 2010-05-11 12:33 chardev In the passthrough securit model, specifal files are directly created on the fileserver. But the user credential Signed-off-by: Venkateswararao Jujjuri <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
1c29331248d82e5a9caaf7974756a9d8bd5cd1e5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1c29331248d82e5a9caaf7974756a9d8bd5cd1e5
2010-06-22 15:15:51-05:00
Sparc32: fix free-run timer According to Sun4M System Architecture Manual chapter 5.3.2, a limit of 0 will not generate interrupts. Signed-off-by: Blue Swirl <[email protected]>
452efba63bc4a2f1f580c96b087cbfae58b81785
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/452efba63bc4a2f1f580c96b087cbfae58b81785
2010-01-24 14:28:21+00:00
target-arm: refactor cp15.c13 register access Access the cp15.c13 TLS registers directly with TCG ops instead of with a slow helper. If the the cp15 read/write was not TLS register access, fall back to the cp15 helper. This makes accessing __thread variables in linux-user when apps are compiled with -mtp=cp15 possible. legal cp15 register to acces from linux-user are already checked in cp15_user_ok. While at it, make the cp15.c13 Thread ID registers available only on ARMv6K and newer. Signed-off-by: Riku Voipio <[email protected]>
f101cd885ec148761738638ae42f7c5162b6d445
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f101cd885ec148761738638ae42f7c5162b6d445
2010-02-05 14:50:58+02:00
target-ppc: don't print invalid opcode messages on the console Invalid opcode messages can be perfectly normal, for example if this code is never executed. Don't print an error message on the console, but keep the message in the log for debugging purposes. Signed-off-by: Aurelien Jarno <[email protected]>
6c7123212223eb7f281230e9852f011255d73582
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6c7123212223eb7f281230e9852f011255d73582
2010-02-28 16:36:44+01:00
block/bochs: improve format checking Signed-off-by: Blue Swirl <[email protected]>
ecbe1576b3287e7907b524901063a8117f544e61
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ecbe1576b3287e7907b524901063a8117f544e61
2009-12-25 19:27:18+00:00
Fix gcc 3 warning: comparison is always true due to limited range of data type Signed-off-by: Blue Swirl <[email protected]>
757506d282c3c579368055b1bf50fa4056dbe5bc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/757506d282c3c579368055b1bf50fa4056dbe5bc
2009-08-29 16:37:34+03:00
Revert "block: prevent multiwrite_merge from creating too large iovecs" This reverts commit 0076bc0c1d93adcbc7f1af184e04902cf37e9ab8. Kevin Wolf pointed out that this breaks the mingw32 build. Signed-off-by: Anthony Liguori <[email protected]>
3e39789b64b01444b6377a043894e6b9a3ba6cbb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3e39789b64b01444b6377a043894e6b9a3ba6cbb
2010-01-20 10:12:23-06:00
linux-user: fix up oversealous nitpicking Looks like linux-user code was correct, just unreadable: what it wanted to do with "-=" was really assign a negative number, not decrement. Fix up accordingly. Reported-by: Laurent Desnogues <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
22e4104079a4a92a4800d516fc1d968a3e8b8157
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/22e4104079a4a92a4800d516fc1d968a3e8b8157
2009-10-02 17:59:12+00:00
fix -daemonize with kvm Otherwise fork might not inherit state initialized by kvm_init(). Signed-off-by: Marcelo Tosatti <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
214910a7f826ca0cda328b93217e5448f76e19bf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/214910a7f826ca0cda328b93217e5448f76e19bf
2009-09-26 23:39:09+02:00
linux-user: enable tb unlinking when compiled with NPTL Fixes receiving signals when guest code is being executed in a tight loop. For an example, try interrupting the following code with ctrl-c. http://nchipin.kos.to/test-loop.c The tight loop is ofcourse brainless, but it is also exactly how the waitpid* testcases are implemented. Signed-off-by: Riku Voipio <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
f76cfe56d9bc281685c5120bf765d29d9323756f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f76cfe56d9bc281685c5120bf765d29d9323756f
2009-12-19 19:45:26+01:00
eepro100: Restructure code This patch only moves about 150 lines of code from function eepro100_cu_command to a new function action_command. A goto statement was replaced by a for loop. There are no functional changes. Nor did I change comments starting with // (they will be removed by future patches). Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
5fa9a0ae49a01536a403f38e39222c3e8cc964c5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5fa9a0ae49a01536a403f38e39222c3e8cc964c5
2009-10-27 12:28:34-05:00
Fix Sparse warning about obsolete struct initializer Signed-off-by: Blue Swirl <[email protected]>
284b08f174967179233abe8e36c5859774e4b6a3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/284b08f174967179233abe8e36c5859774e4b6a3
2009-09-21 19:50:05+00:00
Include sys-queue.h early to override system queue definitions on BSD Signed-off-by: Blue Swirl <[email protected]>
15cc9235840a22c289edbe064a9b3c19c5f49896
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/15cc9235840a22c289edbe064a9b3c19c5f49896
2009-09-12 06:19:15+00:00
net: fix coding style nit Put space between = and - assigning a negative number to avoid confusion with old-style "-=" (which we also have, and need to be fixed). Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
acedcfbf7a9a29c772f613bafac9f3430faa6347
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/acedcfbf7a9a29c772f613bafac9f3430faa6347
2009-09-30 18:56:44+00:00
Include sys-queue.h early to override system queue definitions on BSD Signed-off-by: Blue Swirl <[email protected]>
f40d753718c72693c5f520f0d9899f6e50395e94
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f40d753718c72693c5f520f0d9899f6e50395e94
2009-09-04 17:47:09+00:00
Use proper struct initializers and remove INIT_FIELD() macro Signed-off-by: Juan Quintela <[email protected]>
bee37f32d47a6c04ff57d18e01cf296607e22b30
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bee37f32d47a6c04ff57d18e01cf296607e22b30
2009-08-11 20:51:23+04:00
qemu: make virtio-blk PCI compliant by default commit bf011293faaa7f87e4de83185931e7411b794128 made virtio-blk-pci not PCI-compliant, since it makes region 0 (which is an i/o region) size > 256, and, since PCI 2.1, i/o regions are limited to 256 bytes size. When the ATA serial number feature is off, which is the default, make the device spec compliant again, by making region 0 smaller. Signed-off-by: Michael S. Tsirkin <[email protected]> Reported-by: Vadim Rozenfeld <[email protected]> Tested-by: Vadim Rozenfeld <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
711bf3d954371abffc07e397fc868a9c9e7e5585
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/711bf3d954371abffc07e397fc868a9c9e7e5585
2009-09-11 10:19:46-05:00
qdev: add no_user, alias and desc no_user: prevent users from adding certain devices. desc: description of the device. alias: to allow user friendly shortcuts on the command line, i.e. -device usbmouse instead of -device "QEMU USB Mouse" or -device lsi instead of -device lsi53c895a Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
3320e56e54021acab2d6eeb4797ddac30c2411ef
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3320e56e54021acab2d6eeb4797ddac30c2411ef
2009-07-16 17:28:52-05:00
monitor: Setup a QDict with arguments to handlers With this commit monitor_handle_command() will be able to setup a QDict with arguments to command handlers. However, the current 'args[]' method is still being used, next changes will port commands to get their arguments from the dictionary. Two changes are worth noting: 1. The '/' argument type always adds the following standard keys in the dictionary: 'count', 'format' and 'size'. This way, the argument name used in the 'args_type' string doesn't matter 2. The optional argument type '?' doesn't need to pass the additional 'has_arg' argument, hanlders can do the same check with qdict_haskey() Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
f7188bbea7aa83ff7def23f7fcd03b8fdafc6066
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f7188bbea7aa83ff7def23f7fcd03b8fdafc6066
2009-09-04 09:37:30-05:00
Let the venomous poison spread to more identifiers Signed-off-by: Blue Swirl <[email protected]>
368b90db3349ab9adfdf94e4bafd64c807b84cad
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/368b90db3349ab9adfdf94e4bafd64c807b84cad
2009-05-21 18:54:22+03:00
kvm: x86: Save/restore KVM-specific CPU states Save and restore all so far neglected KVM-specific CPU states. Handling the TSC stabilizes migration in KVM mode. The interrupt_bitmap and mp_state are currently unused, but will become relevant for in-kernel irqchip support. By including proper saving/restoring already, we avoid having to increment CPU_SAVE_VERSION later on once again. v2: - initialize mp_state runnable (for the boot CPU) Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
f8d926e9cd96e52ebcfd9ffdeab83c0d5e6b9622
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f8d926e9cd96e52ebcfd9ffdeab83c0d5e6b9622
2009-05-22 10:50:34-05:00
qemu-io: better input validation for vector-based commands Fix up a couple of issues with validating the input of the various length arguments for the vectored I/O commands: - do the alignment check on each length instead the always 0 count argument - use a long long varibale for the cvtnum return value so that we can check wether it wasn't a number - check for a too large argument instead of truncating it Also refactor it into a common helper for all four calers and avoid parsing the numbers twice. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Kevin Wolf <[email protected]>
cf57298af5336df2aece47ef16c290a3a81457dd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cf57298af5336df2aece47ef16c290a3a81457dd
2009-07-10 12:25:36-05:00
Include assert.h from qemu-common.h Include assert.h from qemu-common.h and remove other direct uses. cpu-all.h still need to include it because of the dyngen-exec.h hacks Signed-off-by: Paul Brook <[email protected]>
55616505876d6683130076b810a27c7889321560
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/55616505876d6683130076b810a27c7889321560
2009-05-13 20:54:26+01:00
serial: fix lost character after sysrq After creating an automated regression test to test the sysrq responses while running a linux image in qemu, I found that the simulated uart was eating the character right after the sysrq about 75% of the time. The problem is that the qemu sets the LSR_DR (data ready) bit on a serial break. The automated tests can send a break and the sysrq character quickly enough that the qemu serial fifo has a real character available. When there is valid character in the fifo, it gets consumed by the serial driver in the guest OS. The real hardware also appears to set the LSR_DR but always appears to have a null byte in this condition. This patch changes the qemu behavior to match the tested characteristics of a real 16550 chip. Signed-off-by: Jason Wessel <[email protected]>
40ff16248e5a7a699386ed8b7ef462af9b8af3fa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/40ff16248e5a7a699386ed8b7ef462af9b8af3fa
2009-05-22 10:50:35-05:00
Fix non-ACPI Timer Interrupt Routing (Beth Kon) Replicate ACPI irq0->inti2 override in mp table for non-acpi case. v1 -> v2 adds comment suggested by Ryan. Signed-off-by: Beth Kon <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7169 c046a42c-6fe2-441c-8c8c-71466251a162
c6d25871212c05af647eccaad6efc07a6f7a4acb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c6d25871212c05af647eccaad6efc07a6f7a4acb
2009-04-17 21:01:11+00:00
more BlockDriver C99 initializers (Christoph Hellwig) Looks like the two bdrv_raw instances were missed last time. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7018 c046a42c-6fe2-441c-8c8c-71466251a162
f1b2f712a4f059734b8eaebc0e523061387aeb26
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f1b2f712a4f059734b8eaebc0e523061387aeb26
2009-04-07 18:23:51+00:00
Allow 5 mmu indexes. This is necessary for alpha because it has 4 protection levels and pal mode. Signed-off-by: Tristan Gingold <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7028 c046a42c-6fe2-441c-8c8c-71466251a162
e37e6ee6e100ebc355b4a48ae9a7802b38b8dac0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e37e6ee6e100ebc355b4a48ae9a7802b38b8dac0
2009-04-07 21:47:27+00:00
Implement cancellation method for dma async I/O (Avi Kivity) Move the dma helpers to a private aio pool, and implement a cancellation method for them. Should prevent issues when cancelling I/O while dma is in progress. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6872 c046a42c-6fe2-441c-8c8c-71466251a162
6512a2a7106480c19183d6466a6845bc9bdf6ec0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6512a2a7106480c19183d6466a6845bc9bdf6ec0
2009-03-20 18:26:07+00:00
Disable BAT for 970 The 970 doesn't know BAT, so let's not search BATs there. This was only in as a hack for OpenHackWare so it would work on PPC64. Signed-off-by: Alexander Graf <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6759 c046a42c-6fe2-441c-8c8c-71466251a162
948559372583eb9d862d5a9b548a6e91b92426df
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/948559372583eb9d862d5a9b548a6e91b92426df
2009-03-07 20:58:30+00:00
monitor: Rework terminal management (Jan Kiszka) Remove the static MAX_MON limit by managing monitor terminals in a linked list. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6712 c046a42c-6fe2-441c-8c8c-71466251a162
871271615108fd58273423d98b7cefe08e6f75a0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/871271615108fd58273423d98b7cefe08e6f75a0
2009-03-05 23:01:29+00:00
remove is_graphic_console from vga.c (Stefano Stabellini) Hi all, since vga_draw_graphic is only called by vga_hw_update when the console associated with the graphic card is active, we don't need to check if the current console is active using is_graphic_console. I suspect I introduced these checks when the console switching mechanism didn't work as it does now. Signed-off-by: Stefano Stabellini <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6840 c046a42c-6fe2-441c-8c8c-71466251a162
b8c18e4c901edae8cc14c07baa36f852be1f1ad0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b8c18e4c901edae8cc14c07baa36f852be1f1ad0
2009-03-13 15:02:18+00:00
CRIS: Avoid endless loops for unstested CRIS cpu-state load/save. Fix several endless loops. Signed-off-by: Stefan Weil <[email protected]> Acked-by: Edgar E. Iglesias <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6679 c046a42c-6fe2-441c-8c8c-71466251a162
d488ddd8352e1e25f13e9c1f644dd1d7ebc0b342
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d488ddd8352e1e25f13e9c1f644dd1d7ebc0b342
2009-03-03 18:07:11+00:00
block: Introduce bdrv_get_encrypted_filename (Jan Kiszka) Introduce bdrv_get_encrypted_filename service to allow more informative password prompting. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6704 c046a42c-6fe2-441c-8c8c-71466251a162
045df33021d11bba6ed6a9caec37f68d0c615ca1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/045df33021d11bba6ed6a9caec37f68d0c615ca1
2009-03-05 23:00:48+00:00
MTRR support on x86, part 2 (Carl-Daniel Hailfinger) Load and save MTRR state together with machine state. Add support for the MTRRcap MSR which is used by the latest Bochs BIOS and some operating systems. Fix a typo in ext2_feature_name. With this patch, MTRR emulation should be good enough to not trigger any sanity checks in well behaved BIOS/kernel code. Some corner cases for BIOS/firmware usage remain to be implemented, but that can be deferred to another patch. Also, MTRR accesses on hardware not supporting MTRRs should cause #GP. That can be enforced by another patch as well. Signed-off-by: Carl-Daniel Hailfinger <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6472 c046a42c-6fe2-441c-8c8c-71466251a162
dd5e3b1771b7c528690f2c0714c8e88be07c9bc2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dd5e3b1771b7c528690f2c0714c8e88be07c9bc2
2009-01-29 17:02:17+00:00
qemu: initialize hot add system / acpi gpe (Marcelo Tosatti) ACPI GPE support, used by PCI (and CPU) hotplug. From: Glauber Costa <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6607 c046a42c-6fe2-441c-8c8c-71466251a162
5e3cb5347e9b650bdf8015da3c310b2669219294
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5e3cb5347e9b650bdf8015da3c310b2669219294
2009-02-11 15:21:35+00:00
Darwin: Check for x86_64 only on i386 The sysctl variable if we're 64-bit capable only exists on i386. So we should only check it if we're on i386. This suppresses a warning on PowerPC spotted by Andreas Faerber. Signed-off-by: Alexander Graf <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6640 c046a42c-6fe2-441c-8c8c-71466251a162
aab8588a5da73490b8383d0b7fa74d1fdc47a58e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/aab8588a5da73490b8383d0b7fa74d1fdc47a58e
2009-02-23 14:11:10+00:00
add virtio-console initializer for powerpc (Christian Ehrhardt) This adds an intialization of virtio console for powerpc. Signed-off-by: Christian Ehrhardt <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6319 c046a42c-6fe2-441c-8c8c-71466251a162
5fc1503efc552e0ae0d9fec070d5784f51fce6b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5fc1503efc552e0ae0d9fec070d5784f51fce6b9
2009-01-15 20:08:19+00:00
Fix CPUID ext2 features masking (Avi Kivity) Typo. Exposes rdtscp which kills some guests. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5717 c046a42c-6fe2-441c-8c8c-71466251a162
57003085037f554de82327cbc34105cda1942892
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/57003085037f554de82327cbc34105cda1942892
2008-11-13 19:28:04+00:00
target-ppc: PowerPC 440EP SoC emulation Wire up the system-on-chip devices present on 440EP chips. This patch is a little unusual in that qemu doesn't actually emulate the 440 core, but we use this board code with KVM (which does). If/when 440 core emulation is supported, the kvm_enabled() hack can be removed. Signed-off-by: Hollis Blanchard <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6066 c046a42c-6fe2-441c-8c8c-71466251a162
75dd595b2e5130b0d2b35c41ea476c640b6a5fe0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/75dd595b2e5130b0d2b35c41ea476c640b6a5fe0
2008-12-16 10:44:06+00:00
Reject invalid audio drivers git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4906 c046a42c-6fe2-441c-8c8c-71466251a162
e4c63a6a774025b14c07da8c8eb0c87ab96f8a90
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e4c63a6a774025b14c07da8c8eb0c87ab96f8a90
2008-07-19 16:15:16+00:00
Force screen resize if no buffer set (Avi Kivity). This is a hack to get screen_dump to work, we should start using a global screen_dump method. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4903 c046a42c-6fe2-441c-8c8c-71466251a162
3bba22de7cb9631452dad492c907affce6a69a3b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3bba22de7cb9631452dad492c907affce6a69a3b
2008-07-19 14:09:20+00:00
pcnet: add loopback mode emulation This patch enhances the pcnet NIC emulation with better loopback mode support, including CRC generation for looped-back packets in "raw" mode. The patch has practically no impact on the normal RX and TX path. Successfully tested against an ancient proprietary pcnet driver that does a lot of hardware checks on boot-up and now works fine over qemu as well. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5135 c046a42c-6fe2-441c-8c8c-71466251a162
89b190a2bb82b1226b5cc05846e9a063c0d0efa3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/89b190a2bb82b1226b5cc05846e9a063c0d0efa3
2008-09-02 16:18:46+00:00
Make sure we flush cached blocks from the tb-jmp-cache when we replace valid tlb entries. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4352 c046a42c-6fe2-441c-8c8c-71466251a162
5c751e99c3ed3bbbf4610f64141fe4c00e843b71
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5c751e99c3ed3bbbf4610f64141fe4c00e843b71
2008-05-06 08:44:21+00:00
Add PowerPC power-management state check callback. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3441 c046a42c-6fe2-441c-8c8c-71466251a162
cd346349b45ef056f138a184f660b8c34c3213cc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cd346349b45ef056f138a184f660b8c34c3213cc
2007-10-25 23:27:04+00:00
Register io ports as selected by PCI config in VMware SVGA. Should prevent segfaults with RTL8139. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3905 c046a42c-6fe2-441c-8c8c-71466251a162
1492a3c467c5f8659ded7ef5383514f8264f8aa0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1492a3c467c5f8659ded7ef5383514f8264f8aa0
2008-01-14 01:52:52+00:00
Implement PowerPC 64 SLB invalidation helpers. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3391 c046a42c-6fe2-441c-8c8c-71466251a162
eacc324914c2dc7aecec3b4ea920252b685b5c8e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/eacc324914c2dc7aecec3b4ea920252b685b5c8e
2007-10-14 09:06:19+00:00
Properly implement non-execute bit on PowerPC segments and PTEs. Fix page protection bits for PowerPC 64 MMU. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3395 c046a42c-6fe2-441c-8c8c-71466251a162
b227a8e9aa5f27d29f77ba90d5eb9d0662a1175e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b227a8e9aa5f27d29f77ba90d5eb9d0662a1175e
2007-10-14 10:21:20+00:00
Do not allow PowerPC CPU restart after entering checkstop mode. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3388 c046a42c-6fe2-441c-8c8c-71466251a162
e63ecc6f68d5f9349683aef5d74e36137eafb72d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e63ecc6f68d5f9349683aef5d74e36137eafb72d
2007-10-14 08:48:23+00:00
Prevent segfaulting when -clock is specified multiple times. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3181 c046a42c-6fe2-441c-8c8c-71466251a162
e2b577e5e548b58740ed5b1d9d12015cb7b233ff
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e2b577e5e548b58740ed5b1d9d12015cb7b233ff
2007-09-17 21:25:20+00:00
PL110 versatile register hack fix (Adam Lackorzynski). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3036 c046a42c-6fe2-441c-8c8c-71466251a162
64075cd76a1d78f37e4e436bd1e7d2376f6bd7c9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/64075cd76a1d78f37e4e436bd1e7d2376f6bd7c9
2007-06-30 14:07:13+00:00
Configure check for alsa, by Bernhard Fischer. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2299 c046a42c-6fe2-441c-8c8c-71466251a162
8f28f3fbbe1116c5f4f11ebf4167a770032e2606
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8f28f3fbbe1116c5f4f11ebf4167a770032e2606
2007-01-05 21:25:54+00:00
Solaris SMBD hacks (Ben Taylor). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2276 c046a42c-6fe2-441c-8c8c-71466251a162
a14d6c8c65f4caa6f61030fcfd3df6f108919d44
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a14d6c8c65f4caa6f61030fcfd3df6f108919d44
2006-12-23 15:37:33+00:00
qed: protect table cache with CoMutex This makes the driver thread-safe. The CoMutex is dropped temporarily while accessing the data clusters or the backing file. Signed-off-by: Paolo Bonzini <[email protected]> Message-Id: <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Fam Zheng <[email protected]> Signed-off-by: Fam Zheng <[email protected]>
1f01e50b8330c24714ddca5841fdbb703076b121
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1f01e50b8330c24714ddca5841fdbb703076b121
2017-07-17 11:34:11+08:00
fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() PC will use this field in other way, so move it outside the common code so PC could set a different value, i.e. all CPUs regardless of where they are coming from (-smp X | -device cpu...). It's quick and dirty hack as it could be implemented in more generic way in MashineClass. But do it in simple way since only PC is affected so far. Later we can generalize it when another affected target gets support for -device cpu. Signed-off-by: Igor Mammedov <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eduardo Habkost <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
5836d16812cda6b93380632802d56411972e3148
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5836d16812cda6b93380632802d56411972e3148
2016-11-16 12:09:58-02:00
microblaze: boot.c: Don't try to find NULL file Previously if no device tree was passed to microblaze_load_kernel() then qemu_find_file() would try to find a NULL pointer. To avoid this put a check around qemu_find_file(). Signed-off-by: Alistair Francis <[email protected]> Reported-by: Peter Maydell <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Edgar E. Iglesias <[email protected]>
d4c6d3600beab8b976f373f6e5b68066e9b9fdaa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d4c6d3600beab8b976f373f6e5b68066e9b9fdaa
2018-01-26 11:09:02+01:00
My core2duo patch introduced a vague statement of "missing features" in the CPUID specification. This patch addresses this by specifying exactly what is missing. While going along the missing CPUID entries I also stumbled across invalid and missing CPUID #defines while comparing them to the Intel Documentation. This patch also addresses these. I found them too minor to split them up in a separate patch. Furthermore I looked through CPUID functions > 5 and realized that it should be safe to bump the level to 10. I tried booting Linux with that and it worked fine. Signed-off-by: Alexander Graf <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5350 c046a42c-6fe2-441c-8c8c-71466251a162
558fa8361bc3e35fce73448c0b45e9d85ab59130
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/558fa8361bc3e35fce73448c0b45e9d85ab59130
2008-09-29 13:55:36+00:00
sdhci: fix CAPAB/MAXCURR registers, both are 64bit and read-only running qtests: $ make check-qtest-arm GTESTER check-qtest-arm SDHC rd_4b @0x44 not implemented SDHC wr_4b @0x40 <- 0x89abcdef not implemented SDHC wr_4b @0x44 <- 0x01234567 not implemented Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
5efc9016e52596ec054b19bb0ae1d274f77f2a2b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5efc9016e52596ec054b19bb0ae1d274f77f2a2b
2018-01-16 13:28:20+00:00
xlnx-zynqmp-pmu: Initial commit of the ZynqMP PMU The Xilinx ZynqMP SoC has two main processing systems in it. The ARM processing system (which is already modeled in QEMU) and the MicroBlaze Power Management Unit (PMU). This is the inital work for adding support for the PMU. The PMU susbsystem runs along side the ARM system on hardware, but due to architecture limitations in QEMU the two instances are seperate for the time being. Let's follow the same setup we do with the ARM system, where there is an SoC device and a ZCU102 board. Although the PMU is less board specific we are still going to follow the same split as maybe in future we can connect the PMU device to the ARM ZCU102 board. As the machine will be fairly small let's keep them both together in one file. Signed-off-by: Alistair Francis <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Edgar E. Iglesias <[email protected]>
4690bf4e9a4005161afd5a4a8caeb8e24c7dbc76
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4690bf4e9a4005161afd5a4a8caeb8e24c7dbc76
2018-01-26 11:09:09+01:00
migration: add blocktime calculation into migration-test This patch just requests blocktime calculation, and check it in case when UFFD_FEATURE_THREAD_ID feature is set on the host. Reviewed-by: Dr. David Alan Gilbert <[email protected]> Signed-off-by: Alexey Perevalov <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
5f32dc8ee073d250abd9e8915f6884ba20d5de62
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5f32dc8ee073d250abd9e8915f6884ba20d5de62
2018-01-15 12:48:02+01:00
tpm-passthrough: make it safer to destroy after creation Check fds values before closing, to avoid close(-1). Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Stefan Berger <[email protected]> Signed-off-by: Stefan Berger <[email protected]>
8df4d8484f607d4973e66e93f2eba0b3f80c4238
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8df4d8484f607d4973e66e93f2eba0b3f80c4238
2017-12-14 23:39:14-05:00
tpm_tis: remove TPMSizeBuffer usage Remove usage of TPMSizeBuffer. The size of the buffers is limited now by s->be_buffer_size, which is the size of the buffer the TIS has negotiated with the backend. Signed-off-by: Stefan Berger <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]>
e6b703f6c7a88f84c62d9b8335ee8f451caa9bda
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e6b703f6c7a88f84c62d9b8335ee8f451caa9bda
2017-12-22 09:01:09-05:00
tcx: use tcx_set_dirty() for accelerated ops Rather than calling memory_region_set_dirty() directly, make sure that we call tcx_set_dirty() instead. This ensures that the 24-bit plane and cplane are also invalidated correctly. Signed-off-by: Mark Cave-Ayland <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]>
973945804d95878375b487c0c5c9b2556c5e4543
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/973945804d95878375b487c0c5c9b2556c5e4543
2017-04-21 09:02:04+01:00
qemu-img: Change check_empty_sectors() to byte-based Continue on the quest to make more things byte-based instead of sector-based. Signed-off-by: Eric Blake <[email protected]> Reviewed-by: John Snow <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
c41508edc68aefb784c3b750bbbff472eca1a3c5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c41508edc68aefb784c3b750bbbff472eca1a3c5
2017-10-26 14:45:57+02:00
qemu-img: Change compare_sectors() to be byte-based In the continuing quest to make more things byte-based, change compare_sectors(), renaming it to compare_buffers() in the process. Note that one caller (qemu-img compare) only cares about the first difference, while the other (qemu-img rebase) cares about how many consecutive sectors have the same equal/different status; however, this patch does not bother to micro-optimize the compare case to avoid the comparisons of sectors beyond the first mismatch. Both callers are always passing valid buffers in, so the initial check for buffer size can be turned into an assertion. Signed-off-by: Eric Blake <[email protected]> Reviewed-by: John Snow <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
dc61cd3b144151024a247a109f360d2e2cab0f81
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc61cd3b144151024a247a109f360d2e2cab0f81
2017-10-26 14:45:57+02:00
hw/display/tc6393xb: limit irq handler index to TC6393XB_GPIOS The ctz32() routine could return a value greater than TC6393XB_GPIOS=16, because the device has 24 GPIO level bits but we only implement 16 outgoing lines. This could lead to an OOB array access. Mask 'level' to avoid it. Reported-by: Moguofang <[email protected]> Signed-off-by: Prasad J Pandit <[email protected]> Message-id: [email protected] Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
d6c3768b32277559cf6424bdf1edfee1fbf9a970
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d6c3768b32277559cf6424bdf1edfee1fbf9a970
2017-12-13 17:59:26+00:00
tpm: remove unnecessary #ifdef CONFIG_TPM Makefile.objs now checks for $(CONFIG_TPM). Suggested-by: Stefan Berger <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Stefan Berger <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Stefan Berger <[email protected]>
3fdde7e0ac72a9c65b96750aa61a66aec86bbf2c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3fdde7e0ac72a9c65b96750aa61a66aec86bbf2c
2017-10-25 01:05:35-04:00
nios2: define tcg_env This should be done by all target and, since commit 53f6672bcf ("gen-icount: use tcg_ctx.tcg_env instead of cpu_env", 2017-06-30), is causing the NIOS2 target to hang. This is because the test for "should I exit to the main loop" was being done with the correct offset to the icount decrementer, but using TCG temporary 0 (the frame pointer) rather than the env pointer. Cc: [email protected] Cc: Marek Vasut <[email protected]> Reported-by: Thomas Huth <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
17bd9597be45b96ae00716b0ae01a4d11bbee1ab
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/17bd9597be45b96ae00716b0ae01a4d11bbee1ab
2017-10-16 18:03:52+02:00
target/i386: trap on instructions longer than >15 bytes Besides being more correct, arbitrarily long instruction allow the generation of a translation block that spans three pages. This confuses the generator and even allows ring 3 code to poison the translation block cache and inject code into other processes that are in guest ring 3. This is an improved (and more invasive) fix for commit 30663fd ("tcg/i386: Check the size of instruction being translated", 2017-03-24). In addition to being more precise (and generating the right exception, which is #GP rather than #UD), it distinguishes better between page faults and too long instructions, as shown by this test case: #include <sys/mman.h> #include <string.h> #include <stdio.h> int main() { char *x = mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0); memset(x, 0x66, 4096); x[4096] = 0x90; x[4097] = 0xc3; char *i = x + 4096 - 15; mprotect(x + 4096, 4096, PROT_READ|PROT_WRITE); ((void(*)(void)) i) (); } ... which produces a #GP without the mprotect, and a #PF with it. Signed-off-by: Paolo Bonzini <[email protected]>
b066c5375737ad0d630196dab2a2b329515a1d00
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b066c5375737ad0d630196dab2a2b329515a1d00
2017-10-16 18:03:53+02:00