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
test availability of various compiler flags, and verify that requested libraries are really installed Originally committed as revision 5486 to svn://svn.ffmpeg.org/ffmpeg/trunk
57bd82d4e75bf1542d92e7df9edbdcf18f324be1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/57bd82d4e75bf1542d92e7df9edbdcf18f324be1
2006-06-16 19:26:31+00:00
fix memory leak on mpegts close found by Andy Brown <abrown at daqtron com> Originally committed as revision 5259 to svn://svn.ffmpeg.org/ffmpeg/trunk
00a6b92bdd0618f74a7389b443a7862eb6750c1b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/00a6b92bdd0618f74a7389b443a7862eb6750c1b
2006-04-01 18:19:00+00:00
fix crash on height < 16 pixels. Originally committed as revision 4904 to svn://svn.ffmpeg.org/ffmpeg/trunk
fdb52bccf609b88f81d3730ff88f8f784cd7be8a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fdb52bccf609b88f81d3730ff88f8f784cd7be8a
2006-01-28 00:57:59+00:00
wrong sizes, part of [PATCH] from DivX, Part 9: bitstream crashes from (Steve Lhomme | slhomme divxcorp com) Originally committed as revision 4746 to svn://svn.ffmpeg.org/ffmpeg/trunk
725e38777fa929420cdd62e3809e46abe9403aea
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/725e38777fa929420cdd62e3809e46abe9403aea
2005-12-17 11:29:34+00:00
division by zero fix Originally committed as revision 4191 to svn://svn.ffmpeg.org/ffmpeg/trunk
09f75b5b38c19ce98447f5a86e3c7985d8d7e7ce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/09f75b5b38c19ce98447f5a86e3c7985d8d7e7ce
2005-05-06 21:11:38+00:00
"don't quit" option to attach a debugger /check mem leaks "no write" option to only get next packets Originally committed as revision 4110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2d216336f80b294af056a8b1ee8c7306f4d543f3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2d216336f80b294af056a8b1ee8c7306f4d543f3
2005-04-07 16:52:28+00:00
fixing decoding of http://mplayerhq.hu/~atmos4/ffrv20-crashing-atmos.rm Originally committed as revision 3808 to svn://svn.ffmpeg.org/ffmpeg/trunk
f6d5112387204d881fcdc69efc4f590ff00acfcb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f6d5112387204d881fcdc69efc4f590ff00acfcb
2005-01-05 02:36:10+00:00
stack overflow Originally committed as revision 3389 to svn://svn.ffmpeg.org/ffmpeg/trunk
df84ac2e7dbf1d4dcb58706c2038668ac892530e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/df84ac2e7dbf1d4dcb58706c2038668ac892530e
2004-08-14 14:51:10+00:00
corrupted field pictures segfault fix Originally committed as revision 3040 to svn://svn.ffmpeg.org/ffmpeg/trunk
25ef43bb289a3a3a717a684902c0a310e292beba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/25ef43bb289a3a3a717a684902c0a310e292beba
2004-04-22 21:41:08+00:00
writing corrupt files on MinGW patch by (Matthias Fritschi <choi at netlabs dot org>) Originally committed as revision 2988 to svn://svn.ffmpeg.org/ffmpeg/trunk
1c0e205fab4bd5bbfa0399af2cd5e281b414b3d5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1c0e205fab4bd5bbfa0399af2cd5e281b414b3d5
2004-04-09 15:04:51+00:00
fixing q>0.0 assert failure caused by overflow of variance for b frames Originally committed as revision 1120 to svn://svn.ffmpeg.org/ffmpeg/trunk
0bfacb95dea6a04e4c10a24b9d90c14a401ade67
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0bfacb95dea6a04e4c10a24b9d90c14a401ade67
2002-10-30 22:55:07+00:00
block: Pass BdrvChild to bdrv_aligned_preadv/pwritev and copy-on-read This is where we want to check the permissions, so we need to have the BdrvChild around where they are stored. Signed-off-by: Kevin Wolf <[email protected]> Acked-by: Fam Zheng <[email protected]> Reviewed-by: Max Reitz <[email protected]>
85c97ca7a10b93216bc95052e9dabe3a4bb8736a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/85c97ca7a10b93216bc95052e9dabe3a4bb8736a
2017-02-28 20:47:50+01:00
char: remove fixed length filename allocation A variety of places were snprintf()ing into a fixed length filename buffer. Some of the buffers were stack allocated, while another was heap allocated with g_malloc(). Switch them all to heap allocated using g_strdup_printf() avoiding arbitrary length restrictions. This also facilitates later patches which will want to populate the filename by calling external functions which do not support use of a pre-allocated buffer. Signed-off-by: Daniel P. Berrange <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
0ff0fad23d3693ecf7a0c462cdb48f0e60f93808
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0ff0fad23d3693ecf7a0c462cdb48f0e60f93808
2016-01-26 15:50:54+01:00
vhost-user-test: make features mask an init_virtio_dev() argument The goal is to generalize the use of [un]init_virtio_dev() to all tests, which does not necessarily expose the same features set. Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]>
d3b2a5d1e4a627395cdc8f40d05b12bf8ab58817
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d3b2a5d1e4a627395cdc8f40d05b12bf8ab58817
2018-01-18 21:52:38+02:00
dev-storage: Fix the unusual function name The function name of usb_msd_{realize,unrealize}_*, usb_msd_class_initfn_* are unusual. Rename it to usb_msd_*_{realize,unrealize}, usb_msd_class_*_initfn. Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Mao Zhongyi <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-id: 11e6003433abce35f3f4970e1acc71ee92dbcf51.1511317952.git.maozy.fnst@cn.fujitsu.com Signed-off-by: Stefan Hajnoczi <[email protected]>
6db3ea39e2650dc4fbcd18e075510f162265512f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6db3ea39e2650dc4fbcd18e075510f162265512f
2017-12-19 10:25:08+00:00
ui: avoid pointless VNC updates if framebuffer isn't dirty The vnc_update_client() method checks the 'has_dirty' flag to see if there are dirty regions that are pending to send to the client. Regardless of this flag, if a forced update is requested, updates must be sent. For unknown reasons though, the code also tries to sent updates if audio capture is enabled. This makes no sense as audio capture state does not impact framebuffer contents, so this check is removed. 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]>
3541b08475d51bddf8aded36576a0ff5a547a978
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3541b08475d51bddf8aded36576a0ff5a547a978
2018-01-12 13:48:54+01:00
block: count bdrv_co_rw_vmstate() requests Call bdrv_inc/dec_in_flight() for vmstate reads/writes. This seems unnecessary at first glance because vmstate reads/writes are done synchronously while the guest is stopped. But we need the bdrv_wakeup() in bdrv_dec_in_flight() so the main loop sees request completion. Besides, it's cleaner to count vmstate reads/writes like ordinary read/write requests. The bdrv_wakeup() partially fixes a 'savevm' hang with -object iothread. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
dc88a467ec7214c3086094033daf2aba554337b1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc88a467ec7214c3086094033daf2aba554337b1
2017-06-26 14:51:13+02:00
pci: Eliminate redundant PCIDevice::bus pointer The bus pointer in PCIDevice is basically redundant with QOM information. It's always initialized to the qdev_get_parent_bus(), the only difference is the type. Therefore this patch eliminates the field, instead creating a pci_get_bus() helper to do the type mangling to derive it conveniently from the QOM Device object underneath. Signed-off-by: David Gibson <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Eduardo Habkost <[email protected]> Reviewed-by: Marcel Apfelbaum <[email protected]> Reviewed-by: Peter Xu <[email protected]>
fd56e0612b6454a282fa6a953fdb09281a98c589
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd56e0612b6454a282fa6a953fdb09281a98c589
2017-12-05 19:13:45+02:00
mips: use object_new() instead of gnew()+object_initialize() object_initialize() is intended for inplace initialization of objects, but here it's first allocated with g_new0() and then initialized with object_initialize(). QEMU already has API to do this (object_new), so do object creation with suitable for usecase API. Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Tested-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
81491c2846b7a818eb069dbc5f688537e382fc83
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/81491c2846b7a818eb069dbc5f688537e382fc83
2017-10-27 16:04:28+02:00
target/sparc: check CF_PARALLEL instead of parallel_cpus Thereby decoupling the resulting translated code from the current state of the system. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Emilio G. Cota <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
87d757d60d66d5ee1608460b0f1e07e2b758db9c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/87d757d60d66d5ee1608460b0f1e07e2b758db9c
2017-10-24 13:53:42-07:00
target/i386: introduce x86_ld*_code These take care of advancing s->pc, and will provide a unified point where to check for the 15-byte instruction length limit. Signed-off-by: Paolo Bonzini <[email protected]>
e3af7c788b73a6495eb9d94992ef11f6ad6f3c56
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e3af7c788b73a6495eb9d94992ef11f6ad6f3c56
2017-10-16 18:03:53+02:00
migration: Add 'pause-before-switchover' capability When 'pause-before-switchover' is enabled, the outgoing migration will pause before invalidating the block devices and serializing the device state. At this point the management layer gets the chance to clean up any device jobs or other device users before the migration completes. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Peter Xu <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
93fbd0314ec060ffaf90169a06d5737fa97ffb25
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/93fbd0314ec060ffaf90169a06d5737fa97ffb25
2017-10-23 18:03:27+02:00
openrisc: Initial SMP support Wire in ompic and add basic support for SMP. The OpenRISC is special in that interrupts for devices are routed to each core's PIC. This is achieved using the qemu_irq_split utility, but this currently limits OpenRISC to 2 cores. This models the reference architecture described in the OpenRISC spec 1.2 proposal. https://github.com/stffrdhrn/doc/raw/arch-1.2-proposal/openrisc-arch-1.2-rev0.pdf The changes to the intialization of the sim include: CPU Reset o Reset each cpu to the bootstrap PC rather than only a single cpu as done before. o During Kernel loading the bootstrap PC is saved in a static global. Network Initialization o Connect the interrupt to each CPU o Use more simple sysbus_mmio_map() rather than memory_region_add_subregion() Sim Initialization o Initialize the pic and tick timer per cpu o Wire in the OMPIC if SMP is enabled o Wire the serial irq to each CPU using qemu_irq_split() Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
13f1c773640171efa8175b1ba6dcd624c1ad68c1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/13f1c773640171efa8175b1ba6dcd624c1ad68c1
2017-10-21 06:36:58+09:00
io: get rid of bounce buffering in websock write path Currently most outbound I/O on the websock channel gets copied into the rawoutput buffer, and then immediately copied again into the encoutput buffer, with a header prepended. Now that qio_channel_websock_encode accepts a struct iovec, we can trivially remove this bounce buffering and write directly to encoutput. In doing so, we also now correctly validate the encoutput size against the QIO_CHANNEL_WEBSOCK_MAX_BUFFER limit. Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
8dfd5f96515ca20c4eb109cb0ee28e2bb32fc505
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8dfd5f96515ca20c4eb109cb0ee28e2bb32fc505
2017-10-16 16:57:08+01:00
pci: allow 32-bit PCI IO accesses to pass through the PCI bridge Whilst the underlying PCI bridge implementation supports 32-bit PCI IO accesses, unfortunately they are truncated at the legacy 64K limit. Signed-off-by: Mark Cave-Ayland <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
9cd1e97a7ae2856ec00b5682db0dea17f42fc734
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9cd1e97a7ae2856ec00b5682db0dea17f42fc734
2017-10-15 05:54:41+03:00
build: automatically handle GIT submodule checkout for dtc Currently if DTC is required by configure and not available in the host OS install, we exit with an error message telling the user to checkout a git submodule or install the library. This introduces automatic handling of the git submodule checkout process and enables it for dtc. This only runs if building from GIT, so users of release tarballs still need the system library install. The current state of the git checkout is stashed in .git-submodule-status, and a helper program is used to determine if this state matches the desired submodule state. A dependency against 'Makefile' ensures that the submodule state is refreshed at the start of the build process Signed-off-by: Daniel P. Berrange <[email protected]> Message-id: [email protected] [ kraxel: use /bin/sh not bash for scripts/git-submodule.sh ] [ kraxel: fix Makefile dependencies ] Signed-off-by: Gerd Hoffmann <[email protected]> [fixup] Makefile dep
aef45d51d1204f3335fb99de6658e0c5612c2b67
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/aef45d51d1204f3335fb99de6658e0c5612c2b67
2017-10-16 14:46:44+02:00
qom/cpu: move cpu_model null check to cpu_class_by_name() and clean every implementation. Suggested-by: Eduardo Habkost <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Reviewed-by: Laurent Vivier <[email protected]> Reviewed-by: Artyom Tarasenko <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
8301ea444abb49f7b7fb939b09c1e23b22977f30
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8301ea444abb49f7b7fb939b09c1e23b22977f30
2017-10-09 23:21:52-03:00
target/arm: Implement secure function return Secure function return happens when a non-secure function has been called using BLXNS and so has a particular magic LR value (either 0xfefffffe or 0xfeffffff). The function return via BX behaves specially when the new PC value is this magic value, in the same way that exception returns are handled. Adjust our BX excret guards so that they recognize the function return magic number as well, and perform the function-return unstacking in do_v7m_exception_exit(). Signed-off-by: Peter Maydell <[email protected]> Acked-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
d02a8698d7ae2bfed3b11fe5b064cb0aa406863b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d02a8698d7ae2bfed3b11fe5b064cb0aa406863b
2017-10-12 13:23:14+01:00
nvic: Implement Security Attribution Unit registers Implement the register interface for the SAU: SAU_CTRL, SAU_TYPE, SAU_RNR, SAU_RBAR and SAU_RLAR. None of the actual behaviour is implemented here; registers just read back as written. When the CPU definition for Cortex-M33 is eventually added, its initfn will set cpu->sau_sregion, in the same way that we currently set cpu->pmsav7_dregion for the M3 and M4. Number of SAU regions is typically a configurable CPU parameter, but this patch doesn't provide a QEMU CPU property for it. We can easily add one when we have a board that requires it. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
9901c576f6c02d43206e5faaf6e362ab7ea83246
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9901c576f6c02d43206e5faaf6e362ab7ea83246
2017-10-06 16:46:49+01:00
qemu-io: Add -C for opening with copy-on-read Make it easier to enable copy-on-read during iotests, by exposing a new bool option to main and open. Signed-off-by: Eric Blake <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Reviewed-by: John Snow <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
0f40444cc4fc6526a9a544b11475f1086113f9ba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0f40444cc4fc6526a9a544b11475f1086113f9ba
2017-10-06 16:28:58+02:00
target/arm: Restore security state on exception return Now that we can handle the CONTROL.SPSEL bit not necessarily being in sync with the current stack pointer, we can restore the correct security state on exception return. This happens before we start to read registers off the stack frame, but after we have taken possible usage faults for bad exception return magic values and updated CONTROL.SPSEL. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
3919e60b6efd9a86a0e6ba637aa584222855ac3a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3919e60b6efd9a86a0e6ba637aa584222855ac3a
2017-10-06 16:46:47+01:00
qemu-iotests: do not include common.rc in "check" It only provides functions used by the test programs. Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
3817ce03bf3373065c25e389ecb7f23a511ebcdc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3817ce03bf3373065c25e389ecb7f23a511ebcdc
2017-10-06 16:28:58+02:00
nvic: Add banked exception states For the v8M security extension, some exceptions must be banked between security states. Add the new vecinfo array which holds the state for the banked exceptions and migrate it if the CPU the NVIC is attached to implements the security extension. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
17906a162a1febef92e1d3eddc090e967a351757
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/17906a162a1febef92e1d3eddc090e967a351757
2017-09-21 16:28:59+01:00
iothread: provide helpers for internal use IOThread is a general framework that contains IO loop environment and a real thread behind. It's also good to be used internally inside qemu. Provide some helpers for it to create iothreads to be used internally. Put all the internal used iothreads into the internal object container. Reviewed-by: Fam Zheng <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Peter Xu <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
0173e21b617d3de1fcfa917e329bb9194ab332a4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0173e21b617d3de1fcfa917e329bb9194ab332a4
2017-10-03 14:26:15-04:00
target/arm: Implement MSR/MRS access to NS banked registers In v8M the MSR and MRS instructions have extra register value encodings to allow secure code to access the non-secure banked version of various special registers. (We don't implement the MSPLIM_NS or PSPLIM_NS aliases, because we don't currently implement the stack limit registers at all.) Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
50f11062d4c896408731d6a286bcd116d1e08465
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/50f11062d4c896408731d6a286bcd116d1e08465
2017-09-21 16:28:23+01:00
xlnx-ep108: Rename to ZCU102 The EP108 is a early access development board. Now that silicon is in production people have access to the ZCU102. Let's rename the internal QEMU files and variables to use the ZCU102. There is no functional change here as the EP108 is still a valid board option. Signed-off-by: Alistair Francis <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
aff3f0f150769ec4f97c6e2cefe91c4a0377b548
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/aff3f0f150769ec4f97c6e2cefe91c4a0377b548
2017-09-14 18:43:17+01:00
target/arm: Make MMFAR banked for v8M Make the MMFAR register banked if v8M security extensions are enabled. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
c51a5cfc9fae82099028eb12cb1d064ee07f348e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c51a5cfc9fae82099028eb12cb1d064ee07f348e
2017-09-07 13:54:54+01:00
hw/ppc: clear pending_events on machine reset The sPAPR machine isn't clearing up the pending events QTAILQ on machine reboot. This allows for unprocessed hotplug/epow events to persist in the queue after reset and, when reasserting the IRQs in check_exception later on, these will be being processed by the OS. This patch implements a new function called 'spapr_clear_pending_events' that clears up the pending_events QTAILQ. This helper is then called inside ppc_spapr_reset to clear up the events queue, preventing old/deprecated events from persisting after a reset. Signed-off-by: Daniel Henrique Barboza <[email protected]> Signed-off-by: David Gibson <[email protected]>
56258174238eb25df629a53a96e1ac16a32dc7d4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/56258174238eb25df629a53a96e1ac16a32dc7d4
2017-09-08 09:30:54+10:00
target/arm: Make PRIMASK register banked for v8M Make the PRIMASK register banked if v8M security extensions are enabled. Note that we do not yet implement the functionality of the new AIRCR.PRIS bit (which allows the effect of the NS copy of PRIMASK to be restricted). Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
6d8048341995b31a77dc2e0dcaaf4e3df0e3121a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6d8048341995b31a77dc2e0dcaaf4e3df0e3121a
2017-09-07 13:54:52+01:00
block: tidy ThrottleGroupMember initializations Move the CoMutex and CoQueue inits inside throttle_group_register_tgm() which is called whenever a ThrottleGroupMember is initialized. There's no need for them to be separate. Reviewed-by: Alberto Garcia <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Manos Pitsidianakis <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
f738cfc843055238ad969782db69156929873832
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f738cfc843055238ad969782db69156929873832
2017-09-05 16:47:52+02:00
hmp: Use qapi_enum_parse() in hmp_migrate_set_parameter() The error message on invalid parameter name changes from Invalid parameter "NAME" to invalid parameter value: NAME Slight degratation, perhaps. Signed-off-by: Marc-André Lureau <[email protected]> Message-Id: <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> [Rebased, assertion added, commit message rewritten] Cc: "Dr. David Alan Gilbert" <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]>
262517b7e062bde92beb9304fb813cac1e95643a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/262517b7e062bde92beb9304fb813cac1e95643a
2017-09-04 13:09:13+02:00
vhost: use QEMU_ALIGN_DOWN 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: Michael S. Tsirkin <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
33c5793bd92b85b0d3666f35e44cef855b48e76a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/33c5793bd92b85b0d3666f35e44cef855b48e76a
2017-08-31 12:29:07+02:00
thunk: assert nb_fields is valid thunk.c:91:32: warning: Call to 'malloc' has an allocation size of 0 bytes se->field_offsets[i] = malloc(nb_fields * sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
a44af723b3d5e6fa003b9d7f70f249c5529aa03a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a44af723b3d5e6fa003b9d7f70f249c5529aa03a
2017-07-31 13:06:39+03:00
target/s390x: simplify gs_allowed() No need for kvm_enabled() as this function is only called from KVM and there is no reason why it shouldn't be allowed for tcg. It is simply not available under tcg. Also, there is no need to check for the machine type anymore. Just like ri_enabled(), we can directly use the stored flag, which results in "true" for the "none" machine. Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
c50f65118b429e6847d5c11b1a20a560d61c34b7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c50f65118b429e6847d5c11b1a20a560d61c34b7
2017-08-30 18:23:25+02:00
tests: add missing dependency to build QTEST_QEMU_BINARY This allow a one liner from fresh repository clone, i.e.: ./configure && make -j check-qtest-aarch64 Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: John Snow <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
b94b330e233368d906e8b66e827a761e67845c51
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b94b330e233368d906e8b66e827a761e67845c51
2017-07-31 13:06:38+03:00
virtion-net: Prefer is_power_of_2() We have a function that checks if given number is power of two. We should prefer it instead of expanding the check on our own. Signed-off-by: Michal Privoznik <[email protected]> Signed-off-by: Jason Wang <[email protected]>
5f997fd17b9be6a662fa7b5cc1305076cd6c8894
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5f997fd17b9be6a662fa7b5cc1305076cd6c8894
2017-07-17 20:13:55+08:00
migration/rdma: Allow cancelling while waiting for wrid When waiting for a WRID, if the other side dies we end up waiting for ever with no way to cancel the migration. Cure this by poll()ing the fd first with a timeout and checking error flags and migration state. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Peter Xu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
9c98cfbe72b21d9d84b9ea8d231bde103b9fb7ae
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9c98cfbe72b21d9d84b9ea8d231bde103b9fb7ae
2017-07-18 17:36:17+02:00
s390x/sclp: properly guard pci-specific functions If we do not provide zpci, pci reconfiguration via sclp is not available either. I/O adapter configuration, however, should always be present. Rename the values that refer to I/O adapter configuration (instead of only pci) to make things clearer. Move length checking of the sccb for I/O adapter configuration into the common sclp code (out of the pci code). This also fixes an issue that the pci code would refer to a field in the sccb before checking whether it was actually long enough. Check for the adapter type in the sccb and return unrecognized adapter type if the guest tries to issue I/O adapter configure/deconfigure for a type other than pci or for pci if the zpci facility is not provided. Reviewed-by: Pierre Morel <[email protected]> Reviewed-by: Halil Pasic <[email protected]> Acked-by: Christian Borntraeger <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
80b7a265362c870f95fb5ca1f7e7a02c0fa0db3e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/80b7a265362c870f95fb5ca1f7e7a02c0fa0db3e
2017-08-30 18:23:25+02:00
pseries: Allow HPT resizing with KVM So far, qemu implements the PAPR Hash Page Table (HPT) resizing extension with TCG. The same implementation will work with KVM PR, but we don't currently allow that. For KVM HV we can only implement resizing with the assistance of the host kernel, which needs a new capability and ioctl()s. This patch adds support for testing the new KVM capability and implementing the resize in terms of KVM facilities when necessary. If we're running on a kernel which doesn't have the new capability flag at all, we fall back to testing for PR vs. HV KVM using the same hack that we already use in a number of places for older kernels. Signed-off-by: David Gibson <[email protected]>
b55d295e3ec98e46f5b39d50e4a3a9725b4289b3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b55d295e3ec98e46f5b39d50e4a3a9725b4289b3
2017-07-17 15:07:05+10:00
s390x/cpumodel: add zpci, aen and ais facilities zPCI instructions and facilities are available since IBM zEnterprise EC12. To support z/PCI in QEMU we enable zpci, aen and ais facilities starting with zEC12 GA1. And we always set zpci and aen bits in max cpu model. Later they might be switched off due to applied real cpu model. For ais bit, we only provide it in the full cpu model beginning with zEC12 and defer its enablement in the default cpu model to a later point in time. At the same time, disable them for 2.9 and older machines. Because of introducing AIS facility, we could check if it's enabled to initialize flic->ais_supported with the real value. Signed-off-by: Yi Min Zhao <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]> Reviewed-by: Cornelia Huck <[email protected]>
3b00f702c236900cca403bdcbed48d59bfec0fba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3b00f702c236900cca403bdcbed48d59bfec0fba
2017-07-14 12:29:49+02:00
translate-all: remove redundant !tcg_enabled check in dump_exec_info This check is redundant because it is already performed by the only caller of dump_exec_info -- the caller was updated by b7da97eef ("monitor: Check whether TCG is enabled before running the "info jit" code"). Checking twice wouldn't necessarily be too bad, but here the check also returns with tb_lock held. So we can either do the check before tb_lock is acquired, or just get rid of it. Given that it is redundant, I am going for the latter option. Signed-off-by: Emilio G. Cota <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
d40d3da00c10f0169a26985ecb65033bff536f2c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d40d3da00c10f0169a26985ecb65033bff536f2c
2017-07-14 12:04:42+02:00
nbd: Expose and debug more NBD constants The NBD protocol has several constants defined in various extensions that we are about to implement. Expose them to the code, along with an easy way to map various constants to strings during diagnostic messages. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
3736cc5be31f0399999e37d8b28ca9a3ed0b4ccb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3736cc5be31f0399999e37d8b28ca9a3ed0b4ccb
2017-07-14 12:04:41+02:00
s390x/flic: introduce modify_ais_mode callback In order to emulate the adapter interruption suppression (AIS) facility properly, the guest needs to be able to modify the AIS mask. Interrupt suppression will be handled via the flic (for kvm, via a recently introduced kernel backend; for !kvm, in the flic code), so let's introduce a method to change the mode via the flic interface. We introduce the 'simm' and 'nimm' fields to QEMUS390FLICState to store interruption modes for each ISC. Each bit in 'simm' and 'nimm' targets one ISC, and collaboratively indicate three modes: ALL-Interruptions, SINGLE-Interruption and NO-Interruptions. This interface can initiate most transitions between the states; transition from SINGLE-Interruption to NO-Interruptions via adapter interrupt injection will be introduced in a following patch. The meaningful combinations are as follows: interruption mode | simm bit | nimm bit ------------------|----------|---------- ALL | 0 | 0 SINGLE | 1 | 0 NO | 1 | 1 Co-authored-by: Yi Min Zhao <[email protected]> Signed-off-by: Yi Min Zhao <[email protected]> Signed-off-by: Fei Li <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
6c1dd652a606f4446cdb8883ac68d6fb54b02e5c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6c1dd652a606f4446cdb8883ac68d6fb54b02e5c
2017-07-14 12:29:47+02:00
target-m68k: initialize FPU registers on reset, set FP registers to NaN and control registers to 0 Signed-off-by: Laurent Vivier <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]>
f4a6ce5155aab2a7ed7b9032a72187b37b3bfffe
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f4a6ce5155aab2a7ed7b9032a72187b37b3bfffe
2017-06-21 22:09:45+02:00
target/s390x: Indicate and check for local tlb clearing Let's allow to enable it for the qemu cpu model and correctly emulate it. Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
faf1c63d34861734895521277153c6c0e72b395c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/faf1c63d34861734895521277153c6c0e72b395c
2017-06-23 09:17:45-07:00
tests/test-char.c: Don't use main_loop_wait()'s return value In QEMU's main_loop() we used to check whether we should do a nonblocking call to main_loop(); this was deleted in commit e330c118f2a5, because now that vCPUs always drop the I/O thread lock it is an unnecessary optimization. The loop in test-char.c copied the old QEMU main_loop() code, but here the nonblocking check has never been necessary because this standalone test case doesn't hold the I/O lock anyway. Remove it, so we can drop the main_loop_wait() return value. Signed-off-by: Peter Maydell <[email protected]> Message-Id: <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
be59df797c6f465ef4f028fc2519efd2cfed4d30
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/be59df797c6f465ef4f028fc2519efd2cfed4d30
2017-07-04 14:39:27+02:00
block: protect modification of dirty bitmaps with a mutex Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Message-Id: <[email protected]> Signed-off-by: Fam Zheng <[email protected]>
b64bd51efa9bbf30df1b2f91477d2805678d0b93
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b64bd51efa9bbf30df1b2f91477d2805678d0b93
2017-06-16 07:55:00+08:00
Move CONFIG_KVM related definitions to kvm_i386.h pc.h and sysemu/kvm.h are also included from common code (where CONFIG_KVM is not available), so the #defines that depend on CONFIG_KVM should not be declared here to avoid that anybody is using them in a wrong way. Since we're also going to poison CONFIG_KVM for common code, let's move them to kvm_i386.h instead. Most of the dummy definitions from sysemu/kvm.h are also unused since the code that uses them is only compiled for CONFIG_KVM (e.g. target/i386/kvm.c), so the unused defines are also simply dropped here instead of being moved. Signed-off-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
2099935dbf2e7b1a1359d1c1ae312f976246065d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2099935dbf2e7b1a1359d1c1ae312f976246065d
2017-07-04 14:30:03+02:00
numa: remove node_cpu bitmaps as they are no longer used Postfactum "CPU(s) present in multiple NUMA nodes" check was the last user of node_cpu bitmaps, but it's not need as machine_set_cpu_numa_node() does the similar check at the time mapping is set for cpus (i.e. when -numa cpus= is parsed) and ensures that cpu can be mapped only to one node. Remove duplicate check based on node_cpu bitmaps and since the last user is gone remove node_cpu as well, which completes internal transition from legacy bitmap based mapping storage to possible_cpus storage. Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: David Gibson <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Message-Id: <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
1171ae9a5b132dc631728ff17688d05ed4534181
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1171ae9a5b132dc631728ff17688d05ed4534181
2017-05-11 16:08:50-03:00
numa: add check that board supports cpu_index to node mapping Default node mapping initialization already checks that board supports cpu_index to node mapping and refuses to start if it's not supported. Do the same for explicitly provided mapping "-numa node,cpus=..." Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: David Gibson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
64c2a8f6d3facc2f758907c3b95686fe9e999590
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/64c2a8f6d3facc2f758907c3b95686fe9e999590
2017-05-11 16:08:49-03:00
hw/timer/exynos4210_mct: Fix checkpatch style errors Fix checkpatch errors: 1. ERROR: spaces required around that '+' (ctx:VxV) 2. ERROR: spaces required around that '&' (ctx:VxV) No functional changes. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
92e5d7e2222c4aa2798b4c56690ec42f9dff90d1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/92e5d7e2222c4aa2798b4c56690ec42f9dff90d1
2017-06-13 14:56:56+01:00
migration: keep bytes_xfer_prev init'd to zero The first time migration_bitmap_sync() is called, bytes_xfer_prev is set to ram_state.bytes_transferred which is, at this point, zero. The next time migration_bitmap_sync() is called, an iteration has happened and bytes_xfer_prev is set to 'x' bytes. Most likely, more than one second has passed, so the auto converge logic will be triggered and bytes_xfer_now will also be set to 'x' bytes. This condition is currently masked by dirty_rate_high_cnt, which will wait for a few iterations before throttling. It would otherwise always assume zero bytes have been copied and therefore throttle the guest (possibly) prematurely. Given bytes_xfer_prev is only used by the auto convergence logic, it makes sense to only set its value after a check has been made against bytes_xfer_now. Signed-off-by: Felipe Franciosi <[email protected]> Reviewed-by: Peter Xu <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
9884db2814fbf1eb2ed99e02dadf58534d3ecc25
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9884db2814fbf1eb2ed99e02dadf58534d3ecc25
2017-05-31 09:39:20+02:00
Default to GSSAPI (Kerberos) instead of DIGEST-MD5 for SASL RFC 6331 documents a number of serious security weaknesses in the SASL DIGEST-MD5 mechanism. As such, QEMU should not be using or recommending it as a default mechanism for VNC auth with SASL. GSSAPI (Kerberos) is the only other viable SASL mechanism that can provide secure session encryption so enable that by defalt as the replacement. If users have TLS enabled for VNC, they can optionally decide to use SCRAM-SHA-1 instead of GSSAPI, allowing plain username and password auth. Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
c6a9a9f57503a2736c08711a0387c3e7718353ba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c6a9a9f57503a2736c08711a0387c3e7718353ba
2017-05-09 14:41:47+01:00
slirp: allow host port 0 for hostfwd The OS will allocate automatically a free port. This is useful if you want to be sure to not get any port conflict. You still have to figure out which port you got, for example with "lsof" (this could be exposed in the monitor if needed). Example of use: $ qemu-system-x86_64 -net user,hostfwd=127.0.0.1:0-:22 ... Then, get your port with: $ lsof -np 1474 | grep LISTEN qemu-syst 31777 bernat 12u IPv4 [...] TCP 127.0.0.1:35145 (LISTEN) Signed-off-by: Vincent Bernat <[email protected]> Signed-off-by: Samuel Thibault <[email protected]>
0bed71edbc323de12ed1e5390a85a013f6a143f4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0bed71edbc323de12ed1e5390a85a013f6a143f4
2017-04-29 18:29:58+02:00
qemu-img/convert: Move bs_n > 1 && -B check down It does not make much sense to use a backing image for the target when you concatenate multiple images (because then there is no correspondence between the source images' backing files and the target's); but it was still possible to give one by using -o backing_file=X instead of -B X. Fix this by moving the check. (Also, change the error message because -B is not the only way to specify the backing file, evidently.) Signed-off-by: Max Reitz <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
48758a84738c5be8cf022062ed0b85ff2ebacc0c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/48758a84738c5be8cf022062ed0b85ff2ebacc0c
2017-04-27 17:26:28+02:00
xen/9pfs: connect to the frontend Write the limits of the backend to xenstore. Connect to the frontend. Upon connection, allocate the rings according to the protocol specification. Initialize a QEMUBH to schedule work upon receiving an event channel notification from the frontend. Signed-off-by: Stefano Stabellini <[email protected]> CC: [email protected] CC: [email protected] CC: Aneesh Kumar K.V <[email protected]> CC: Greg Kurz <[email protected]>
f23ef34a5dec56103e1348a622a6adf7c87c821f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f23ef34a5dec56103e1348a622a6adf7c87c821f
2017-04-25 11:04:33-07:00
qga: Add 'guest-get-host-name' command Retrieving the guest host name is a very useful feature for virtual management systems. This information can help to have more user friendly VM access details, instead of an IP there would be the host name. Also the host name reported can be used to have automated checks for valid SSL certificates. virsh # qemu-agent-command F25 '{ "execute": "guest-get-host-name" }' {"return":{"host-name":"F25.lab.evilissimo.net"}} Signed-off-by: Vinzenz Feenstra <[email protected]> * minor whitespace fix-ups Signed-off-by: Michael Roth <[email protected]>
0a3d197a71b0508f5ca066488fbbbe45a61c44fe
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0a3d197a71b0508f5ca066488fbbbe45a61c44fe
2017-04-26 23:56:47-05:00
migration: Disable hotplug/unplug during migration Until we have reviewed what can/can't be hotplugged during migration, disable it. We can enable it later for the things that we know that work. For instance, memory hotplug during postcopy doesn't work currently. Signed-off-by: Juan Quintela <[email protected]> Reviewed-by: zhanghailiang <[email protected]> -- - Fix typo. Thanks Thomas. - Delay migration check after we have checked that we can hotplug that device. - more typos
b06424de62b362034e41ddf77eb8cfaa641d9009
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b06424de62b362034e41ddf77eb8cfaa641d9009
2017-04-21 12:25:40+02:00
cadence_gem: Make the revision a property Expose the Cadence GEM revision as a property. Signed-off-by: Alistair Francis <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Message-id: 541324373cf87b50f8be0439a0cb89f5028b016f.1491947224.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <[email protected]>
a5517666b21b85f1a02c7accf297938acb720699
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a5517666b21b85f1a02c7accf297938acb720699
2017-04-20 17:39:17+01:00
cpus: call cpu_update_icount on read This ensures each time the vCPU thread reads the icount we update the master timer_state.qemu_icount field. This way as long as updates are in BQL protected sections (which they should be) the main-loop can never come to update the log and find time has gone backwards. Signed-off-by: Alex Bennée <[email protected]>
1d05906b95e7f2a35be2392506f9af8f89ff39a5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1d05906b95e7f2a35be2392506f9af8f89ff39a5
2017-04-10 10:23:38+01:00
target/mips: fix delay slot detection in gen_msa_branch() It is unnecessary to test R6 from delay/forbidden slot check in gen_msa_branch(). https://bugs.launchpad.net/qemu/+bug/1663287 Reported-by: Brian Campbell <[email protected]> Signed-off-by: Yongbok Kim <[email protected]>
075a1fe788d36b271ec25507466c30b9a90b5d54
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/075a1fe788d36b271ec25507466c30b9a90b5d54
2017-03-20 11:19:14+00:00
io: fix incoming client socket initialization The channel socket was initialized manually, but forgot to set QIO_CHANNEL_FEATURE_SHUTDOWN. Thus, the colo_process_incoming_thread would hang at recvmsg. This patch just call qio_channel_socket_new to get channel, Which set QIO_CHANNEL_FEATURE_SHUTDOWN already. Signed-off-by: Wang Guang<[email protected]> Signed-off-by: zhanghailiang <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
0e5d6327f3abb8d582cbc2e444a23ef0dc6a64c7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0e5d6327f3abb8d582cbc2e444a23ef0dc6a64c7
2017-04-04 16:17:03+01:00
COLO-compare: Optimize compare_common and compare_tcp Add offset args for colo_packet_compare_common, optimize colo_packet_compare_icmp() and colo_packet_compare_udp() just compare the IP payload. Before compare all tcp packet, we compare tcp checksum firstly, this function can get better performance. Signed-off-by: Zhang Chen <[email protected]> Signed-off-by: Jason Wang <[email protected]>
6efeb3286dd80c8c943f50fbb5f611d525cd6f8a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6efeb3286dd80c8c943f50fbb5f611d525cd6f8a
2017-03-06 11:46:02+08:00
virtio: guard vring access when setting notification Switching to vring caches exposed an existing bug in virtio_queue_set_notification(): We can't access vring structures if they have not been set up yet. This may happen, for example, for virtio-blk devices with multiple queues: The code will try to switch notifiers for every queue, but the guest may have only set up a subset of them. Fix this by guarding access to the vring memory by checking for vring.desc. The first aio poll will iron out any remaining inconsistencies for later-configured queues (buggy legacy drivers). Signed-off-by: Cornelia Huck <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
34c6bf22a8d9b60c513df151aa0a791ef53bf81d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/34c6bf22a8d9b60c513df151aa0a791ef53bf81d
2017-03-02 07:14:27+02:00
armv7m: Make NVIC expose a memory region rather than mapping itself Make the NVIC device expose a memory region for its users to map, rather than mapping itself into the system memory space on realize, and get the one user (the ARMv7M object) to do this. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Message-id: [email protected]
98957a94ef14311efcacb443566fb3a4231b21df
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/98957a94ef14311efcacb443566fb3a4231b21df
2017-02-28 16:18:49+00:00
block: Involve block drivers in permission granting In many cases, the required permissions of one node on its children depend on what its parents require from it. For example, the raw format or most filter drivers only need to request consistent reads if that's something that one of their parents wants. In order to achieve this, this patch introduces two new BlockDriver callbacks. The first one lets drivers first check (recursively) whether the requested permissions can be set; the second one actually sets the new permission bitmask. Also add helper functions that drivers can use in their implementation of the callbacks to update their permissions on a specific child. Signed-off-by: Kevin Wolf <[email protected]> Acked-by: Fam Zheng <[email protected]> Reviewed-by: Max Reitz <[email protected]>
33a610c398603efafd954c706ba07850835a5098
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/33a610c398603efafd954c706ba07850835a5098
2017-02-28 20:40:36+01:00
hw/i386: Use Rev3 FADT (ACPI 2.0) instead of Rev1 to improve guest OS support. This updates the FADT generated for x86/64 machine types from Revision 1 to 3. (Based on ACPI standard 2.0 instead of 1.0) The intention is to expose the reset register information to guest operating systems which require it, specifically OS X/macOS. Revision 1 FADTs do not contain the fields relating to the reset register. The new layout and contents remains backwards-compatible with operating systems which only support ACPI 1.0, as the existing fields are not modified by this change, as the 64-bit and 32-bit variants are allowed to co-exist according to the ACPI 2.0 standard. No regressions became apparent in tests with a range of Windows (XP-10) and Linux versions. The BIOS tables test suite's FADT checksum test has also been updated to reflect the new FADT layout and content. Signed-off-by: Phil Dennis-Jordan <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
77af8a2b95b79699de650965d5228772743efe84
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/77af8a2b95b79699de650965d5228772743efe84
2017-05-03 12:29:40+02:00
target/ppc: Fix KVM-HV HPTE accessors When a 'pseries' guest is running with KVM-HV, the guest's hashed page table (HPT) is stored within the host kernel, so it is not directly accessible to qemu. Most of the time, qemu doesn't need to access it: we're using the hardware MMU, and KVM itself implements the guest hypercalls for manipulating the HPT. However, qemu does need access to the in-KVM HPT to implement get_phys_page_debug() for the benefit of the gdbstub, and maybe for other debug operations. To allow this, 7c43bca "target-ppc: Fix page table lookup with kvm enabled" added kvmppc_hash64_read_pteg() to target/ppc/kvm.c to read in a batch of HPTEs from the KVM table. Unfortunately, there are a couple of problems with this: First, the name of the function implies it always reads a whole PTEG from the HPT, but in fact in some cases it's used to grab individual HPTEs (which ends up pulling 8 HPTEs, not aligned to a PTEG from the kernel). Second, and more importantly, the code to read the HPTEs from KVM is simply wrong, in general. The data from the fd that KVM provides is designed mostly for compact migration rather than this sort of one-off access, and so needs some decoding for this purpose. The current code will work in some cases, but if there are invalid HPTEs then it will not get sane results. This patch rewrite the HPTE reading function to have a simpler interface (just read n HPTEs into a caller provided buffer), and to correctly decode the stream from the kernel. For consistency we also clean up the similar function for altering HPTEs within KVM (introduced in c138593 "target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab"). Cc: Aneesh Kumar K.V <[email protected]> Signed-off-by: David Gibson <[email protected]>
1ad9f0a464fe78d30ee60b3629f7a825cf2fab13
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1ad9f0a464fe78d30ee60b3629f7a825cf2fab13
2017-03-01 11:23:39+11:00
qcow2: Use BB for resizing in qcow2_amend_options() In order to able to convert bdrv_truncate() to take a BdrvChild and later to correctly check the resize permission here, we need to use a BlockBackend for resizing the image. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Max Reitz <[email protected]>
70b27f364315e4ad4cb77cdebe530e5bdbdf3dcb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/70b27f364315e4ad4cb77cdebe530e5bdbdf3dcb
2017-02-24 16:09:23+01:00
nfs: do not use aio_context_acquire/release Now that all bottom halves and callbacks take care of taking the AioContext lock, we can migrate some users away from it and to a specific QemuMutex or CoMutex. Protect libnfs calls with a QemuMutex. Callbacks are invoked using bottom halves, so we don't even have to drop it around callback invocations. Signed-off-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
37d1e4d9bfac846a1331375aab3d13b54a048c01
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/37d1e4d9bfac846a1331375aab3d13b54a048c01
2017-02-27 13:58:53+00:00
s390x: add property adapter_routes_max_batch To make virtio-ccw supports more that 64 virtqueues we will have to increase ADAPTER_ROUTES_MAX_GSI which is currently limiting the number if possible adapter routes. Of course increasing the number of supported routes can break backwards migration. Let us introduce a compatibility property adapter_routes_max_batch so client code can use the some old limit if in compatibility mode and retain the migration compatibility. Signed-off-by: Halil Pasic <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
e61cc6b5c6909fa69059036bb910ef1725dc7f90
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e61cc6b5c6909fa69059036bb910ef1725dc7f90
2017-02-24 10:15:18+01:00
disas/cris.c: Fix Coverity warning about unchecked NULL Coverity (CID 1005689) warns that we don't check that spec_reg_info() returned non-NULL before dereferencing. Add the check, though as the comment notes this is a can't-really-happen case because the earlier constraint matching should have ruled out the "unknown reg" case. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
e11078846996ded6f824868ae63a0c77031ad64c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e11078846996ded6f824868ae63a0c77031ad64c
2017-01-24 23:26:53+03:00
block: move AioContext, QEMUTimer, main-loop to libqemuutil AioContext is fairly self contained, the only dependency is QEMUTimer but that in turn doesn't need anything else. So move them out of block-obj-y to avoid introducing a dependency from io/ to block-obj-y. main-loop and its dependency iohandler also need to be moved, because later in this series io/ will call iohandler_get_aio_context. [Changed copyright "the QEMU team" to "other QEMU contributors" as suggested by Daniel Berrange and agreed by Paolo. --Stefan] Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Fam Zheng <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
c2b38b277a7882a592f4f2ec955084b2b756daaa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c2b38b277a7882a592f4f2ec955084b2b756daaa
2017-02-21 11:14:07+00:00
s390x/pci: change the device array to a list In order to support a greater number of devices we use a QTAILQ list of devices instead of a limited array. This leads us to change: - every lookup function s390_pci_find_xxx() for QTAILQ - the FH_MASK_INDEX to index up to 65536 devices Signed-off-by: Pierre Morel <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
e70377dfa4bbc2e101066ca35675bed4129c5a8c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e70377dfa4bbc2e101066ca35675bed4129c5a8c
2017-01-20 10:01:24+01:00
vhost_net: device IOTLB support This patches implements Device IOTLB support for vhost kernel. This is done through: 1) switch to use dma helpers when map/unmap vrings from vhost codes 2) introduce a set of VhostOps to: - setting up device IOTLB request callback - processing device IOTLB request - processing device IOTLB invalidation 2) kernel support for Device IOTLB API: - allow vhost-net to query the IOMMU IOTLB entry through eventfd - enable the ability for qemu to update a specified mapping of vhost - through ioctl. - enable the ability to invalidate a specified range of iova for the device IOTLB of vhost through ioctl. In x86/intel_iommu case this is triggered through iommu memory region notifier from device IOTLB invalidation descriptor processing routine. With all the above, kernel vhost_net can co-operate with userspace IOMMU. For vhost-user, the support could be easily done on top by implementing the VhostOps. Cc: Michael S. Tsirkin <[email protected]> Signed-off-by: Jason Wang <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
c471ad0e9bd46ca5f5c9c796e727230e043a091d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c471ad0e9bd46ca5f5c9c796e727230e043a091d
2017-01-18 22:59:53+02:00
target/xtensa: tests: add ccount write tests Check that CCOUNT SR is writable and that CCOMPARE timers are updated when CCOUNT is written to. Signed-off-by: Max Filippov <[email protected]>
0a362d0768c443cf9e5c36c8398c92bfebe9b8a4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0a362d0768c443cf9e5c36c8398c92bfebe9b8a4
2017-01-15 13:01:56-08:00
tcg: Minor adjustments to deposit expanders Assert that len is not 0. Since we have asserted that ofs + len <= N, a later check for len == N implies that ofs == 0. Reviewed-by: Alex Bennée <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
0d0d309df0d945e481134f9ef061641f88a2e998
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0d0d309df0d945e481134f9ef061641f88a2e998
2017-01-10 07:59:11-08:00
hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg Introduce the following fw_cfg files: - "etc/smi/supported-features": a little endian uint64_t feature bitmap, presenting the features known by the host to the guest. Read-only for the guest. The content of this file will be determined via bit-granularity ICH9-LPC device properties, to be introduced later. For now, the bitmask is left zeroed. The bits will be set from machine type compat properties and on the QEMU command line, hence this file is not migrated. - "etc/smi/requested-features": a little endian uint64_t feature bitmap, representing the features the guest would like to request. Read-write for the guest. The guest can freely (re)write this file, it has no direct consequence. Initial value is zero. A nonzero value causes the SMI-related fw_cfg files and fields that are under guest influence to be migrated. - "etc/smi/features-ok": contains a uint8_t value, and it is read-only for the guest. When the guest selects the associated fw_cfg key, the guest features are validated against the host features. In case of error, the negotiation doesn't proceed, and the "features-ok" file remains zero. In case of success, the "features-ok" file becomes (uint8_t)1, and the negotiated features are locked down internally (to which no further changes are possible until reset). The initial value is zero. A nonzero value causes the SMI-related fw_cfg files and fields that are under guest influence to be migrated. The C-language fields backing the "supported-features" and "requested-features" files are uint8_t arrays. This is because they carry guest-side representation (our choice is little endian), while VMSTATE_UINT64() assumes / implies host-side endianness for any uint64_t fields. If we migrate a guest between hosts with different endiannesses (which is possible with TCG), then the host-side value is preserved, and the host-side representation is translated. This would be visible to the guest through fw_cfg, unless we used plain byte arrays. So we do. Cc: "Michael S. Tsirkin" <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Igor Mammedov <[email protected]> Cc: Paolo Bonzini <[email protected]> Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
50de920b372b21e129667e16e016329d7204a7b2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/50de920b372b21e129667e16e016329d7204a7b2
2017-01-27 18:07:31+01:00
target/i386: Add Intel HAX files That's a forward port of the core HAX interface code from the emu-2.2-release branch in the external/qemu-android repository as used by the Android emulator. The original commit was "target/i386: Add Intel HAX to android emulator" saying: """ Backport of 2b3098ff27bab079caab9b46b58546b5036f5c0c from studio-1.4-dev into emu-master-dev Intel HAX (harware acceleration) will enhance android emulator performance in Windows and Mac OS X in the systems powered by Intel processors with "Intel Hardware Accelerated Execution Manager" package installed when user runs android emulator with Intel target. Signed-off-by: David Chou <[email protected]> """ It has been modified to build and run along with the current code base. The formatting has been fixed to go through scripts/checkpatch.pl, and the DPRINTF macros have been updated to get the instanciations checked by the compiler. The FPU registers saving/restoring has been updated to match the current QEMU registers layout. The implementation has been simplified by doing the following modifications: - removing the code for supporting the hardware without Unrestricted Guest (UG) mode (including all the code to fallback on TCG emulation). - not including the Darwin support (which is not yet debugged/tested). - simplifying the initialization by removing the leftovers from the Android specific code, then trimming down the remaining logic. - removing the unused MemoryListener callbacks. Signed-off-by: Vincent Palatin <[email protected]> Message-Id: <e1023837f8d0e4c470f6c4a3bf643971b2bca5be.1484045952.git.vpalatin@chromium.org> Signed-off-by: Paolo Bonzini <[email protected]>
47c1c8c12f6c8b3c6e0da7bbd93fd4e1724cf114
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/47c1c8c12f6c8b3c6e0da7bbd93fd4e1724cf114
2017-01-19 22:07:46+01:00
qapi: add qapi2texi script As the name suggests, the qapi2texi script converts JSON QAPI description into a texi file suitable for different target formats (info/man/txt/pdf/html...). It parses the following kind of blocks: Free-form: ## # = Section # == Subsection # # Some text foo with *emphasis* # 1. with a list # 2. like that # # And some code: # | $ echo foo # | -> do this # | <- get that # ## Symbol description: ## # @symbol: # # Symbol body ditto ergo sum. Foo bar # baz ding. # # @param1: the frob to frobnicate # @param2: #optional how hard to frobnicate # # Returns: the frobnicated frob. # If frob isn't frobnicatable, GenericError. # # Since: version # Notes: notes, comments can have # - itemized list # - like this # # Example: # # -> { "execute": "quit" } # <- { "return": {} } # ## That's roughly following the following EBNF grammar: api_comment = "##\n" comment "##\n" comment = freeform_comment | symbol_comment freeform_comment = { "# " text "\n" | "#\n" } symbol_comment = "# @" name ":\n" { member | tag_section | freeform_comment } member = "# @" name ':' [ text ] "\n" freeform_comment tag_section = "# " ( "Returns:", "Since:", "Note:", "Notes:", "Example:", "Examples:" ) [ text ] "\n" freeform_comment text = free text with markup Note that the grammar is ambiguous: a line "# @foo:\n" can be parsed both as freeform_comment and as symbol_comment. The actual parser recognizes symbol_comment. See docs/qapi-code-gen.txt for more details. Deficiencies and limitations: - the generated QMP documentation includes internal types - union type support is lacking - type information is lacking in generated documentation - doc comment error message positions are imprecise, they point to the beginning of the comment. - a few minor issues, all marked TODO/FIXME in the code Signed-off-by: Marc-André Lureau <[email protected]> Message-Id: <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> [test-qapi.py tweaked to avoid trailing empty lines in .out] Signed-off-by: Markus Armbruster <[email protected]>
3313b6124b524893683311e01437a82b40784e8b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3313b6124b524893683311e01437a82b40784e8b
2017-01-16 10:10:35+01:00
aio: add flag to skip fds to aio_dispatch() Polling mode will not call ppoll(2)/epoll_wait(2). Therefore we know there are no fds ready and should avoid looping over fd handlers in aio_dispatch(). Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
721671ade77f4046b45893fbb7864ca84b9504cd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/721671ade77f4046b45893fbb7864ca84b9504cd
2017-01-03 16:38:47+00:00
vhost-user: Add MTU protocol feature and op This patch implements VHOST_USER_PROTOCOL_F_NET_MTU protocol feature and VHOST_USER_NET_SET_MTU request so that the backend gets notified of the user defined host MTU. If backend supports VHOST_USER_PROTOCOL_F_REPLY_ACK, QEMU assumes MTU is valid if success is returned. Vhost-net driver sends this request through a new vhost_net_set_mtu vhost_ops entry. Cc: Michael S. Tsirkin <[email protected]> Cc: Aaron Conole <[email protected]> Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
c5f048d8fb69ae9b52a02ff4435b403b2ba19db7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c5f048d8fb69ae9b52a02ff4435b403b2ba19db7
2017-01-10 07:02:53+02:00
quorum: Clean up quorum_aio_get() Make sure that all fields of the new QuorumAIOCB are zeroed when the function returns even without explicitly setting them. This will protect us when new fields are added, removes some explicit zero assignment and makes the code a little nicer to read. Suggested-by: Eric Blake <[email protected]> Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Alberto Garcia <[email protected]>
7c37f941d028e2a1bf350ffb292684f2e1a292c7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7c37f941d028e2a1bf350ffb292684f2e1a292c7
2017-01-09 13:30:52+01:00
cadence_uart: Check baud rate generator and divider values on migration The Cadence UART device emulator calculates speed by dividing the baud rate by a 'baud rate generator' & 'baud rate divider' value. The device specification defines these register values to be non-zero and within certain limits. Checks were recently added when writing to these registers but not when restoring from migration. This patch adds checks when restoring from migration to avoid divide by zero errors. Reported-by: Huawei PSIRT <[email protected]> Signed-off-by: Alistair Francis <[email protected]> Message-id: 04ae30ed8ee1758cd2d2af880da4d28f74c67738.1481132150.git.alistair.francis@xilinx.com Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
450aaae8638e4c75ac6547ce6e09d63281a5a925
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/450aaae8638e4c75ac6547ce6e09d63281a5a925
2016-12-27 14:59:22+00:00
virtio: avoid using guest_notifier_mask in vhost-user mode Because guest mask notifier cannot be used in vhost-user mode, a boolean flag "use_guest_notifier_mask" was added in commit 5669655aafd to disable the use of guest mask notifier under virtio-pci. However this flag wasn't checked in other virtio devices, such as virtio-mmio. In our tests, it caused assertion error under "vhost-user + virtio-mmio". This patch addresses this problem by adding a check before guest_notifier_mask is called. Signed-off-by: Wei Huang <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
2858bc68701e282c404ed04d65d4f065e4b40e52
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2858bc68701e282c404ed04d65d4f065e4b40e52
2016-12-16 01:14:54+02:00
i386: amd_iommu: fix MMIO register count and access IOMMU MMIO registers are divided in two groups by their offsets. Low offsets(<0x2000) registers are grouped into 'amdvi_mmio_low' table and higher offsets(>=0x2000) registers are grouped into 'amdvi_mmio_high' table. No of registers in each table is given by macro 'AMDVI_MMIO_REGS_LOW' and 'AMDVI_MMIO_REGS_HIGH' resp. Values of these two macros were swapped, resulting in an OOB access when reading 'amdvi_mmio_high' table. Correct these two macros. Also read from 'amdvi_mmio_low' table for lower address. Reported-by: Azureyang <[email protected]> Signed-off-by: Prasad J Pandit <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
d9429b84af2302b6e28bec3c52710cf67eda3cee
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d9429b84af2302b6e28bec3c52710cf67eda3cee
2016-12-16 01:14:38+02:00
contrib: add libvhost-user Add a library to help implementing vhost-user backend (or slave). Dealing with vhost-user as an application developer isn't so easy: you have all the trouble with any protocol: validation, unix ancillary data, shared memory, eventfd, logging, and on top of that you need to deal with virtio queues, if possible efficiently. qemu test has a nice vhost-user testing application vhost-user-bridge, which implements most of vhost-user, and virtio.c which implements virtqueues manipulation. Based on these two, I tried to make a simple library, reusable for tests or development of new vhost-user scenarios. Signed-off-by: Marc-André Lureau <[email protected]> [Felipe: set used_idx copy on SET_VRING_ADDR and update shadow avail idx on SET_VRING_BASE] Signed-off-by: Felipe Franciosi <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
7b2e5c65f42fff7a418e2b8216e92f5e0a0c3e7e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7b2e5c65f42fff7a418e2b8216e92f5e0a0c3e7e
2016-12-16 01:14:38+02:00
migration: fix missing assignment for has_x_checkpoint_delay We forgot to assign true to params->has_x_checkpoint_delay parameter in qmp_query_migrate_parameters. Without this, qmp command 'query-migrate-parameters' doesn't show the default value for x-checkpoint-delay option. This also fixes the fact that HMP was relying on unspecified behavior by reading x_checkpoint_delay without checking has_x_checkpoint_delay. Signed-off-by: zhanghailiang <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
fe39a4d44004408b8c847151191f1948a4aa6570
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fe39a4d44004408b8c847151191f1948a4aa6570
2016-11-14 14:50:56+01:00
target-ppc: Fix CPU migration from qemu-2.6 <-> later versions When migration for target-ppc was converted to vmstate, several VMSTATE_EQUAL() checks were foolishly included of things that really should be internal state. Specifically we verified equality of the insns_flags and insns_flags2 fields, which are used within TCG to determine which groups of instructions are available on this cpu model. Between qemu-2.6 and qemu-2.7 we made some changes to these classes which broke migration. This path fixes migration both forwards and backwards. On migration from 2.6 to later versions we import the fields into teporary variables, which we then ignore. In migration backwards, we populate the temporary fields from the runtime fields, but mask out the bits which were added after qemu-2.6, allowing the VMSTATE_EQUAL in qemu-2.6 to accept the stream. Signed-off-by: David Gibson <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Greg Kurz <[email protected]>
16a2497bd44cac1856e259654fd304079bd1dcdc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/16a2497bd44cac1856e259654fd304079bd1dcdc
2016-11-23 12:00:48+11:00
target-ppc: Allow eventual removal of old migration mistakes Until very recently, the vmstate for ppc cpus included some poorly thought out VMSTATE_EQUAL() components, that can easily break migration compatibility, and did so between qemu-2.6 and later versions. A hack was recently added which fixes this migration breakage, but it leaves the unhelpful cruft of these fields in the migration stream. This patch adds a new cpu property allowing these fields to be removed from the stream entirely. For the pseries-2.8 machine type - which comes after the fix - and for all non-pseries machine types - which aren't mature enough to care about cross-version migration - we remove the fields from the stream. For pseries-2.7 and earlier, The migration hack remains in place, allowing backwards and forwards migration with the older machine types. This restricts the migration compatibility cruft to older machine types, and at least opens the possibility of eventually deprecating and removing it entirely. Signed-off-by: David Gibson <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Greg Kurz <[email protected]> Reviewed-by: Alexey Kardashevskiy <[email protected]>
146c11f16f12dbfea62cbd7f865614bb6fcbc6b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/146c11f16f12dbfea62cbd7f865614bb6fcbc6b5
2016-11-23 12:00:48+11:00