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
kvm: x86: Fix a few coding style violations No functional changes. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
b9bec74bcb16519a876ec21cd5277c526a9b512d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b9bec74bcb16519a876ec21cd5277c526a9b512d
2011-01-21 14:05:22-02:00
Leave inner main_loop faster on pending requests If there is any pending request that requires us to leave the inner loop if main_loop, makes sure we do this as soon as possible by enforcing non-blocking IO processing. At this change, move variable definitions out of the inner loop to improve readability. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
8e1b90ecc59573c4c5e9fc4934b4e30476b43e2f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8e1b90ecc59573c4c5e9fc4934b4e30476b43e2f
2011-02-14 12:39:44-02:00
target-arm: fix vmsav6 access control Override access control checks (including execute) for mmu translation table descriptors assigned to manager domains. Signed-off-by: Juha Riihimäki <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
c0034328090880621ad8f33e03ae03599e353865
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c0034328090880621ad8f33e03ae03599e353865
2010-12-27 21:21:16+01:00
pci: fix device paths Patch a6a7005d14b3c32d4864a718fb1cb19c789f58a5 generated broken device paths. We snprintf with a length shorter than the output, so the last character is discarded and replaced by the null byte. Fix it up by snprintf to a buffer which is larger by 1 byte and then memcpy the data (without the null byte) to where we need it. Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
2991181aaa026d8b1444bfaa9c4bcd82065ba5a3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2991181aaa026d8b1444bfaa9c4bcd82065ba5a3
2011-01-19 21:18:19+02:00
pcnet: Do not receive external frames in loopback mode While not explicitly stated in the spec, it was observed on real systems that enabling loopback testing on the pcnet controller disables reception of external frames. And some legacy software relies on it, so provide this behavior. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
c1ded3dc9f2d6caeb62eb3005510837a62b795d2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c1ded3dc9f2d6caeb62eb3005510837a62b795d2
2010-11-21 09:16:57-06:00
[virtio-9p] Qemu 9p commandline options validity checks Signed-off-by: Harsh Prateek Bora <[email protected]> Signed-off-by: Venkateswararao Jujjuri <[email protected]>
9f506893a454ce24263aba49594aa953e9a52853
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9f506893a454ce24263aba49594aa953e9a52853
2010-10-20 12:10:58-05:00
HACKING: add string management rules Add string management rules, somewhat like libvirt HACKING. Signed-off-by: Blue Swirl <[email protected]>
d241f143c95861f46f7b75de96a8a3276517a14f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d241f143c95861f46f7b75de96a8a3276517a14f
2010-09-10 18:53:05+00:00
ide: Reject invalid CHS geometry drive_init() doesn't permit invalid CHS for if=ide, but that's worthless: we get it via if=none and -device. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
dce9e92834cc4f962e547cae46b73ca559d05b0c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dce9e92834cc4f962e547cae46b73ca559d05b0c
2010-07-06 17:05:50+02:00
pci: don't ignore invalid parameter for pci_register_bar(). Abort when invalid value for region_num is passed to pci_register_bar. That is caller's bug. Abort instead of silently ignoring invalid value. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
2bbb9c2f7f36d0457cda5f27d7e4422219b3acd8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2bbb9c2f7f36d0457cda5f27d7e4422219b3acd8
2010-09-13 21:03:51+02:00
vvfat: Fix segfault on write to read-only disk vvfat tries to set the readonly flag in its open function, but nowadays this is overwritted with the readonly=... command line option. Check in bdrv_write if the vvfat was opened read-only and return an error in this case. Without this check, vvfat tries to access the qcow bs, which is NULL without enabled write support. Signed-off-by: Kevin Wolf <[email protected]>
ac48e389d073bf2c8703745eef4824fabe0427ba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ac48e389d073bf2c8703745eef4824fabe0427ba
2010-09-21 15:39:42+02:00
Fix more wrong usermode virtual address types Fixes warning: CC sparc-bsd-user/exec.o /src/qemu/exec.c: In function `page_check_range': /src/qemu/exec.c:2375: warning: comparison is always true due to limited range of data type Signed-off-by: Blue Swirl <[email protected]>
338e9e6ce5a1e04f52b3c82d34bea4e836c01003
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/338e9e6ce5a1e04f52b3c82d34bea4e836c01003
2010-03-13 09:48:08+00:00
ide: Change ide_init_drive() to require valid dinfo argument IDEState members drive_serial_str and version are now left empty until an actual drive is connected. Before, they got a default value that was overwritten when a drive got connected. Doesn't matter, because they're used only while a drive is connected. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
870111c8ed95df62a101eae0acd08c84233a6341
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/870111c8ed95df62a101eae0acd08c84233a6341
2010-06-04 11:43:39+02:00
QMP: Move STOP event into do_vm_stop() I've introduced the STOP event in the main loop, this is wrong as it will be only emitted if the io thread is enabled. This fixes that by moving the STOP event to do_vm_stop(). Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
6b8f8fff78185cb260d1ca3c30352c0bf5601d36
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6b8f8fff78185cb260d1ca3c30352c0bf5601d36
2010-03-08 11:30:01-06:00
boot: remove unused boot_devices_bitmap variable In addition to removing the variable, this also renames the parse_bootdevices() function to validate_bootdevices(), as we don't need its return value anymore. Signed-off-by: Eduardo Habkost <[email protected]> Acked-by: Juan Quintela <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
4e9e9d6e0a68f1691bcdcc80601a9a1bc2954736
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4e9e9d6e0a68f1691bcdcc80601a9a1bc2954736
2010-04-10 02:10:02+02:00
virtio-blk: add topology support Export all topology information in the block config structure, guarded by a new VIRTIO_BLK_F_TOPOLOGY feature flag. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
9752c371a2f82b4fcde248dc35597f4066cd756c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9752c371a2f82b4fcde248dc35597f4066cd756c
2010-02-10 16:53:54-06:00
target-alpha: Initialize fpcr Linux, at least, disables exceptions by default. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
2edd07ef03782827245ce55ca4b3a882512ac514
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2edd07ef03782827245ce55ca4b3a882512ac514
2009-12-23 07:13:45+01:00
PPC: Uninorth config space accessor The Uninorth PCI bridge requires different layouts in its PCI config space accessors. This patch introduces a conversion function that makes it compatible with the way Linux accesses it. I also kept an OpenBIOS compatibility hack in. I think it'd be better to take small steps here and do the config space access rework in OpenBIOS later on. When that's done we can remove that hack. Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
d86f0e32c61065d670fa9b0f9a0c2a12e4c80c73
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d86f0e32c61065d670fa9b0f9a0c2a12e4c80c73
2010-02-14 16:10:54+02:00
msix: function mask support Function mask is a mandatory feature in MSIX spec so not implementing it is a spec violation. Implement. Signed-off-by: Michael S. Tsirkin <[email protected]>
5b5cb08683b6715a2aca5314168e68ff0665912b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5b5cb08683b6715a2aca5314168e68ff0665912b
2009-12-07 21:50:53+02:00
S390: Bail out without KVM Currently only the S390 KVM target works. To keep users from accidently not using KVM, let's not even initialize the machine when KVM is not used. Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
e249651ca94058547f7ae84694e82bb1ee03bc3c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e249651ca94058547f7ae84694e82bb1ee03bc3c
2009-12-18 16:39:19+01:00
block migration: Initialize remaining BlkMigState fields In case we restart a migration, submitted, read_done, transferred, and print_completion need to be reinitialized to 0. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
69d63a97a194a70d305f7d3d6b9d8f2c3c5bfbf2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/69d63a97a194a70d305f7d3d6b9d8f2c3c5bfbf2
2009-12-03 10:48:52-06:00
monitor: Introduce MONITOR_USE_CONTROL flag This flag will be set when Monitor enters "control mode", in which the output will be defined by the QEMU Monitor Protocol. This also introduces a macro to check if the flag is set. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
418173c72f2eab47a3bb76d1d379cdb215d711d0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/418173c72f2eab47a3bb76d1d379cdb215d711d0
2009-12-03 09:41:21-06:00
Make -kernel for linux work with bochsbios While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized that I was actually writing data to %es, but only set up %ds to a 32-bit segment we want to write to. So at the end of the day the data hasn't actually been copied. Oops. So here's a fix to set ES instead of DS, which makes -kernel work with BOCHS bios again (and actually makes the code do the correct thing)! Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
dc61b0dc5a24c7dac5e54a2baf9be235038aae64
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc61b0dc5a24c7dac5e54a2baf9be235038aae64
2009-12-03 15:25:58-06:00
cpu-all.h: fix cpu_get_real_ticks on mips host Fix cpu_get_real_ticks: - check should be done on __mips and not __mips_isa_rev - linux kernels >= 2.6.25 are emulating the 2 needed rdhwr functions so it's safe to use rdhwr. This is better than what's currently in but it doesn't mean it works nicely Some tests needs to be done imho Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
fea0ac23c739721264d5bcb0f87718041960a6aa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fea0ac23c739721264d5bcb0f87718041960a6aa
2009-11-24 19:51:13+01:00
eepro100: Replace sprintf by snprintf Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
41cbc23c5ca37a8b841915d7d252a02106d58b1e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/41cbc23c5ca37a8b841915d7d252a02106d58b1e
2009-09-26 23:48:17+02:00
mc145818rtc: fix saving of rtc-td hack properly upgrading the version number Signed-off-by: Juan Quintela <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
048c74c4379789d03c857cea038ec00d95b68eaf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/048c74c4379789d03c857cea038ec00d95b68eaf
2009-10-27 12:28:43-05:00
qemu: allow pulseaudio to be the default We're seeing various issues with the SDL audio backend and want to switch to the pulseaudio backend. See e.g. https://bugzilla.redhat.com/495964 https://bugzilla.redhat.com/519540 https://bugzilla.redhat.com/496627 The pulseaudio backend seems to work well, so we should allow it to be selected as the default. Signed-off-by: Mark McLoughlin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: malc <[email protected]>
1a4ea1e34d94acd82ee316a0427d9e82cf37b806
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1a4ea1e34d94acd82ee316a0427d9e82cf37b806
2009-10-13 18:14:50+04:00
kvm_arch_get_registers() shouldn't be called directly Direct call to kvm_arch_get_registers() bypass logic in cpu_synchronize_state() Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
2637c754ccdb286890ed2a8d0d1da775dbd062af
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2637c754ccdb286890ed2a8d0d1da775dbd062af
2009-09-11 11:10:09-05:00
VMState: Fix sub-structs versioning We can't check the version in a substruct, it is not stored anywhere Signed-off-by: Juan Quintela <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
fa3aad24d94a6cf894db52d83f72a399324a17bb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fa3aad24d94a6cf894db52d83f72a399324a17bb
2009-09-04 09:37:25-05:00
qemu: init all queues to NO_VECTOR value initialize vectors for all vqs to VIRTIO_NO_VECTOR rather than 0 which is a valid vector. This fixes migration which happened before driver was loaded. Signed-off-by: Michael S. Tsirkin <[email protected]> Reported-by: Amit Shah <[email protected]> Tested-by: Amit Shah <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
b8193adbda922659ba290fd9fb6ee053ee191d70
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b8193adbda922659ba290fd9fb6ee053ee191d70
2009-09-11 10:19:46-05:00
check for PR_SET_NAME being defined Depending on what glibc/kernel headers you are compiling against, PR_SET_NAME may or may not be defined. Do the right thing if PR_SET_NAME isn't defined and skip setting the process name. Signed-off-by: Nathan Froyd <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> Message-Id:
6ca8d0fd51154c37b571ea74dd0b3e7a60ab847a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6ca8d0fd51154c37b571ea74dd0b3e7a60ab847a
2009-08-10 13:11:27-05:00
this patch fixes a typo where armv4l was incorrectly spelled arm4l, preventing the correct handling of --cpu=armv4l. Laurent Signed-off-by: Laurent Desnogues <[email protected]> Signed-off-by: Andrzej Zaborowski <[email protected]>
a302c32ded4d458fead907a98d079e8fb15f7b08
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a302c32ded4d458fead907a98d079e8fb15f7b08
2009-07-18 14:23:39+02:00
allow overriding of CPUID level on command line The CPUID level determines how many CPUID leafs are exposed to the guest. Some features (like multi-core) cannot be propagated without the proper level, but guests maybe confused by bogus entries in some leafs. So add level= and xlevel= to the list of -cpu options to allow the user to override the default settings. While at it, merge unnecessary local variables into one and allow hexadecimal arguments. Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
a8a358bf35e660b1c0bf5adc5446836c6c0d1c73
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a8a358bf35e660b1c0bf5adc5446836c6c0d1c73
2009-08-27 19:33:15-05:00
sparc64: mmu bypass mode correction This Implement physical address truncation in mmu bypass mode. IMMU bypass is also active when cpu enters RED_STATE Signed-off-by: [email protected] -- Kind regards, Igor V. Kovalenko
e8807b14cc8c12c0e14c08fa396d9da043b48209
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8807b14cc8c12c0e14c08fa396d9da043b48209
2009-07-12 07:41:42+00:00
Initialize PS2 keyboard / mouse state on reset Currently only common PS2 state is initialized, leaving keyboard and mouse specific state to contain stale values. Signed-off-by: Dinesh Subhraveti <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
ef74679a810fe6858f625b9d52b68cc3fc61eb3d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ef74679a810fe6858f625b9d52b68cc3fc61eb3d
2009-07-16 17:28:51-05:00
qemu-io: add flag to mark files growable Add a -g flag to the open command and the main qemu-io command line to allow opening a file growable. This is only allowed for protocols, mirroring the limitation exposed through bdrv_file_open. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Kevin Wolf <[email protected]>
9c4bab2668e6b5a9b69f77e3533380b6fd79034e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9c4bab2668e6b5a9b69f77e3533380b6fd79034e
2009-07-10 12:25:36-05:00
target-ppc: expose cpu capability flags Do this so other pieces of code can make decisions based on the capabilities of the CPU we're emulating. Signed-off-by: Nathan Froyd <[email protected]> Signed-off-by: malc <[email protected]>
c29b735c50524c0561def6f4f04502a581a15683
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c29b735c50524c0561def6f4f04502a581a15683
2009-05-16 01:36:08+04:00
net: Check device passed to host_net_remove (Jan Kiszka) Make sure that we do not delete guest NICs via host_net_remove. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7195 c046a42c-6fe2-441c-8c8c-71466251a162
e8f1f9db8787be08e0ae3ed5a94da68966dbfff1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8f1f9db8787be08e0ae3ed5a94da68966dbfff1
2009-04-21 19:56:08+00:00
Make binary stripping conditional (Riku Voipio) Currently qemu unconditionally strips binaries on install. This is a problem for packagers who may want to store/ship debug symbols of compiled packages for debugging purposes. Keep stripping as default for the oldtimers and add a --disable-strip flag to override. Signed-off-by: Riku Voipio <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6983 c046a42c-6fe2-441c-8c8c-71466251a162
1625af873aa8c9e4d22ad50a08e877110bf40623
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1625af873aa8c9e4d22ad50a08e877110bf40623
2009-04-05 17:41:02+00:00
block-vpc: Don't silently create smaller image than requested The algorithm from the VHD specification for CHS calculation silently limits images to 127 GB which may confuse a user who requested a larger image. Better output an error message and abort. Signed-off-by: Kevin Wolf <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7109 c046a42c-6fe2-441c-8c8c-71466251a162
6e9ea0c0629fe25723494a19498bedf4b781cbfa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6e9ea0c0629fe25723494a19498bedf4b781cbfa
2009-04-15 14:42:46+00:00
Fix VM state change handlers running out of order When a VM state change handler changes VM state, other VM state change handlers can see the state transitions out of order. bmdma_map(), scsi_disk_init() and virtio_blk_init() install VM state change handlers to restart DMA. These handlers can vm_stop() by running into a write error on a drive with werror=stop. This throws the VM state change handler callback into disarray. Here's an example case I observed: 0. The virtual IDE drive goes south. All future writes return errors. 1. Something encounters a write error, and duly stops the VM with vm_stop(). 2. vm_stop() calls vm_state_notify(0). 3. vm_state_notify() runs the callbacks in list vm_change_state_head. It contains ide_dma_restart_cb() installed by bmdma_map(). It also contains audio_vm_change_state_handler() installed by audio_init(). 4. audio_vm_change_state_handler() stops audio stuff. 5. User continues VM with monitor command "c". This runs vm_start(). 6. vm_start() calls vm_state_notify(1). 7. vm_state_notify() runs the callbacks in vm_change_state_head. 8. ide_dma_restart_cb() happens to come first. It does its work, runs into a write error, and duly stops the VM with vm_stop(). 9. vm_stop() runs vm_state_notify(0). 10. vm_state_notify() runs the callbacks in vm_change_state_head. 11. audio_vm_change_state_handler() stops audio stuff. Which isn't running. 12. vm_stop() finishes, ide_dma_restart_cb() finishes, step 7's vm_state_notify() resumes running handlers. 13. audio_vm_change_state_handler() starts audio stuff. Oopsie. Fix this by moving the actual write from each VM state change handler into a new bottom half (suggested by Gleb Natapov). Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
213189ab65d83ecd9072f27c80a15dcb91b6bdbf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/213189ab65d83ecd9072f27c80a15dcb91b6bdbf
2009-07-30 09:50:37-05:00
Remove gcc 3.4 check Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5911 c046a42c-6fe2-441c-8c8c-71466251a162
662bbadd3529564e5bc4f1e5474979ac34872f0f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/662bbadd3529564e5bc4f1e5474979ac34872f0f
2008-12-07 13:40:38+00:00
Avoid infinite loop around timed condition variable This can happen due to spurious wakeups git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6631 c046a42c-6fe2-441c-8c8c-71466251a162
30525aff78e9ee2099b24a3dc7534317ee130383
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/30525aff78e9ee2099b24a3dc7534317ee130383
2009-02-21 05:48:13+00:00
qcow2: fix image creation for large, > ~2TB, images (Chris Wright) When creating large disk images w/ qcow2 format, qcow2_create is hard coded to creating a single refcount block. This is insufficient for large images, and will cause qemu-img to segfault as it walks off the end of the refcount block. Keep track of the space needed during image create and create proper number of refcount blocks accordingly. https://bugzilla.redhat.com/show_bug.cgi?id=491943 Signed-off-by: Chris Wright <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6982 c046a42c-6fe2-441c-8c8c-71466251a162
2d2431f03fc78b532f3a1c5f858cf78859d50fc3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2d2431f03fc78b532f3a1c5f858cf78859d50fc3
2009-04-05 17:40:58+00:00
Migrate to check_define git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6302 c046a42c-6fe2-441c-8c8c-71466251a162
fdf7ed965281f7d68029580f6a652fa918018dbf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fdf7ed965281f7d68029580f6a652fa918018dbf
2009-01-14 18:39:52+00:00
monitor: Rework early disk password inquiry (Jan Kiszka) Reading the passwords for encrypted hard disks during early startup is broken (I guess for quiet a while now): - No monitor terminal is ready for input at this point - Forcing all mux'ed terminals into monitor mode can confuse other users of that channels To overcome these issues and to lay the ground for a clean decoupling of monitor terminals, this patch changes the initial password inquiry as follows: - Prevent autostart if there is some encrypted disk - Once the user tries to resume the VM, prompt for all missing passwords - Only resume if all passwords were accepted Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6707 c046a42c-6fe2-441c-8c8c-71466251a162
c0f4ce7751f0b9a9a7815f931a09a6c3de127cee
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c0f4ce7751f0b9a9a7815f931a09a6c3de127cee
2009-03-05 23:01:01+00:00
Check NIC model in some NIC init functions (Mark McLoughlin) Some NIC init functions are only called when that model is the only valid model. In that case, it makes sense to use qemu_check_nic_model() from the NIC init function itself. Signed-off-by: Mark McLoughlin <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6286 c046a42c-6fe2-441c-8c8c-71466251a162
0ae18ceeaaa2c1749e742c4b112f6c3bf0896408
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0ae18ceeaaa2c1749e742c4b112f6c3bf0896408
2009-01-13 19:39:36+00:00
ETRAX: Always provide a valid net model. Signed-off-by: Edgar E. Iglesias <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6226 c046a42c-6fe2-441c-8c8c-71466251a162
c1e1a491906bd1d769edb16f2b2be7ff6833d26f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c1e1a491906bd1d769edb16f2b2be7ff6833d26f
2009-01-07 22:46:50+00:00
Make audio violate POSIX less git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
1ea879e5580f63414693655fcf0328559cdce138
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1ea879e5580f63414693655fcf0328559cdce138
2008-12-03 22:48:44+00:00
target-ppc: use float_flag_divbyzero instead of checking the operands Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6097 c046a42c-6fe2-441c-8c8c-71466251a162
e33e94f92298c96e0928cefab00ea5bae0a1cd19
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e33e94f92298c96e0928cefab00ea5bae0a1cd19
2008-12-18 22:44:21+00:00
fix configuring kvm probe when using --kerneldir (Christian Ehrhardt) There is already a variable kvm_cflags which gets the path of the kernel includes when using --kerneldir. But eventually with newer kernels we all will need arch/$arch/include too (my case was a incldue of asm/kvm.h which was not found anymore). Headers in a full kernel source are not flattened to one arch like they are if e.g. installed kernel headers are used. To fix that, the includes added to cflags depending on --kerneldir should also contian the arch includes. The patch adds a special check for x86 because its source layout recently changed, all others directly use arch/$cpu/include if existent. Signed-off-by: Christian Ehrhardt <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6263 c046a42c-6fe2-441c-8c8c-71466251a162
8444eb6ecd90c4e1b8497fb9c2f41c598c897275
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8444eb6ecd90c4e1b8497fb9c2f41c598c897275
2009-01-09 20:05:10+00:00
target-alpha: fix cmpbge instruction The cmpbge instruction should compare all 8 bytes of one 64-bit value with another. However, we were looping with a < 7 condition which was skipping the top byte. So if we were doing a compare where the top byte was important, we could get the wrong result (this notably breaks the strlen() function with certain sized strings). (Vince Weaver) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5667 c046a42c-6fe2-441c-8c8c-71466251a162
970d622e8ab1de8fdf5762e23e92a2dea9d7d36c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/970d622e8ab1de8fdf5762e23e92a2dea9d7d36c
2008-11-10 11:10:14+00:00
Support ACLs for controlling VNC access ("Daniel P. Berrange") This patch introduces a generic internal API for access control lists to be used by network servers in QEMU. It adds support for checking these ACL in the VNC server, in two places. The first ACL is for the SASL authentication mechanism, checking the SASL username. This ACL is called 'vnc.username'. The second is for the TLS authentication mechanism, when x509 client certificates are turned on, checking against the Distinguished Name of the client. This ACL is called 'vnc.x509dname' The internal API provides for an ACL with the following characteristics - A unique name, eg vnc.username, and vnc.x509dname. - A default policy, allow or deny - An ordered series of match rules, with allow or deny policy If none of the match rules apply, then the default policy is used. There is a monitor API to manipulate the ACLs, which I'll describe via examples (qemu) acl show vnc.username policy: allow (qemu) acl policy vnc.username denya acl: policy set to 'deny' (qemu) acl allow vnc.username fred acl: added rule at position 1 (qemu) acl allow vnc.username bob acl: added rule at position 2 (qemu) acl allow vnc.username joe 1 acl: added rule at position 1 (qemu) acl show vnc.username policy: deny 0: allow fred 1: allow joe 2: allow bob (qemu) acl show vnc.x509dname policy: allow (qemu) acl policy vnc.x509dname deny acl: policy set to 'deny' (qemu) acl allow vnc.x509dname C=GB,O=ACME,L=London,CN=* acl: added rule at position 1 (qemu) acl allow vnc.x509dname C=GB,O=ACME,L=Boston,CN=bob acl: added rule at position 2 (qemu) acl show vnc.x509dname policy: deny 0: allow C=GB,O=ACME,L=London,CN=* 1: allow C=GB,O=ACME,L=Boston,CN=bob By default the VNC server will not use any ACLs, allowing access to the server if the user successfully authenticates. To enable use of ACLs to restrict user access, the ',acl' flag should be given when starting QEMU. The initial ACL activated will be a 'deny all' policy and should be customized using monitor commands. eg enable SASL auth and ACLs qemu .... -vnc localhost:1,sasl,acl The next patch will provide a way to load a pre-defined ACL when starting up Makefile | 6 + b/acl.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ b/acl.h | 74 ++++++++++++++++++++++ configure | 18 +++++ monitor.c | 95 ++++++++++++++++++++++++++++ qemu-doc.texi | 49 ++++++++++++++ vnc-auth-sasl.c | 16 +++- vnc-auth-sasl.h | 7 ++ vnc-tls.c | 19 +++++ vnc-tls.h | 3 vnc.c | 21 ++++++ vnc.h | 3 12 files changed, 491 insertions(+), 5 deletions(-) Signed-off-by: Daniel P. Berrange <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6726 c046a42c-6fe2-441c-8c8c-71466251a162
76655d6dece88bd00e190956e8e4285b682edcbb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/76655d6dece88bd00e190956e8e4285b682edcbb
2009-03-06 20:27:37+00:00
sockets: switch over tcp/telnet/unix serial line to new helper functions (Gerd Hoffman) This switches the tcp, telnet and unix socket support for character devices (serial/parallel, ...) to the new socket helpers. Thereby they gain IPv6 support and also get ability to search for a free tcp port. Syntax is the same as for vnc, using a to= option, like this: -serial tcp:localhost:5000,to=5099,server This will check the 5000 -> 5099 port range (inclusive) for a free tcp port. Likewise you can get auto-allocated unix sockets by specifying an empty path: -serial unix:,server qemu will create a randomly named socket in $TMPDIR then. tcp also got new "ipv4" and "ipv6" options to make qemu try only the specified internet protocol version. You can use the "info chardev" command added by the first patch in this series to figure the tcp port / unix socket actually allocated. Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5697 c046a42c-6fe2-441c-8c8c-71466251a162
f07b6003b6cebaa5404d702ad8aca181580e4d6c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f07b6003b6cebaa5404d702ad8aca181580e4d6c
2008-11-11 20:54:09+00:00
Really fix the BSD build this time struct aioinit isn't defined on BSD it appears so we need to guard everything in an #if defined(__linux__). Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5325 c046a42c-6fe2-441c-8c8c-71466251a162
acce87f92b8eefce3f12ddb85d63fb600794e729
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/acce87f92b8eefce3f12ddb85d63fb600794e729
2008-09-26 16:12:14+00:00
Add a virtual HCI. This implements most of the logic of a real HCI (at least the pieces marked as mandatory). It doesn't support keys, authentication etc. It works on top of the LMP layer, which is not fully emulated because software never has direct access to it. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5345 c046a42c-6fe2-441c-8c8c-71466251a162
4e38eb5438f254c7f2d588ee15a8045e734143bd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4e38eb5438f254c7f2d588ee15a8045e734143bd
2008-09-29 00:02:34+00:00
Prevent guest reusing host memory allocations. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4710 c046a42c-6fe2-441c-8c8c-71466251a162
17e2377abf16c3951d7d34521ceade4d7dc31d01
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/17e2377abf16c3951d7d34521ceade4d7dc31d01
2008-06-09 13:47:45+00:00
Use a valid PRid. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3685 c046a42c-6fe2-441c-8c8c-71466251a162
8c89395eebc4c88e35949b3310254f0d893379c5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8c89395eebc4c88e35949b3310254f0d893379c5
2007-11-18 03:19:58+00:00
Be consistent in -clock parameter. Display also the list of available sources if no valid clock name has been specified. (Hervé Poussineau) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4031 c046a42c-6fe2-441c-8c8c-71466251a162
3adda04ca24b1b8dee5bcddd972865bb38b3bca8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3adda04ca24b1b8dee5bcddd972865bb38b3bca8
2008-03-09 23:43:49+00:00
husb: support for USB host device auto disconnect (Max Krasnyansky) I got really annoyed by the fact that you have to manually do usb_del in the monitor when host device is unplugged and decided to fix it :) Basically we now automatically remove guest USB device when the actual host device is disconnected. At first I've extended set_fd_handlerX() stuff to support checking for exceptions on fds. But unfortunately usbfs code does not wake up user-space process when device is removed, which means we need a timer to periodically check if device is still there. So I removed fd exception stuff and implemented it with the timer. Signed-off-by: Max Krasnyansky <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5047 c046a42c-6fe2-441c-8c8c-71466251a162
1f3870ab242018b724b845957f7f928a2d7c1f5b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1f3870ab242018b724b845957f7f928a2d7c1f5b
2008-08-21 19:27:48+00:00
EBase is limited to KSEG0/KSEG1 even on 64bit CPUs. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2351 c046a42c-6fe2-441c-8c8c-71466251a162
b29a0341d7ed7e7df4bf77a41db8e614f1ddb645
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b29a0341d7ed7e7df4bf77a41db8e614f1ddb645
2007-01-24 18:01:23+00:00
VNC password authentication, by Daniel P. Berrange. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3135 c046a42c-6fe2-441c-8c8c-71466251a162
7084851534c834f00652f90a9da5e4032bd22130
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7084851534c834f00652f90a9da5e4032bd22130
2007-08-25 01:37:05+00:00
More cache tuning fixes: * fix the tunable cache line size probe for PowerPC 970. * initialize HID5 so cache line is 32 bytes long when running in user-mode only git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3322 c046a42c-6fe2-441c-8c8c-71466251a162
e57448f11cb29c9b36acd117349070fe290465fa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e57448f11cb29c9b36acd117349070fe290465fa
2007-10-04 01:50:03+00:00
hack for bootp support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1089 c046a42c-6fe2-441c-8c8c-71466251a162
487be8a1a76f5a47ebf1ecbdd8b6244432edd9d3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/487be8a1a76f5a47ebf1ecbdd8b6244432edd9d3
2004-10-03 11:44:41+00:00
make the bios be a ROM memory - glibc hacks for setvbuf and signals - correct century storage in CMOS emulation git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@526 c046a42c-6fe2-441c-8c8c-71466251a162
dc887a4dae9bb118c6f29db5006ac7c1d58fdeb1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc887a4dae9bb118c6f29db5006ac7c1d58fdeb1
2004-01-04 18:18:57+00:00
full TSS support - IO map check support - conforming segment check fixes - iret in vm86 mode fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@450 c046a42c-6fe2-441c-8c8c-71466251a162
7e84c2498f0ff3999937d18d1e9abaa030400000
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7e84c2498f0ff3999937d18d1e9abaa030400000
2003-11-12 23:39:19+00:00
correct value for ADDSEG is real mode (fixes GRUB boot) - update static protected mode state - use generic tlb_set_page() git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@506 c046a42c-6fe2-441c-8c8c-71466251a162
436d8b892a84eed2144030a8a07affb94b5f15d7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/436d8b892a84eed2144030a8a07affb94b5f15d7
2004-01-04 17:26:31+00:00
fixed invalid Linux asm/unistd.h header for PowerPC and gcc 3.3 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@367 c046a42c-6fe2-441c-8c8c-71466251a162
70a194b930797263bd6cb962d7f09596a07b4fef
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/70a194b930797263bd6cb962d7f09596a07b4fef
2003-08-11 22:20:16+00:00
sdhci: refactor common sysbus/pci unrealize() into sdhci_common_unrealize() 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]>
8b7455c75e9ff506fe979f3e7ef6402b78dd7983
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8b7455c75e9ff506fe979f3e7ef6402b78dd7983
2018-01-16 13:28:17+00:00
configure: add dependency This dependency is required for adequate Parallels images support. Typically the disk consists of several images which are glued by XML disk descriptor. Also XML hides inside several important parameters which are not available in the image header. The patch also adds clause to checkpatch.pl to understand libxml2 types. Signed-off-by: Denis V. Lunev <[email protected]> Signed-off-by: Klim Kireev <[email protected]> Signed-off-by: Edgar Kaziakhmedov <[email protected]> Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> Message-id: [email protected] CC: Stefan Hajnoczi <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
ed279a06c53784c8c6c9b41aa0388a4ce8a70410
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ed279a06c53784c8c6c9b41aa0388a4ce8a70410
2018-01-22 14:02:33+00:00
uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions (Max Krasnyansky) This is esentially a re-write of the QEMU UHCI layer. My initial goal was to support fully async operation with multiple outstanding async transactions. Along the way I realized that I can greatly simplify and cleanup the overall logic. There was a lot of duplicate and confusing code in the UHCI data structure parsing and other places. We were actually violating UHCI spec in handling async ISOC transaction (host controller is not supposed to write into the frame pointer). The reason I wanted to support fully async operation is because current synchronous version is unusable with most devices exported from host (via usb-linux.c). Transactions take a long time and the whole VM becomes slow as hell. Current async support is very rudimentory and for the most part non-functional. Single transaction at a time is simply not enough. I have a device for which XP driver submits both IN and OUT packets at the same time. IN packet always times out unless OUT packet makes it to the device. Hence we must be able to process both in order for that device to work. The new code is backwards compatible and was first tested agains original synchronous usb-linux.c and builtin usb devices like tablet which is also synchronous. Rewrite of the usb-linux.c is coming up next. Async support was tested against various XP versions (ie XP, SP2, SP3) and a bunch of different USB devices: serial port controllers, mice, keyboard, JTAG dongles (from Xilinx and Altera). ISOC support was only lighly tested and needs more work. It's not any worse than current code though. UHCI parser changes are probably somewhat hard to review without the understanding of the UHCI spec. The async design should be fairly easy to follow. Basically we have a list of async objects for each pending transfer. Async objects are tagged with the original TD (transfer descriptor) address and token. We now support unlimited number of outstanding isoc and one outstanding bulk/intr/ctrl transfer per QH (queue head). UHCI spec does not have a clear protocol for the cancelation of the trasfer requests. Driver can yank out TDs on any frame boundary. In oder to handle that I added somewhat fancy TD validation logic logic to avoid unnecessary cancelations. Signed-off-by: Max Krasnyansky <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5050 c046a42c-6fe2-441c-8c8c-71466251a162
54f254f973a1b2ed0f3571390f4de060adfe23e8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/54f254f973a1b2ed0f3571390f4de060adfe23e8
2008-08-21 19:30:31+00:00
pread/pwrite syscalls - use page_unprotect_range() in vital cases to avoid problems if the kernel writes data in protected page (needed for self-modifying code support) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@164 c046a42c-6fe2-441c-8c8c-71466251a162
206f0fa7598242e3e3b742e72d4743e9ea4eefd0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/206f0fa7598242e3e3b742e72d4743e9ea4eefd0
2003-05-14 19:01:56+00:00
block/sheepdog: remove spurious NULL check 'tag' is already checked in the lines immediately preceding this check, and set to non-NULL if NULL. No need to check again, it hasn't changed. Signed-off-by: Jeff Cody <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Darren Kenny <[email protected]> Signed-off-by: Jeff Cody <[email protected]>
ac90dad94b5b1eda18a9a86c739c249d851cd35c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ac90dad94b5b1eda18a9a86c739c249d851cd35c
2017-12-18 15:41:17-05:00
target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions Refactor disas_thumb2_insn() so that it generates the code for raising an UNDEF exception for invalid insns, rather than returning a flag which the caller must check to see if it needs to generate the UNDEF code. This brings the function in to line with the behaviour of disas_thumb_insn() and disas_arm_insn(). Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
2eea841c11096e8dcc457b80e21f3fbdc32d2590
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2eea841c11096e8dcc457b80e21f3fbdc32d2590
2018-01-11 13:25:40+00:00
build: disarm the TCG unit test trap Developers sometimes mistakenly run 'make test' instead of 'make check'. 'make test' triggers the ancient, unmaintained tcg unit tests in tests/tcg/Makefile which have long since ceased compiling. Even if someone fixes the TCG tests, it makes little sense to put them in a 'make test' target, rather they should be 'make check-tcg', possibly wired up as a dependency of 'make check'. In the meantime, this patch disarms the 'make test' trap by simply deleting it so users get an immediate error. This should be enough for them to remember to type 'make check' instead (or 'make help' to learn). It also deletes 'make speed' which is another route into the tcg tests. Signed-off-by: Daniel P. Berrange <[email protected]> Reviewed-by: Kashyap Chamarthy <[email protected]> Reviewed-by: Daniel Henrique Barboza <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
7c3d1917fd7a3de906170fa3d6d3d4c5918b1e49
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7c3d1917fd7a3de906170fa3d6d3d4c5918b1e49
2017-11-21 15:42:47+00:00
ui: track how much decoded data we consumed when doing SASL encoding When we encode data for writing with SASL, we encode the entire pending output buffer. The subsequent write, however, may not be able to send the full encoded data in one go though, particularly with a slow network. So we delay setting the output buffer offset back to zero until all the SASL encoded data is sent. Between encoding the data and completing sending of the SASL encoded data, however, more data might have been placed on the pending output buffer. So it is not valid to set offset back to zero. Instead we must keep track of how much data we consumed during encoding and subtract only that amount. With the current bug we would be throwing away some pending data without having sent it at all. By sheer luck this did not previously cause any serious problem because appending data to the send buffer is always an atomic action, so we only ever throw away complete RFB protocol messages. In the case of frame buffer updates we'd catch up fairly quickly, so no obvious problem was visible. Signed-off-by: Daniel P. Berrange <[email protected]> Reviewed-by: Darren Kenny <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
8f61f1c5a6bc06438a1172efa80bc7606594fa07
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8f61f1c5a6bc06438a1172efa80bc7606594fa07
2018-01-12 13:48:54+01:00
qcow2: Fix overly broad madvise() @mem_size and @offset are both size_t, thus subtracting them from one another will just return a big size_t if mem_size < offset -- even more obvious here because the result is stored in another size_t. Checking that result to be positive is therefore not sufficient to exclude the case that offset > mem_size. Thus, we currently sometimes issue an madvise() over a very large address range. This is triggered by iotest 163, but with -m64, this does not result in tangible problems. But with -m32, this test produces three segfaults, all of which are fixed by this patch. Signed-off-by: Max Reitz <[email protected]> Message-id: [email protected] Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Reviewed-by: Darren Kenny <[email protected]> Signed-off-by: Max Reitz <[email protected]>
08546bcfb260c28141e27cf3367c443528602fc0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/08546bcfb260c28141e27cf3367c443528602fc0
2017-11-17 18:21:31+01:00
arm: check regime, not current state, for ATS write PAR format In do_ats_write(), rather than using extended_addresses_enabled() to decide whether the value we get back from get_phys_addr() is a 64-bit format PAR or a 32-bit one, use arm_s1_regime_using_lpae_format(). This is not really the correct answer, because the PAR format depends on the AT instruction being used, not just on the translation regime. However getting this correct requires a significant refactoring, so that get_phys_addr() returns raw information about the fault which the caller can then assemble into a suitable FSR/PAR/syndrome for its purposes, rather than get_phys_addr() returning a pre-formatted FSR. However this change at least improves the situation by making the PAR work correctly for address translation operations done at AArch64 EL2 on the EL2 translation regime. In particular, this is necessary for Xen to be able to run in our emulation, so this seems like a safer interim fix given that we are in freeze. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Tested-by: Stefano Stabellini <[email protected]> Message-id: [email protected]
50cd71b0d347c74517dcb7da447fe657fca57d9c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/50cd71b0d347c74517dcb7da447fe657fca57d9c
2017-11-20 13:42:25+00:00
highbank: validate register offset before access An 'offset' parameter sent to highbank register r/w functions could be greater than number(NUM_REGS=0x200) of hb registers, leading to an OOB access issue. Add check to avoid it. Reported-by: Moguofang (Dennis mo) <[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]>
c5c752af8cddad3e4e51acef40a46db998638144
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c5c752af8cddad3e4e51acef40a46db998638144
2017-11-13 13:55:24+00:00
msf2: Remove dead code reported by Coverity Fixed incorrect frame size mask, validated maximum frame size in spi_write and removed dead code. Signed-off-by: Subbaraya Sundeep <[email protected]> Reviewed-by: Darren Kenny <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
cda607d5e0178d0268066d94dd06b89614304a7d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cda607d5e0178d0268066d94dd06b89614304a7d
2017-10-31 11:50:51+00:00
nbd/server: fix nbd_negotiate_handle_info namelen should be here, length is unrelated, and always 0 at this point. Broken in introduction in commit f37708f6, but mostly harmless (replying with '' as the name does not violate protocol, and does not confuse qemu as the nbd client since our implementation does not ask for the name; but might confuse some other client that does ask for the name especially if the default export is different than the export name being queried). Adding an assert makes it obvious that we are not skipping any bytes in the client's message, as well as making it obvious that we were using the wrong variable. Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> CC: [email protected] Message-Id: <[email protected]> [eblake: improve commit message, squash in assert addition] Signed-off-by: Eric Blake <[email protected]>
46321d6b5f8c880932a6b3d07bd0ff6f892e665c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/46321d6b5f8c880932a6b3d07bd0ff6f892e665c
2017-11-08 16:32:26-06:00
s390x/css: be more consistent if broken beyond repair Calling do_subchannel_work with no function control flags set in SCSW is a programming error. Currently we handle this differently in do_subchannel_work_virtual and do_subchannel_work_passthrough. Let's be consistent and guard with a common assert against this programming error. Signed-off-by: Halil Pasic <[email protected]> Message-Id: <[email protected]> Reviewed-by: Dong Jia Shi <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
9ea63c05d90ba85d819f9b2472ce6dfba7a403b4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9ea63c05d90ba85d819f9b2472ce6dfba7a403b4
2017-10-20 13:32:10+02:00
ppc: move '-cpu foo,compat=xxx' parsing into ppc_cpu_parse_featurestr() there is a dedicated callback CPUClass::parse_features which purpose is to convert -cpu features into a set of global properties AND deal with compat/legacy features that couldn't be directly translated into CPU's properties. Create ppc variant of it (ppc_cpu_parse_featurestr) and move 'compat=val' handling from spapr_cpu_core.c into it. That removes a dependency of board/core code on cpu_model parsing and would let to reuse common -cpu parsing introduced by 6063d4c0 Set "max-cpu-compat" property only if it exists, in practice it should limit 'compat' hack to spapr machine and allow to avoid including machine/spapr headers in target/ppc/cpu.c Signed-off-by: Igor Mammedov <[email protected]> Signed-off-by: David Gibson <[email protected]>
b8e999673bd479eed7e71a5e8bc468bca4e31d7d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b8e999673bd479eed7e71a5e8bc468bca4e31d7d
2017-10-17 10:34:00+11:00
crypto: expose encryption sector size in APIs While current encryption schemes all have a fixed sector size of 512 bytes, this is not guaranteed to be the case in future. Expose the sector size in the APIs so the block layer can remove assumptions about fixed 512 byte sectors. Reviewed-by: Max Reitz <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]> Message-id: [email protected] Signed-off-by: Max Reitz <[email protected]>
850f49de9b57511dcaf2cd7e45059f8f38fadf3b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/850f49de9b57511dcaf2cd7e45059f8f38fadf3b
2017-10-06 16:30:47+02:00
tpm-backend: Initialize and free data members in it's own methods Initialize and free TPMBackend data members in it's own instance_init() and instance_finalize methods. Took the opportunity to remove unneeded destroy() method from TpmDriverOps interface as TPMBackend is a Qemu Object, we can use object_unref() inplace of tpm_backend_destroy() to free the backend object, hence removed destroy() from TPMDriverOps interface. Signed-off-by: Amarnath Valluri <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]> Reviewed-by: Stefan Berger <[email protected]> Signed-off-by: Stefan Berger <[email protected]>
f35fe5cb97bbdaa6a6967f2fefc3fc1f79680601
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f35fe5cb97bbdaa6a6967f2fefc3fc1f79680601
2017-10-13 07:34:33-04:00
s390x/css: fix cc handling for XSCH The function ioinst_handle_xsch is presenting cc 2 when it's supposed to present cc 1 and the other way around, because css_do_xsch has the error codes mixed up. Because cc 1 has precedence over cc 2 we also have to swap the two checks. Let us fix this. Signed-off-by: Halil Pasic <[email protected]> Reported-by: Pierre Morel <[email protected]> Message-Id: <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
6c86462220a1c7f5d673663d31d297627a2868a6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6c86462220a1c7f5d673663d31d297627a2868a6
2017-09-19 18:21:32+02:00
wm8750: add record buffer underrun check Reported-by: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]> Message-id: [email protected]
4bb3893908385836410346725dd9e584dcd24836
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4bb3893908385836410346725dd9e584dcd24836
2017-09-18 13:13:32+02:00
booke206: fix booke206_tlbnps for mav 2.0 This fixes booke206_tlbnps for MAV 2.0 by checking the MMUCFG register and return directly the right tlbnps instead of computing it from non existing field. Signed-off-by: KONRAD Frederic <[email protected]> Signed-off-by: David Gibson <[email protected]>
3f330293bace409fc172201f27084784c697f8f8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3f330293bace409fc172201f27084784c697f8f8
2017-09-08 09:30:55+10:00
target/arm: [a64] Move page and ss checks to init_disas_context Since AArch64 uses a fixed-width ISA, we can pre-compute the number of insns remaining on the page. Also, we can check for single-step once. Reviewed-by: Emilio G. Cota <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
dcc3a21209a8eeae0fe43966012f8e08d3566f98
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dcc3a21209a8eeae0fe43966012f8e08d3566f98
2017-09-06 08:06:48-07:00
target/arm: Use M_REG_NUM_BANKS rather than hardcoding 2 Use a symbolic constant M_REG_NUM_BANKS for the array size for registers which are banked by M profile security state, rather than hardcoding lots of 2s. Suggested-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-id: [email protected]
4a16724f06ead684a5962477a557c26c677c2729
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4a16724f06ead684a5962477a557c26c677c2729
2017-09-14 18:43:16+01:00
target/arm: Implement ARMv8M's PMSAv8 registers As part of ARMv8M, we need to add support for the PMSAv8 MPU architecture. PMSAv8 differs from PMSAv7 both in register/data layout (for instance using base and limit registers rather than base and size) and also in behaviour (for example it does not have subregions); rather than trying to wedge it into the existing PMSAv7 code and data structures, we define separate ones. This commit adds the data structures which hold the state for a PMSAv8 MPU and the register interface to it. The implementation of the MPU behaviour will be added in a subsequent commit. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
0e1a46bbd2d6c39614b87f4e88ea305acce8a35f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0e1a46bbd2d6c39614b87f4e88ea305acce8a35f
2017-09-07 13:54:51+01:00
target/i386: [tcg] Port to tb_stop Incrementally paves the way towards using the generic instruction translation loop. Signed-off-by: Lluís Vilanova <[email protected]> Reviewed-by: Emilio G. Cota <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
47e981b42553f00110024c33897354f9014e83e9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/47e981b42553f00110024c33897354f9014e83e9
2017-09-06 08:06:47-07:00
target/i386: [tcg] Port to translate_insn Incrementally paves the way towards using the generic instruction translation loop. Signed-off-by: Lluís Vilanova <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Emilio G. Cota <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
2c2f8cacd8cf4f67d6f1384b19d38f9a0a25878b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2c2f8cacd8cf4f67d6f1384b19d38f9a0a25878b
2017-09-06 08:06:47-07:00
target/i386: [tcg] Port to init_disas_context Incrementally paves the way towards using the generic instruction translation loop. Reviewed-by: Emilio G. Cota <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Alex Benneé <[email protected]> Signed-off-by: Lluís Vilanova <[email protected]> Message-Id: <[email protected]> [rth: Adjust for max_insns interface change.] Signed-off-by: Richard Henderson <[email protected]>
9761d39b09c4beb1340bf3074be3d3e0a5d453a4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9761d39b09c4beb1340bf3074be3d3e0a5d453a4
2017-09-06 08:06:47-07:00
monitor: use DIV_ROUND_UP I used the clang-tidy qemu-round check to generate the fix: https://github.com/elmarco/clang-tools-extra Signed-off-by: Marc-André Lureau <[email protected]> Acked-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
69db8dfc19cd0aff951c63a4ec1f1ed26417a4fc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/69db8dfc19cd0aff951c63a4ec1f1ed26417a4fc
2017-08-31 12:29:07+02:00
ui: use DIV_ROUND_UP I used the clang-tidy qemu-round check to generate the fix: https://github.com/elmarco/clang-tools-extra Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
935b3332f5df80f8adf7c6965ef799185eccc825
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/935b3332f5df80f8adf7c6965ef799185eccc825
2017-08-31 12:29:07+02:00
vpc: use DIV_ROUND_UP I used the clang-tidy qemu-round check to generate the fix: https://github.com/elmarco/clang-tools-extra Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
13f1493f82860cff39e3b8160a3dce557970f95f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/13f1493f82860cff39e3b8160a3dce557970f95f
2017-08-31 12:29:07+02:00
target-i386: kvm_get/put_vcpu_events don't handle sipi_vector qemu call kvm_get_vcpu_events, and kernel return sipi_vector always 0, never valid when reporting to user space. But when qemu calls kvm_put_vcpu_events will make sipi_vector in kernel be 0. This will accidently modify sipi_vector when sipi_vector in kernel is not 0. Signed-off-by: Peng Hao <[email protected]> Reviewed-by: Liu Yi <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
4fadfa00301695a4985e2a229cab857b2ce5c775
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4fadfa00301695a4985e2a229cab857b2ce5c775
2017-08-01 17:27:33+02:00
spapr/htab: fix savevm Commit 3a38429 ("spapr: Add a "no HPT" encoding to HTAB migration stream") allows to migrate an empty HPT, but doesn't mark correctly the end of the migration stream. The end condition (value returned by htab_save_iterate()) should be 1, whereas in 3a38429 it returns 0. The problem can be reproduced with QEMU monitor command "savevm": the command never stops and the disk image grows without limit. Fixes: 3a38429748aa4f74abaecf16c4c087e8a325e12a Signed-off-by: Laurent Vivier <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: David Gibson <[email protected]>
e8cd4247e96bb2158ef0ae0ff20e72746b9dd32d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8cd4247e96bb2158ef0ae0ff20e72746b9dd32d
2017-07-25 11:14:25+10:00
vfio/ccw: fix initialization of the Object DeviceState pointer in the common base-device Commit 7da624e2 ("vfio: Test realized when using VFIOGroup.device_list iterator") introduced a pointer to the Object DeviceState in the VFIO common base-device and skipped non-realized devices as we iterate VFIOGroup.device_list. While it missed to initialize the pointer for the vfio-ccw case. Let's fix it. Fixes: 7da624e2 ("vfio: Test realized when using VFIOGroup.device_list iterator") Cc: Alex Williamson <[email protected]> Reviewed-by: Halil Pasic <[email protected]> Signed-off-by: Dong Jia Shi <[email protected]> Reviewed-by: Alex Williamson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
6a79dd463164e37aa14f5d24dc8107017a6eeaab
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6a79dd463164e37aa14f5d24dc8107017a6eeaab
2017-07-25 09:17:42+02:00
gdbstub: modernise DEBUG_GDB Convert the a gdb_debug helper which compiles away to nothing when not used but still ensures the format strings are checked. There is some minor code motion for the incorrect checksum message to report it before we attempt to send the reply. Signed-off-by: Alex Bennée <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Greg Kurz <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
118e226884a762f3ef21351c05043e32be44c1f1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/118e226884a762f3ef21351c05043e32be44c1f1
2017-07-14 12:04:41+02:00