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
Hardware convenience library The only target dependency for most hardware is sizeof(target_phys_addr_t). Build these files into a convenience library, and use that instead of building for every target. Remove and poison various target specific macros to avoid bogus target dependencies creeping back in. Big/Little endian is not handled because devices should not know or care about this to start with. Signed-off-by: Paul Brook <[email protected]>
1ad2134f914dfd4c8f92307c94c9a5a1e28f0059
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1ad2134f914dfd4c8f92307c94c9a5a1e28f0059
2009-05-19 16:17:58+01:00
net: add '-net tap,sndbuf=nbytes' 2.6.30 adds a new TUNSETSNDBUF ioctl() which allows a send buffer limit for the tap device to be specified. When this limit is reached, a tap write() will return EAGAIN and poll() will indicate the fd isn't writable. This allows people to tune their setups so as to avoid e.g. UDP packet loss when the sending application in the guest out-runs the NIC in the host. There is no obviously sensible default setting - a suitable value depends mostly on the capabilities of the physical NIC through which the packets are being sent. Also, note that when using a bridge with netfilter enabled, we currently never get EAGAIN because netfilter causes the packet to be immediately orphaned. Set /proc/sys/net/bridge/bridge nf-call-iptables to zero to disable this behaviour. Signed-off-by: Mark McLoughlin <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
0df0ff6de70393680cea81ad696d9d74b75f88da
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0df0ff6de70393680cea81ad696d9d74b75f88da
2009-06-22 10:15:30-05:00
Properly handle pthread_cond_timedwait timing out pthread_cond_timedwait is allowed to both consume the signal and return with the value indicating the timeout, hence predicate should always be (re)checked before taking an action git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6634 c046a42c-6fe2-441c-8c8c-71466251a162
514f7a277473a79fd42303f128379792a4667e65
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/514f7a277473a79fd42303f128379792a4667e65
2009-02-21 05:48:19+00:00
qemu:virtio-net: Check return size on the correct sg list (Alex Williamson) When checking that the size of the control virtqueue return field is sufficient, use the correct sg list. Signed-off-by: Alex Williamson <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6845 c046a42c-6fe2-441c-8c8c-71466251a162
c6bb9a32cb97214b2ee0845858c27c24c8da61da
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c6bb9a32cb97214b2ee0845858c27c24c8da61da
2009-03-13 15:04:02+00:00
Allow the monitor to be suspended during non-blocking op Live migration happens in the background, but it is useful to make the monitor command appear as if it's blocking. This allows a management tool to immediately know when the live migration has completed without having to poll the migration status. This patch allows the monitor to be suspended from a monitor callback which will prevent new monitor commands from being executed. Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5431 c046a42c-6fe2-441c-8c8c-71466251a162
d8f4460989d6d6749ff649f1c5439de38c2dfeab
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d8f4460989d6d6749ff649f1c5439de38c2dfeab
2008-10-06 13:52:44+00:00
Introduce block dma helpers (Avi Kivity) These helpers perform read/write requests on entire scatter/gather lists, relieving the device emulation code from mapping and unmapping physical memory, and from looping when map resources are exhausted. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6524 c046a42c-6fe2-441c-8c8c-71466251a162
59a703ebaa9cb5aeda986dc8f627b8d23e3297cd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/59a703ebaa9cb5aeda986dc8f627b8d23e3297cd
2009-02-05 21:23:58+00:00
LSI53C895A: Remove current_dma_len hack Signed-off-by: Justin Chevrier <address@hidden> Acked-by: Ryan Harper <[email protected]> Acked-by: Chris Wright <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5901 c046a42c-6fe2-441c-8c8c-71466251a162
c021db86a4968f456f6365eab158107c131df22e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c021db86a4968f456f6365eab158107c131df22e
2008-12-07 03:03:21+00:00
Initialize msr list size properly in KVM Hollis Blanchard noticed that the last commit was not sufficient. We also need to initialize the msr size in our newly allocated list. Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6018 c046a42c-6fe2-441c-8c8c-71466251a162
55308450d417c549e6bab2ae234d05488f92fd88
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/55308450d417c549e6bab2ae234d05488f92fd88
2008-12-13 20:49:31+00:00
Add qemu_strndup: qemu_strdup with length limit. Also optimise qemu_strdup by using memcpy - using pstrcpy is usually suboptimal. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5653 c046a42c-6fe2-441c-8c8c-71466251a162
ac4b0d0c4feb291643c0e8a07a92e449e13881b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ac4b0d0c4feb291643c0e8a07a92e449e13881b5
2008-11-09 00:28:40+00:00
Fix qemu endless loop when raising a SIGSEGV/SIGBUS signal with gdbstub in user emulation When a SIGSEGV signal is raised in user mode emulation the current test to know whether the signal is sent by the kernel is wrong : info->si_code == SI_KERNEL according to /usr/include/bits/siginfo.h it should be info->si_code > 0 Signed-off-by: Lionel Landwerlin <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6151 c046a42c-6fe2-441c-8c8c-71466251a162
eaa449b94039d90c0bf17721528b7a8d97e74251
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/eaa449b94039d90c0bf17721528b7a8d97e74251
2009-01-03 13:14:52+00:00
Add --kerneldir configure argument This allows a user to override the default search path and also makes cross compilation work a bit nicer wrt KVM detection. Signed-off-by: Anthony Liguori <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5628 c046a42c-6fe2-441c-8c8c-71466251a162
eac3026225fe7224a1e1c492482b7480df5f36ea
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/eac3026225fe7224a1e1c492482b7480df5f36ea
2008-11-05 16:28:56+00:00
Use snprintf to please OpenBSD linker git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5529 c046a42c-6fe2-441c-8c8c-71466251a162
5b3715bfdafcf35c352aa6d273cadd4eb543c449
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5b3715bfdafcf35c352aa6d273cadd4eb543c449
2008-10-25 11:18:12+00:00
Special-case CTL_ALIAS instead of CTL_DNS in udp loopback test. At the same time remove a bogus test (tested by Jason Wessel). Quiet some gcc4 warnings from slirp compilation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4402 c046a42c-6fe2-441c-8c8c-71466251a162
242acf3af4605adce933906bdc053b2414181ec7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/242acf3af4605adce933906bdc053b2414181ec7
2008-05-10 01:49:53+00:00
Fix interrupt exclusion via SSTEP_NOIRQ Commit #5620 revealed an issue of the SSTEP_NOIRQ masking that was applied on all interrupt sources (including internal ones) when single stepping through the guest. Due to that commit, we now ended up in an infinite loop when CPU_INTERRUPT_EXIT was pending on SSTEP resume. That was due to #5620 eating all TBs while CPU_INTERRUPT_EXIT is pending, but SSTEP_NOIRQ preventing CPU_INTERRUPT_EXIT to be processed. What SSTEP_NOIRQ should actually do is to block the delivery of all external, guest visible interrupts. With the fix below applied, single stepping now works again. Signed-off-by: Jan Kiszka <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5643 c046a42c-6fe2-441c-8c8c-71466251a162
e1638bd8588d780079e231b109ac94f0c281efda
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e1638bd8588d780079e231b109ac94f0c281efda
2008-11-06 18:54:46+00:00
CRIS MMU Updates * Add support for exec faults and for the k protection bit. * Abort if search_pc causes recursive mmu faults. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4349 c046a42c-6fe2-441c-8c8c-71466251a162
ef29a70d18c2d551cf4bb74b8aa9638caac3391b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ef29a70d18c2d551cf4bb74b8aa9638caac3391b
2008-05-06 08:04:40+00:00
Add serial loopback mode (patch from Hervé Poussineau). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3973 c046a42c-6fe2-441c-8c8c-71466251a162
b2a5160c9f11cc5fe64230a6ec8f95e3aecfeacf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b2a5160c9f11cc5fe64230a6ec8f95e3aecfeacf
2008-02-10 13:40:52+00:00
Prevent overwriting fixed bits in AFSR git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3752 c046a42c-6fe2-441c-8c8c-71466251a162
c52428fcb1b3381f6ef3c64a26dfd55c5c874da6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c52428fcb1b3381f6ef3c64a26dfd55c5c874da6
2007-12-01 14:51:24+00:00
Fix count calculation when counter limit set to 0 (Robert Reif) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3840 c046a42c-6fe2-441c-8c8c-71466251a162
bd7e2875fe99ca9621c02666e11389602b512f4b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/bd7e2875fe99ca9621c02666e11389602b512f4b
2007-12-19 17:58:24+00:00
Fix up pxe boot (Glauber Costa) As discussed in http://lists.gnu.org/archive/html/qemu-devel/2008-08/msg00667.html, current pxe boot is broken for some use cases. The problem goes away if we reduce the number of allowed bits in the address space to 32 (which has the side effect of reducing guest max mem size to 4Gb). After digging for a while, it turns out that it happens because pxelinux tries to access address 0x10009e9a6, which does not fit a 32-bit address. A closer look, however, reveals this access is totally valid: It's just 0x9e9a6 with an add carry. To avoid this, this patch casts the address passed to the POPL macro to a 32-bit value. This is also done, although just theorectically, for PUSHL too. Signed-off-by: Glauber Costa <[email protected]> Signed-off-by: Anthony Liguori <[email protected]> Reported-by: Chris Lalancette <[email protected]> CC: Eduardo Habkost <[email protected]> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5182 c046a42c-6fe2-441c-8c8c-71466251a162
c0a04f0e130fa98da8b89e74debd379c2f08d120
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c0a04f0e130fa98da8b89e74debd379c2f08d120
2008-09-09 14:49:02+00:00
suppressed invalid TARGET_CMSG_FIRSTHDR macro git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3601 c046a42c-6fe2-441c-8c8c-71466251a162
0ba22212d558e49ed6d44ce4834ccec7a7987b23
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0ba22212d558e49ed6d44ce4834ccec7a7987b23
2007-11-11 17:39:38+00:00
Quickly hack PowerPC BIOS able to boot on CDROM again. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3309 c046a42c-6fe2-441c-8c8c-71466251a162
55aa45ddde3283cdd781326d001f7456bf02f684
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/55aa45ddde3283cdd781326d001f7456bf02f684
2007-10-01 06:44:33+00:00
Add some missing checks for host syscalls. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3174 c046a42c-6fe2-441c-8c8c-71466251a162
3ae43202754711808ea5186e327bfd0533dd88fc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3ae43202754711808ea5186e327bfd0533dd88fc
2007-09-16 21:39:48+00:00
We never have to export ppc_set_irq. Protect PowerPC 64 only features with #ifdef (TARGET_PPC64) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3316 c046a42c-6fe2-441c-8c8c-71466251a162
00af685fc974e4941ef2d309a2e8818d311a370c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/00af685fc974e4941ef2d309a2e8818d311a370c
2007-10-03 01:05:39+00:00
Hack to keep wine happy, by Alexander Graf. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2993 c046a42c-6fe2-441c-8c8c-71466251a162
d6eb40f6509657a03842daffbb4bd7a54c9f4ffb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d6eb40f6509657a03842daffbb4bd7a54c9f4ffb
2007-06-21 22:55:02+00:00
Move configure --help output before gcc checks. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1798 c046a42c-6fe2-441c-8c8c-71466251a162
af5db58e8b8a997fb3849046ec1f5df4527ff8b8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/af5db58e8b8a997fb3849046ec1f5df4527ff8b8
2006-04-08 14:26:41+00:00
Alignment check mechanism (not fully enabled yet) (Aurelien Jarno) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2655 c046a42c-6fe2-441c-8c8c-71466251a162
d2889a3efc3851e62de69cb9d88fb784c28e0ed8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d2889a3efc3851e62de69cb9d88fb784c28e0ed8
2007-04-13 15:46:16+00:00
hack for target_ulong define git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@525 c046a42c-6fe2-441c-8c8c-71466251a162
b9f19507970ae813ca14e12887b01a2abbca8eaa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b9f19507970ae813ca14e12887b01a2abbca8eaa
2004-01-04 18:17:13+00:00
gcc32 may well be a 4.x version for a 32bit target, so add an additional check, hopefully not too strict. Probe also gcc-3.3.6 to make Gentoo users happy. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3087 c046a42c-6fe2-441c-8c8c-71466251a162
d4af3de224fbb4677744e9d0661a6296fca791ba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d4af3de224fbb4677744e9d0661a6296fca791ba
2007-07-26 20:41:46+00:00
ide: pass IDEState to trim AIO callback It will be needed to handle invalid requests Signed-off-by: Anton Nefedov <[email protected]> Message-id: [email protected] Signed-off-by: John Snow <[email protected]>
ef0e64a9838c0a20b5cb8a0bd2dcbcc59b0b812d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ef0e64a9838c0a20b5cb8a0bd2dcbcc59b0b812d
2018-01-19 16:04:54-05:00
correct zero segment values when coming from VM86 mode - cache infos in CPUID - simpler exception handling in load_seg() - validate segments after lret/iret git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@485 c046a42c-6fe2-441c-8c8c-71466251a162
8e682019e37c8f8939244fcf44a592fa6347d127
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8e682019e37c8f8939244fcf44a592fa6347d127
2004-01-04 15:18:37+00:00
chardev: Use goto/label instead of do/break/while(0) Use of a do/while(0) control flow in order to permit an early break is an unusual paradigm, and triggers a false positive with a planned future syntax check against 'while (0);'. Rewrite the code to use a goto instead. This patch temporarily keeps an extra level of indentation to highlight the change; the next patch cleans it up. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
19a4d43ef05e323f811cf944980639449dbb39ac
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/19a4d43ef05e323f811cf944980639449dbb39ac
2018-01-16 14:54:51+01:00
tests: Avoid 'do/while(false); ' in vhost-user-bridge Use of a do/while(0) loop as a way to allow break statements in the middle of execute-once code is unusual. More typical is the use of goto for early exits, with a label at the end of the execute-once code, rather than nesting code in a scope; however, the comment at the end of the existing code makes this alternative a bit unpractical. So, to avoid false positives from a future syntax check about 'while (false);', and to keep the loop form (in case someone ever does add DONTWAIT support, where they can just as easily manipulate the initial loop condition or add an if around the final 'break'), I opted to use the form of a while(1) loop (the break as an early exit is more idiomatic there), coupled with a final break preserving the original comment. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
241187c11818e5223c4bdfac79f28fdf63731733
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/241187c11818e5223c4bdfac79f28fdf63731733
2018-01-16 14:54:52+01:00
e1000, e1000e: Move per-packet TX offload flags out of context state sum_needed and cptse flags are received from the guest within each transmit data descriptor. They are not part of the offload context; instead, they determine how to apply a previously received context to the packet being transmitted: - If cptse is set, perform both segmentation and checksum offload using the parameters in the TSO context; otherwise just do checksum offload. (Currently the e1000 device incorrectly stores only one context, which will be fixed in a subsequent patch.) - Depending on the bits set in sum_needed, possibly perform L4 checksum offload and/or IP checksum offload, using the parameters in the appropriate context. Move these flags out of struct e1000x_txd_props, which is otherwise dedicated to storing values from a context descriptor, and into the per-packet TX struct. Signed-off-by: Ed Swierk <[email protected]> Signed-off-by: Jason Wang <[email protected]>
7d08c73e7bdc39b10e5f2f5acdce700f17ffe962
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7d08c73e7bdc39b10e5f2f5acdce700f17ffe962
2017-12-22 09:53:23+08:00
spapr: fix device tree properties when using compatibility mode Commit 51f84465dd98 changed the compatility mode setting logic: - machine reset only sets compatibility mode for the boot CPU - compatibility mode is set for other CPUs when they are put online by the guest with the "start-cpu" RTAS call This causes a regression for machines started with max-compat-cpu: the device tree nodes related to secondary CPU cores contain wrong "cpu-version" and "ibm,pa-features" values, as shown below. Guest started on a POWER8 host with: -smp cores=2 -machine pseries,max-cpu-compat=compat7 ibm,pa-features = [18 00 f6 3f c7 c0 80 f0 80 00 00 00 00 00 00 00 00 00 80 00 80 00 80 00 00 00]; cpu-version = <0x4d0200>; ^^^ second CPU core ibm,pa-features = <0x600f63f 0xc70080c0>; cpu-version = <0xf000003>; ^^^ boot CPU core The second core is advertised in raw POWER8 mode. This happens because CAS assumes all CPUs to have the same compatibility mode. Since the boot CPU already has the requested compatibility mode, the CAS code does not set it for the secondary one, and exposes the bogus device tree properties in in the CAS response to the guest. A similar situation is observed when hot-plugging a CPU core. The related device tree properties are generated and exposed to guest with the "ibm,configure-connector" RTAS before "start-cpu" is called. The CPU core is advertised to the guest in raw mode as well. It both cases, it boils down to the fact that "start-cpu" happens too late. This can be fixed globally by propagating the compatibility mode of the boot CPU to the other CPUs during reset. For this to work, the compatibility mode of the boot CPU must be set before the machine code actually resets all CPUs. It is not needed to set the compatibility mode in "start-cpu" anymore, so the code is dropped. Fixes: 51f84465dd98 Signed-off-by: Greg Kurz <[email protected]> Signed-off-by: David Gibson <[email protected]>
9012a53f067a78022947e18050b145c34a3dc599
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9012a53f067a78022947e18050b145c34a3dc599
2018-01-20 17:15:05+11:00
tests/boot-serial-test: Add code to allow to specify our own kernel or bios QEMU only ships with some few firmware images, i.e. we can currently run the boot-serial test only on a very limited set of machines. But writing some characters to the default UART of a machine can often be done with some few lines of assembly, so we add the possibility to the boot-serial tester to use its own mini-kernels or mini-firmwares. We write such images then into a file that we can load with the "-kernel" or "-bios" parameter when we launch QEMU. Signed-off-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
e12c08d3b67c4f4e5a16ee815188fc13632530ce
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e12c08d3b67c4f4e5a16ee815188fc13632530ce
2017-12-21 09:30:28+01:00
virtio-pci: Don't force Subsystem Vendor ID = Vendor ID The statement being removed doesn't change anything as virtio PCI devices already have Subsystem Vendor ID set to pci_default_sub_vendor_id (0x1af4), same as Vendor ID. And the Virtio spec does not require the two to be equal, either: "The PCI Subsystem Vendor ID and the PCI Subsystem Device ID MAY reflect the PCI Vendor and Device ID of the environment (for informational purposes by the driver)." Background: Following the recent virtio-win licensing change, several vendors are planning to ship their own certified version of Windows guest Virtio drivers, potentially taking advantage of Windows Update as a distribution channel. It is therefore critical that each vendor uses their own PCI Subsystem Vendor ID for Virtio devices to prevent drivers from other vendors binding to it. This would be trivially done by adding: k->subsystem_vendor_id = ... to virtio_pci_class_init(). Except for the problematic statement deleted by this patch, which reverts the Subsystem Vendor ID back to 0x1af4 for legacy devices for no good reason. Signed-off-by: Ladi Prosek <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]>
f2bc54de47404b70b9ac87e2c75489f2652643e7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f2bc54de47404b70b9ac87e2c75489f2652643e7
2017-12-22 01:42:03+02:00
qapi: Stop rejecting #optional Commit 1d8bda1 got rid of #optional tags, and added a check to keep them from getting added back, to make sure patches then in flight don't add them back. It's been six months, time to drop that check. Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]>
67ab1ce9263f77b352faea1104f0ebc2e50a3d42
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/67ab1ce9263f77b352faea1104f0ebc2e50a3d42
2017-12-20 19:18:33+01:00
backup: use copy_bitmap in incremental backup We can use copy_bitmap instead of sync_bitmap. copy_bitmap is initialized from sync_bitmap and it is more informative: we will not try to process data, that is already in progress (by write notifier). Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: John Snow <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Message-id: [email protected] Signed-off-by: Jeff Cody <[email protected]>
53f1c8794f2c1aea4d2888a3ac4e1b3b8b8b9777
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/53f1c8794f2c1aea4d2888a3ac4e1b3b8b8b9777
2017-12-18 10:54:13-05:00
s390x/tcg: drop program_interrupt() All users are gone, we can finally drop it and make sure that all new program interrupt injections are reminded of the retaddr - as they have to use s390_program_interrupt() now. Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
51dcdbd319f8d46834d8155defc8d384a9958a73
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/51dcdbd319f8d46834d8155defc8d384a9958a73
2017-12-14 17:56:54+01:00
xenfb: Add [feature|request]-raw-pointer Writes "feature-raw-pointer" during init to indicate the backend can pass raw unscaled values for absolute axes to the frontend. Frontends set "request-raw-pointer" to indicate the backend should not attempt to scale absolute values to console size. "request-raw-pointer" is only valid if "request-abs-pointer" is also set. Raw unscaled pointer values are in the range [0, 0x7fff] "feature-raw-pointer" and "request-raw-pointer" added to Xen header in commit 7868654ff7fe5e4a2eeae2b277644fa884a5031e Signed-off-by: Owen Smith <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
34975e536f3531ad852d724a46280b882ec1bc9d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/34975e536f3531ad852d724a46280b882ec1bc9d
2017-12-14 15:24:37-08:00
pc-bios/s390-ccw.img: update image Contains the following commit: - pc-bios/s390-ccw: Fix problem with invalid virtio-scsi LUN when rebooting Signed-off-by: Cornelia Huck <[email protected]>
6cbf1ec85caf8a7d9f2fd829422c9f0a1c8983e1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6cbf1ec85caf8a7d9f2fd829422c9f0a1c8983e1
2017-11-20 16:04:11+01:00
block: Error out on load_vm with active dirty bitmaps Loading a snapshot invalidates the bitmap. Just marking all blocks dirty is not a useful response in practice, instead the user needs to be aware that we switch to a completely different state. If they are okay with losing the dirty bitmap, they can just explicitly delete it. This effectively reverts commit 04dec3c3ae5. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Denis V. Lunev <[email protected]> Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]> Reviewed-by: John Snow <[email protected]>
70a5afedd64c3f0d3b5feae6b40b30f3e8d13e4b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/70a5afedd64c3f0d3b5feae6b40b30f3e8d13e4b
2017-11-21 14:48:23+01:00
target/ppc: Move setting of patb_entry on hash table init The patb_entry is used to store the location of the process table in guest memory. The msb is also used to indicate the mmu mode of the guest, that is patb_entry & 1 << 63 ? radix_mode : hash_mode. Currently we set this to zero in spapr_setup_hpt_and_vrma() since if this function gets called then we know we're hash. However some code paths, such as setting up the hpt on incoming migration of a hash guest, call spapr_reallocate_hpt() directly bypassing this higher level function. Since we assume radix if the host is capable this results in the msb in patb_entry being left set so in spapr_post_load() we call kvmppc_configure_v3_mmu() and tell the host we're radix which as expected means addresses cannot be translated once we actually run the cpu. To fix this move the zeroing of patb_entry into spapr_reallocate_hpt(). Signed-off-by: Suraj Jitindar Singh <[email protected]> Signed-off-by: David Gibson <[email protected]>
ee4d9ecc3675af1e68a9c00a8b338641898d613e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ee4d9ecc3675af1e68a9c00a8b338641898d613e
2017-11-27 12:20:11+11:00
nbd-client: Short-circuit 0-length operations The NBD spec was recently clarified to state that clients should not send 0-length requests to the server, as the server behavior is undefined [1]. We know that qemu-nbd's behavior is a successful no-op (once it has filtered for read-only exports), but other NBD implementations might return an error. To avoid any questionable server implementations, it is better to just short-circuit such requests on the client side (we are relying on the block layer to already filter out requests such as invalid offset, write to a read-only volume, and so forth); do the short-circuit as late as possible to still benefit from protections from assertions that the block layer is not violating our assumptions. [1] https://github.com/NetworkBlockDevice/nbd/commit/ee926037 Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
9d8f818cdee83e726a5dd14b645738ec632d2577
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9d8f818cdee83e726a5dd14b645738ec632d2577
2017-11-09 10:18:31-06:00
build: don't create temporary files in source dir There are cases where users do VPATH builds with the source directory being on a read-only volume. In such a case they have to manually run the command 'git-submodule.sh ...modules...' ahead of time. When checking for status we should not then write into the source dir. Tested-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
96089f6d0e88446a16725f2152d252be34f1ad50
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/96089f6d0e88446a16725f2152d252be34f1ad50
2017-11-06 11:04:30+00:00
qom: move CPUClass.tcg_initialize to a global 55c3cee ("qom: Introduce CPUClass.tcg_initialize", 2017-10-24) introduces a per-CPUClass bool that we check so that the target CPU is initialized for TCG only once. This works well except when we end up creating more than one CPUClass, in which case we end up incorrectly initializing TCG more than once, i.e. once for each CPUClass. This can be replicated with: $ aarch64-softmmu/qemu-system-aarch64 -machine xlnx-zcu102 -smp 6 \ -global driver=xlnx,,zynqmp,property=has_rpu,value=on In this case the class name of the "RPUs" is prefixed by "cortex-r5-", whereas the "regular" CPUs are prefixed by "cortex-a53-". This results in two CPUClass instances being created. Fix it by introducing a static variable, so that only the first target CPU being initialized will initialize the target-dependent part of TCG, regardless of CPUClass instances. Fixes: 55c3ceef61fcf06fc98ddc752b7cce788ce7680b Signed-off-by: Emilio G. Cota <[email protected]> Reviewed-by: Eduardo Habkost <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Tested-by: Alistair Francis <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
2dda635410e95843562e5257a8f173e7115a7a1e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2dda635410e95843562e5257a8f173e7115a7a1e
2017-11-13 13:55:25+00:00
nbd/server: Refactor zero-length option check Consolidate the response for a non-zero-length option payload into a new function, nbd_reject_length(). This check will also be used when introducing support for structured replies. Note that STARTTLS response differs based on time: if the connection is still unencrypted, we set fatal to true (a client that can't request TLS correctly may still think that we are ready to start the TLS handshake, so we must disconnect); while if the connection is already encrypted, the client is sending a bogus request but is no longer at risk of being confused by continuing the connection. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> [eblake: correct return value on STARTTLS] Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
e68c35cfb8088a11300371751e3987f67cac15b1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e68c35cfb8088a11300371751e3987f67cac15b1
2017-10-30 21:47:18+01:00
s390x/tcg: implement SIGP CONDITIONAL EMERGENCY SIGNAL Mostly analogous to the kernel/KVM version (so I assume the checks are correct :) ). As a preparation for TCG. Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
a6880d213b371cec59f780ed16a99f0b1e0df88d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a6880d213b371cec59f780ed16a99f0b1e0df88d
2017-10-20 13:32:10+02:00
futex: add missing header guards The header file was introduced by fbcc3e5 ("qemu-thread: optimize QemuLockCnt with futexes on Linux", 2017-01-16) without header guards. Add them. Signed-off-by: Emilio G. Cota <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
f3245d63a0df51184fdf12f483436329ef322d35
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f3245d63a0df51184fdf12f483436329ef322d35
2017-10-16 20:57:13+03:00
numa: fixup parsed NumaNodeOptions earlier numa 'mem' option with suffix or without one is possible only on CLI/HMP. Instead of fixing up special suffix less CLI case deep in parse_numa_node() do it earlier right after option is parsed into NumaNodeOptions with OptVisistor so that the rest of the code would use valid values in NumaNodeOptions and won't have to reparse QemuOpts. It will help to isolate CLI/HMP parts in parse_numa() and split out parsed NumaNodeOptions processing into separate function that could be reused by QMP handler where we have only NumaNodeOptions and don't need any fixups. While at it reuse qemu_strtosz_MiB() instead of manually checking for suffixes. Signed-off-by: Igor Mammedov <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eduardo Habkost <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
cc001888b78090ed08d05453b5574b3253a143c0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cc001888b78090ed08d05453b5574b3253a143c0
2017-10-27 16:04:28+02:00
scsi: Ignore executable for in-tree builds The new qemu-pr-helper (commit b855f8d17) should not be checked in, even when doing in-tree builds. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
cff3e8b8d65abf3ac8be50de2020b92b54df0547
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cff3e8b8d65abf3ac8be50de2020b92b54df0547
2017-09-29 10:56:56+02:00
s390x/tcg: make testblock use the new _real mmu Low address protection checks will be moved into the mmu later. Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
e26131c9049f63779d38fc3eb61a79722b3499f8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e26131c9049f63779d38fc3eb61a79722b3499f8
2017-10-06 10:53:02+02:00
io: use case insensitive check for Connection & Upgrade websock headers When checking the value of the Connection and Upgrade HTTP headers the websock RFC (6455) requires the comparison to be case insensitive. The Connection value should be an exact match not a substring. Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
33badfd1e3735b877e41939100511c65572be6b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/33badfd1e3735b877e41939100511c65572be6b9
2017-10-04 13:21:53+01:00
s390x/css: use ccw data stream Replace direct access which implicitly assumes no IDA or MIDA with the new ccw data stream interface which should cope with these transparently in the future. Note that checking the return code for ccw_dstream_* will be done in a follow-on patch. Signed-off-by: Halil Pasic <[email protected]> Reviewed-by: Dong Jia Shi <[email protected]> Reviewed-by: Pierre Morel <[email protected]> Message-Id: <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
0a22eac5aaf90b2c2c1a4c29eecc25ef508d520b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0a22eac5aaf90b2c2c1a4c29eecc25ef508d520b
2017-10-06 10:53:01+02:00
block: Uniform handling of 0-length bdrv_get_block_status() Handle a 0-length block status request up front, with a uniform return value claiming the area is not allocated. Most callers don't pass a length of 0 to bdrv_get_block_status() and friends; but it definitely happens with a 0-length read when copy-on-read is enabled. While we could audit all callers to ensure that they never make a 0-length request, and then assert that fact, it was just as easy to fix things to always report success (as long as the callers are careful to not go into an infinite loop). However, we had inconsistent behavior on whether the status is reported as allocated or defers to the backing layer, depending on what callbacks the driver implements, and possibly wasting quite a few CPU cycles to get to that answer. Consistently reporting unallocated up front doesn't really hurt anything, and makes it easier both for callers (0-length requests now have well-defined behavior) and for drivers (drivers don't have to deal with 0-length requests). Signed-off-by: Eric Blake <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
9cdcfd9f7afd0274919af95a164178ac6ee847ca
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9cdcfd9f7afd0274919af95a164178ac6ee847ca
2017-10-06 16:28:58+02:00
block: Perform copy-on-read in loop Improve our braindead copy-on-read implementation. Pre-patch, we have multiple issues: - we create a bounce buffer and perform a write for the entire request, even if the active image already has 99% of the clusters occupied, and really only needs to copy-on-read the remaining 1% of the clusters - our bounce buffer was as large as the read request, and can needlessly exhaust our memory by using double the memory of the request size (the original request plus our bounce buffer), rather than a capped maximum overhead beyond the original - if a driver has a max_transfer limit, we are bypassing the normal code in bdrv_aligned_preadv() that fragments to that limit, and instead attempt to read the entire buffer from the driver in one go, which some drivers may assert on - a client can request a large request of nearly 2G such that rounding the request out to cluster boundaries results in a byte count larger than 2G. While this cannot exceed 32 bits, it DOES have some follow-on problems: -- the call to bdrv_driver_pread() can assert for exceeding BDRV_REQUEST_MAX_BYTES, if the driver is old and lacks .bdrv_co_preadv -- if the buffer is all zeroes, the subsequent call to bdrv_co_do_pwrite_zeroes is a no-op due to a negative size, which means we did not actually copy on read Fix all of these issues by breaking up the action into a loop, where each iteration is capped to sane limits. Also, querying the allocation status allows us to optimize: when data is already present in the active layer, we don't need to bounce. Note that the code has a telling comment that copy-on-read should probably be a filter driver rather than a bolt-on hack in io.c; but that remains a task for another day. CC: [email protected] Signed-off-by: Eric Blake <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
cb2e28780c7080af489e72227683fe374f05022d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cb2e28780c7080af489e72227683fe374f05022d
2017-10-06 16:28:58+02:00
target/xtensa: Use the pre-defined MEMTXATTRS_UNSPECIFIED macro Instead of using the hardcoded (MemTxAttrs){0} for no memory attributes let's use the already defined MEMTXATTRS_UNSPECIFIED macro instead. This is technically a change of behaviour as MEMTXATTRS_UNSPECIFIED sets the unspecified field to 1, but it doesn't look like anything is checking this field. Signed-off-by: Alistair Francis <[email protected]> Acked-by: Max Filippov <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
2c5b1d2a479273cec4c1be491745f48b0808b508
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2c5b1d2a479273cec4c1be491745f48b0808b508
2017-09-26 09:11:22+03:00
virtio-serial: add enable_backend callback We should guarantee that RAM will not be modified while VM has a stopped state, otherwise it can lead to negative consequences during post-copy migration. In RUN_STATE_FINISH_MIGRATE step, it's expected that RAM on source side will not be modified as this could lead to non-consistent vm state on the destination side. Also RAM access during postcopy-ram migration with enabled release-ram capability can lead to sad consequences. Let's add enable_backend() callback to avoid undesirable virtioqueue changes in the guest memory. Signed-off-by: Pavel Butsykin <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
55289fb036481396466d7825fa01d829c891108c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/55289fb036481396466d7825fa01d829c891108c
2017-09-21 11:51:49+02:00
target/arm: [tcg,a64] Port to translate_insn Incrementally paves the way towards using the generic instruction translation loop. Reviewed-by: Emilio G. Cota <[email protected]> Signed-off-by: Lluís Vilanova <[email protected]> Message-Id: <[email protected]> [rth: Adjust for translate_insn interface change.] Signed-off-by: Richard Henderson <[email protected]>
24299c892cbfe29120f051b6b7d0bcf3e0cc8e85
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/24299c892cbfe29120f051b6b7d0bcf3e0cc8e85
2017-09-06 08:06:47-07:00
virtio-gpu: 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]>
e5f99037481ba405cd6c3b2beaa2b786a5c68100
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e5f99037481ba405cd6c3b2beaa2b786a5c68100
2017-08-31 12:29:07+02:00
usb-hub: 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: Richard Henderson <[email protected]>
54ac85ef0d5c76503548cec29e4e0b556e3cf00b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/54ac85ef0d5c76503548cec29e4e0b556e3cf00b
2017-08-31 12:29:07+02:00
i8254: 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: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
ec34748507c3eb812fe38afc59cc19a3bb713466
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ec34748507c3eb812fe38afc59cc19a3bb713466
2017-08-31 12:29:07+02:00
tests: Add network filter tests to the check-qtest-s390x list With some small modifications, we can also use the the netfilter, the filter-mirror and the filter-redirector tests on s390x. Signed-off-by: Thomas Huth <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Message-Id: <[email protected]> Reviewed-by: Zhang Chen <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
ea5bef49eadd240c7924f287f2da1bb457a3f92c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ea5bef49eadd240c7924f287f2da1bb457a3f92c
2017-08-30 18:23:25+02:00
scsi: clarify sense codes for LUN0 emulation The LUN0 emulation is just that, an emulation for a non-existing LUN0. So we should be returning LUN_NOT_SUPPORTED for any request coming from any other LUN. And we should be aborting unhandled commands with INVALID OPCODE, not LUN NOT SUPPORTED. Signed-off-by: Hannes Reinecke <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
ded6ddc5a7b95217557fa360913d1213e12d4a6d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ded6ddc5a7b95217557fa360913d1213e12d4a6d
2017-08-08 10:40:20+02:00
block: convert ThrottleGroup to object with QOM ThrottleGroup is converted to an object. This will allow the future throttle block filter drive easy creation and configuration of throttle groups in QMP and cli. A new QAPI struct, ThrottleLimits, is introduced to provide a shared struct for all throttle configuration needs in QMP. ThrottleGroups can be created via CLI as -object throttle-group,id=foo,x-iops-total=100,x-.. where x-* are individual limit properties. Since we can't add non-scalar properties in -object this interface must be used instead. However, setting these properties must be disabled after initialization because certain combinations of limits are forbidden and thus configuration changes should be done in one transaction. The individual properties will go away when support for non-scalar values in CLI is implemented and thus are marked as experimental. ThrottleGroup also has a `limits` property that uses the ThrottleLimits struct. It can be used to create ThrottleGroups or set the configuration in existing groups as follows: { "execute": "object-add", "arguments": { "qom-type": "throttle-group", "id": "foo", "props" : { "limits": { "iops-total": 100 } } } } { "execute" : "qom-set", "arguments" : { "path" : "foo", "property" : "limits", "value" : { "iops-total" : 99 } } } This also means a group's configuration can be fetched with qom-get. Signed-off-by: Manos Pitsidianakis <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
432d889e55e2614bd0e8bb559af18a61ac217565
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/432d889e55e2614bd0e8bb559af18a61ac217565
2017-09-05 18:12:21+02:00
tests: crypto: add hash speed benchmark support This patch add a hash speed benchmark, it helps us to measure the performance by using "make check-speed" or using "./tests/benchmark-crypto-hash" directly. Signed-off-by: Longpeng(Mike) <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
0128cd29ee36675e57bb70d508d3832d6e278f0b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0128cd29ee36675e57bb70d508d3832d6e278f0b
2017-07-19 10:11:05+01:00
migration: check global caps for validity Checks validity for all the capabilities that we enabled with command line. Signed-off-by: Peter Xu <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Message-Id: <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
6b19a7d91c8de9904c67b87203a46e55db4181ab
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6b19a7d91c8de9904c67b87203a46e55db4181ab
2017-07-18 17:36:26+02:00
hw/arm/mps2: Add ethernet The MPS2 FPGA images support ethernet via a LAN9220. We use QEMU's LAN9118 model, which is software compatible except that it is missing the checksum-offload feature. Signed-off-by: Peter Maydell <[email protected]> Message-id: [email protected] Reviewed-by: Alex Bennée <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
3587393922dec51ebcbe6088649aface38cd89f6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3587393922dec51ebcbe6088649aface38cd89f6
2017-07-17 13:36:09+01:00
audio/adlib: remove limitation of one adlib card Signed-off-by: Hervé Poussineau <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
639b49ef9a4dc9555ed6aaefa8dfda621e4165cf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/639b49ef9a4dc9555ed6aaefa8dfda621e4165cf
2017-07-17 11:09:02+02:00
target/mips: Fix TLBWI shadow flush for EHINV,XI,RI Writing specific TLB entries with TLBWI flushes shadow TLB entries unless an existing entry is having its access permissions upgraded. This is necessary as software would from then on expect the previous mapping in that entry to no longer be in effect (even if QEMU has quietly evicted it to the shadow TLB on a TLBWR). However it won't do this if only EHINV, XI, or RI bits have been set, even if that results in a reduction of permissions, so add the necessary checks to invoke the flush when these bits are set. Fixes: 2fb58b73746e ("target-mips: add RI and XI fields to TLB entry") Fixes: 9456c2fbcd82 ("target-mips: add TLBINV support") Signed-off-by: James Hogan <[email protected]> Cc: Yongbok Kim <[email protected]> Cc: Aurelien Jarno <[email protected]> Tested-by: Yongbok Kim <[email protected]> [[email protected]: cosmetic changes] Signed-off-by: Yongbok Kim <[email protected]>
eff6ff9431aa9776062a5f4a08d1f6503ca9995a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/eff6ff9431aa9776062a5f4a08d1f6503ca9995a
2017-07-20 22:42:26+01:00
s390x: initialize cpu firstly By initializing the CPU firstly, we are able to retrieve and use the CPU model features when initializing other subsystem or devices. Signed-off-by: Yi Min Zhao <[email protected]> Reviewed-by: Pierre Morel <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
3720d3356d47aedf2f66b6586011661a7eeb0222
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3720d3356d47aedf2f66b6586011661a7eeb0222
2017-07-14 12:29:49+02:00
dimm: Convert to DEFINE_PROP_LINK Unlike the usual object_property_add_link() invocations in other devices, dimm checks the "is mapped" state of the backend in addition to qdev_prop_allow_set_link_before_realize. To convert it without specializing DEFINE_PROP_LINK which always uses the qdev general check callback, move the extra check to device realize time. Signed-off-by: Fam Zheng <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
2de7e26891db3d5b7f214fa485a5e946b17a57b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2de7e26891db3d5b7f214fa485a5e946b17a57b9
2017-07-14 12:04:43+02:00
target/arm: use DISAS_EXIT for eret handling Previously DISAS_JUMP did ensure this but with the optimisation of 8a6b28c7 (optimize indirect branches) we might not leave the loop. This means if any pending interrupts are cleared by changing IRQ flags we might never get around to servicing them. You usually notice this by seeing the lookup_tb_ptr() helper gainfully chaining TBs together while cpu->interrupt_request remains high and the exit_request has not been set. This breaks amongst other things the OPTEE test suite which executes an eret from the secure world after a non-secure world IRQ has gone pending which then never gets serviced. Instead of using the previously implied semantics of DISAS_JUMP we use DISAS_EXIT which will always exit the run-loop. CC: Etienne Carriere <[email protected]> CC: Joakim Bech <[email protected]> CC: Jaroslaw Pelczar <[email protected]> CC: Peter Maydell <[email protected]> CC: Emilio G. Cota <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
b29fd33db578decacd14f34933b29aece3e7c25e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b29fd33db578decacd14f34933b29aece3e7c25e
2017-07-17 13:36:07+01:00
nbd: Implement NBD_INFO_BLOCK_SIZE on client The upstream NBD Protocol has defined a new extension to allow the server to advertise block sizes to the client, as well as a way for the client to inform the server whether it intends to obey block sizes. When using the block layer as the client, we will obey block sizes; but when used as 'qemu-nbd -c' to hand off to the kernel nbd module as the client, we are still waiting for the kernel to implement a way for us to learn if it will honor block sizes (perhaps by an addition to sysfs, rather than an ioctl), as well as any way to tell the kernel what additional block sizes to obey (NBD_SET_BLKSIZE appears to be accurate for the minimum size, but preferred and maximum sizes would probably be new ioctl()s), so until then, we need to make our request for block sizes conditional. When using ioctl(NBD_SET_BLKSIZE) to hand off to the kernel, use the minimum block size as the sector size if it is larger than 512, which also has the nice effect of cooperating with (non-qemu) servers that don't do read-modify-write when exposing a block device with 4k sectors; it might also allow us to visit a file larger than 2T on a 32-bit kernel. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
081dd1fe36f0ccc04130d1edd136c787c5f8cc50
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/081dd1fe36f0ccc04130d1edd136c787c5f8cc50
2017-07-14 12:04:42+02:00
qemu-iotests: support per-format golden output files Some tests produce format-dependent output. Either the difference is filtered out and ignored, or the test case is format-specific so we don't need to worry about per-format output differences. There is a third case: the test script is the same for all image formats and the format-dependent output is relevant. An ugly workaround is to copy-paste the test into multiple per-format test cases. This duplicates code and is not maintainable. This patch allows test cases to add per-format golden output files so a single test case can work correctly when format-dependent output must be checked: 123.out.qcow2 123.out.raw 123.out.vmdk ... This naming scheme is not composable with 123.out.nocache or 123.pc.out, two other scenarios where output files are split. I don't think it matters since few test cases need these features. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Message-id: [email protected] Signed-off-by: Max Reitz <[email protected]>
217a0683b754fed7f7c7ad5c241a7ddb52506844
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/217a0683b754fed7f7c7ad5c241a7ddb52506844
2017-07-11 17:45:01+02:00
target/s390x: implement PACK UNICODE Use a common helper with PACK ASCII as the differences are limited to the stride of the source operand. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
4e256bef6552ee0b4c0c844077b44e4c7fcc05fc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4e256bef6552ee0b4c0c844077b44e4c7fcc05fc
2017-06-06 15:20:43-07:00
s390x: vmstatify config migration for virtio-ccw Let's vmstatify virtio_ccw_save_config and virtio_ccw_load_config for flexibility (extending using subsections) and for fun. To achieve this we need to hack the config_vector, which is VirtIODevice (that is common virtio) state, in the middle of the VirtioCcwDevice state representation. This is somewhat ugly, but we have no choice because the stream format needs to be preserved. Almost no changes in behavior. Exception is everything that comes with vmstate like extra bookkeeping about what's in the stream, and maybe some extra checks and better error reporting. Signed-off-by: Halil Pasic <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Message-Id: <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
517ff12c7d000fa1f5b1e989b22fb86a286f9cc2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/517ff12c7d000fa1f5b1e989b22fb86a286f9cc2
2017-07-05 12:16:55+02:00
memory: remove the last param in memory_region_iommu_replay() We were always passing in that one as "false" to assume that's an read operation, and we also assume that IOMMU translation would always have that read permission. A better permission would be IOMMU_NONE since the replay is after all not a real read operation, but just a page table rebuilding process. CC: David Gibson <[email protected]> CC: Paolo Bonzini <[email protected]> Reviewed-by: David Gibson <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: Peter Xu <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Jason Wang <[email protected]>
ad523590f62cf5d44e97388de370d27b95b25aff
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ad523590f62cf5d44e97388de370d27b95b25aff
2017-05-25 21:25:27+03:00
blockjob: reorganize block_job_completed_txn_abort This splits the part that touches job states from the part that invokes callbacks. It will make the code simpler to understand once job states will be protected by a different mutex than the AioContext lock. Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Jeff Cody <[email protected]>
4fb588e95bacb770746cc794ef165fd71a4d27ea
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4fb588e95bacb770746cc794ef165fd71a4d27ea
2017-05-24 16:38:51-04:00
curl: do not do aio_poll when waiting for a free CURLState Instead, put the CURLAIOCB on a wait list and yield; curl_clean_state will wake the corresponding coroutine. Because of CURL's callback-based structure, we cannot easily convert everything to CoMutex/CoQueue; keeping the QemuMutex is simpler. However, CoQueue is a simple wrapper around a linked list, so we can easily use QSIMPLEQ and open-code a CoQueue, protected by the BDRVCURLState QemuMutex instead of a CoMutex. Reviewed-by: Jeff Cody <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Max Reitz <[email protected]> Message-id: [email protected] Signed-off-by: Jeff Cody <[email protected]>
2bb5c936c5827e1d831002f7a7517cb8c2c2201d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2bb5c936c5827e1d831002f7a7517cb8c2c2201d
2017-05-16 10:34:50-04:00
blockjob: introduce block_job_cancel_async, check iostatus invariants The new functions helps respecting the invariant that the coroutine is entered with false user_resume, zero pause count and no error recorded in the iostatus. Resetting the iostatus is now common to all of block_job_cancel_async, block_job_user_resume and block_job_iostatus_reset, albeit with slight differences: - block_job_cancel_async resets the iostatus, and resumes the job if there was an error, but the coroutine is not restarted immediately. For example the caller may continue with a call to block_job_finish_sync. - block_job_user_resume resets the iostatus. It wants to resume the job unconditionally, even if there was no error. - block_job_iostatus_reset doesn't resume the job at all. Maybe that's a bug but it should be fixed separately. block_job_iostatus_reset does the least common denominator, so add some checking but otherwise leave it as the entry point for resetting the iostatus. Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Jeff Cody <[email protected]>
4c241cf5d6ca06c682e033cf8b327b63b1f4b784
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4c241cf5d6ca06c682e033cf8b327b63b1f4b784
2017-05-24 16:38:51-04:00
block: Simplify bdrv_append_temp_snapshot() logic Noticed while checking Coccinelle results. Naming a label 'out:' when it is only used on error paths is weird. Also, we had some dead stores to 'ret'. Meanwhile we know that snapshot_options is NULL on success and that QDECREF(NULL) is safe. So merge the two exit paths into one by careful control over bs_snapshot. Signed-off-by: Eric Blake <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> Signed-off-by: Markus Armbruster <[email protected]>
ff6ed7141d87d26eafa2b8e4df969623e40fac49
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ff6ed7141d87d26eafa2b8e4df969623e40fac49
2017-05-09 09:14:39+02:00
postcopy: Check for shared memory Postcopy doesn't support migration of RAM shared with another process yet (we've got a bunch of things to understand). Check for the case and don't allow postcopy to be enabled. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
8679638b0e231f97ad3456c681bf569ca7f7f6d5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8679638b0e231f97ad3456c681bf569ca7f7f6d5
2017-03-16 09:02:26+01:00
monitor: Check whether TCG is enabled before running the "info jit" code The "info jit" command currently aborts on Mac OS X with the message "qemu_mutex_lock: Invalid argument" when running with "-M accel=qtest". We should only call into the TCG code here if TCG has really been enabled and initialized. Signed-off-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Tested-by: Peter Maydell <[email protected]> Signed-off-by: Dr. David Alan Gilbert <[email protected]>
b7da97eef74bf834be244de0796ccb01db3985c9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b7da97eef74bf834be244de0796ccb01db3985c9
2017-04-26 14:42:31+01:00
numa: add '-numa cpu,...' option for property based node mapping legacy cpu to node mapping is using cpu index values to map VCPU to node with help of '-numa node,nodeid=node,cpus=x[-y]' option. However cpu index is internal concept and QEMU users have to guess /reimplement qemu's logic/ to map it to a concrete cpu socket/core/thread to make sane CPUs placement across numa nodes. This patch allows to map cpu objects to numa nodes using the same properties as used for cpus with -device/device_add (socket-id/core-id/thread-id/node-id). At present valid properties/values to address CPUs could be fetched using hotpluggable-cpus monitor/qmp command, it will require user to start qemu twice when creating domain to fetch possible CPUs for a machine type/-smp layout first and then the second time with numa explicit mapping for actual usage. The first step results could be saved and reused to set/change mapping later as far as machine type/-smp stays the same. Proposed impl. supports exact and wildcard matching to simplify CLI and allow to set mapping for a specific cpu or group of cpu objects specified by matched properties. For example: # exact mapping x86 -numa cpu,node-id=x,socket-id=y,core-id=z,thread-id=n # exact mapping SPAPR -numa cpu,node-id=x,core-id=y # wildcard mapping, all cpu objects that match socket-id=y # are mapped to node-id=x -numa cpu,node-id=x,socket-id=y Signed-off-by: Igor Mammedov <[email protected]> Message-Id: <[email protected]> Reviewed-by: David Gibson <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
419fcdec3c1ff545cd33d90ade99236c9bcc37cc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/419fcdec3c1ff545cd33d90ade99236c9bcc37cc
2017-05-11 16:08:50-03:00
ppc: remove cannot_destroy_with_object_finalize_yet This removes the assert(kvm_enabled()) from kvmppc_host_cpu_initfn() This assert can never be triggered as the function is only registered when KVM is available (see also 4c315c2 "qdev: Protect device-list-properties against broken devices"). So we can remove the cannot_destroy_with_object_finalize_yet from kvmppc_host_cpu_class_init() without fear and beyond reproach. (as it has already be done for i386 with 771a13e "i386: Unset cannot_destroy_with_object_finalize_yet on "host" model" and e435601 "target-i386: Remove assert(kvm_enabled()) from host_x86_cpu_initfn()") Signed-off-by: Laurent Vivier <[email protected]> Message-Id: <[email protected]> Acked-by: Peter Maydell <[email protected]> Acked-by: David Gibson <[email protected]> Signed-off-by: Markus Armbruster <[email protected]>
40fda982f2e887f7d5cc36b8a7e3b5a07a1e6704
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/40fda982f2e887f7d5cc36b8a7e3b5a07a1e6704
2017-04-21 07:18:23+02:00
numa,spapr: align default numa node memory size to 256MB Since commit 224245b ("spapr: Add LMB DR connectors"), NUMA node memory size must be aligned to 256MB (SPAPR_MEMORY_BLOCK_SIZE). But when "-numa" option is provided without "mem" parameter, the memory is equally divided between nodes, but 8MB aligned. This can be not valid for pseries. In that case we can have: $ ./ppc64-softmmu/qemu-system-ppc64 -m 4G -numa node -numa node -numa node qemu-system-ppc64: Node 0 memory size 0x55000000 is not aligned to 256 MiB With this patch, we have: (qemu) info numa 3 nodes node 0 cpus: 0 node 0 size: 1280 MB node 1 cpus: node 1 size: 1280 MB node 2 cpus: node 2 size: 1536 MB Signed-off-by: Laurent Vivier <[email protected]> Signed-off-by: David Gibson <[email protected]>
55641213fc81cdfc3bcd56c9e9991faa119201b2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/55641213fc81cdfc3bcd56c9e9991faa119201b2
2017-03-22 11:32:42+11:00
i386: host_vendor_fms() helper function Helper function for code that needs to check the host CPU vendor/family/model/stepping values. Signed-off-by: Eduardo Habkost <[email protected]> Message-Id: <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
20271d484069f154fb262507e63adc3a37e885d2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/20271d484069f154fb262507e63adc3a37e885d2
2017-03-10 15:01:08-03:00
qapi: Have each QAPI schema declare its name rule violations qapi.py has a hardcoded white-list of type names that may violate the rule on use of upper and lower case. Add a new pragma directive 'name-case-whitelist', and use it to replace the hard-coded white-list. Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eric Blake <[email protected]>
2cfbae3c423ecd13a7722ac7a7dca7ec4168e2ff
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2cfbae3c423ecd13a7722ac7a7dca7ec4168e2ff
2017-03-16 07:13:02+01:00
target-i386: defer VMEXIT to do_interrupt Paths through the softmmu code during code generation now need to be audited to check for double locking of tb_lock. In particular, VMEXIT can take tb_lock through cpu_vmexit -> cpu_x86_update_cr4 -> tlb_flush. To avoid this, split VMEXIT delivery in two parts, similar to what is done with exceptions. cpu_vmexit only records the VMEXIT exit code and information, and cc->do_interrupt can then deliver it when it is safe to take the lock. Reported-by: Alexander Boettcher <[email protected]> Suggested-by: Richard Henderson <[email protected]> Tested-by: Alexander Boettcher <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
10cde894b63146139f981857e4eedf756fa53dcb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/10cde894b63146139f981857e4eedf756fa53dcb
2017-03-09 10:41:48+00:00
Add a new qmp command to do checkpoint, query xen replication status We can call this qmp command to do checkpoint outside of qemu. Xen colo will need this function. Signed-off-by: Zhang Chen <[email protected]> Signed-off-by: Wen Congyang <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
daa33c52153df48ef0a7d06013f8ca6f24eff92f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/daa33c52153df48ef0a7d06013f8ca6f24eff92f
2017-02-28 11:02:12-08:00
target/ppc: Remove the function ppc_hash64_set_sdr1() The function ppc_hash64_set_sdr1 basically checked the htabsize and set an error if it was too big, otherwise it just stored the value in SPR_SDR1. Given that the only function which calls ppc_hash64_set_sdr1() is ppc_store_sdr1(), why not handle the checking in ppc_store_sdr1() to avoid the extra function call. Note that ppc_store_sdr1() already stores the value in SPR_SDR1 anyway, so we were doing it twice. Signed-off-by: Suraj Jitindar Singh <[email protected]> [dwg: Remove unnecessary error temporary] Signed-off-by: David Gibson <[email protected]>
8d63351f9f99412fd2b99e2f5a8be2bc87d5670e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8d63351f9f99412fd2b99e2f5a8be2bc87d5670e
2017-03-01 11:23:39+11:00
check-qdict: Simplify qdict_crumple_test_recursive() Use qdict_get_qdict(), qdict_get_qlist() instead of qdict_get() followed by qobject_to_qdict(), qobject_to_qlist(). While there, drop some redundant code. Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eric Blake <[email protected]>
ff9d38963e55598b40237735426225c35de6c7e5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ff9d38963e55598b40237735426225c35de6c7e5
2017-02-22 19:51:48+01:00
elf-loader: Allow late loading of elf The current QEMU ROM infrastructure rejects late loading of ROMs. And ELFs are currently loaded as ROM, this prevents delayed loading of ELFs. So when loading ELF, allow the user to specify if ELF should be loaded as ROM or not. If an ELF is not loaded as ROM, then they are not restored on a guest reboot/reset and so its upto the user to handle the reloading. Signed-off-by: Farhan Ali <[email protected]> Reviewed-by: Christian Borntraeger <[email protected]> Cc: Peter Maydell <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
34f1b23f8a61841bac06010e898221c6192a9035
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/34f1b23f8a61841bac06010e898221c6192a9035
2017-02-28 12:04:48+01:00
target-ppc: implement xsabsqp/xsnabsqp instruction xsabsqp: VSX Scalar Absolute Quad-Precision xsnabsqp: VSX Scalar Negative Absolute Quad-Precision Signed-off-by: Nikunj A Dadhania <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: David Gibson <[email protected]>
3259dbd9df967554dd8f77ec0afbb863e2664a2a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3259dbd9df967554dd8f77ec0afbb863e2664a2a
2017-01-31 10:10:13+11:00
ARRAY_SIZE: check that argument is an array It's a familiar pattern: some code uses ARRAY_SIZE, then refactoring changes the argument from an array to a pointer to a dynamically allocated buffer. Code keeps compiling but any ARRAY_SIZE calls now return the size of the pointer divided by element size. Let's add build time checks to ARRAY_SIZE before we allow more of these in the code-base. Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Reviewed-by: Eric Blake <[email protected]>
ed63ec0d22ccdce3b2222d9a514423b7fbba3a0d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ed63ec0d22ccdce3b2222d9a514423b7fbba3a0d
2017-02-01 03:37:17+02:00
util/mmap-alloc: check parameter before using Signed-off-by: Cao jin <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
4a3ecf201a1a49a804e8506df5906e446707c3b1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4a3ecf201a1a49a804e8506df5906e446707c3b1
2017-01-24 23:26:53+03:00
pseries: Make cpu_update during CAS unconditional spapr_h_cas_compose_response() includes a cpu_update parameter which controls whether it includes updated information on the CPUs in the device tree fragment returned from the ibm,client-architecture-support (CAS) call. Providing the updated information is essential when CAS has negotiated compatibility options which require different cpu information to be presented to the guest. However, it should be safe to provide in other cases (it will just override the existing data in the device tree with identical data). This simplifies the code by removing the parameter and always providing the cpu update information. Signed-off-by: David Gibson <[email protected]> Reviewed-by: Alexey Kardashevskiy <[email protected]>
5b120785e70a9a48b43e3f1f156a10a015334a28
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5b120785e70a9a48b43e3f1f156a10a015334a28
2017-01-31 10:10:13+11:00
hw/i386/kvmvapic: Remove dead code in patch_hypercalls() The patch_hypercalls() function sets up a 'patches' variable and checks it at the end of the function, but never modifies it in the middle. Remove this dead code, which seems to have been present since the function was added in commit e5ad936b0fd7 in 2012. (Spotted by Coverity: CID 1005581.) Signed-off-by: Peter Maydell <[email protected]> Acked-by: Jan Kiszka <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
a1f910875668d87e139e79fce38e9c2e1c3747dd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a1f910875668d87e139e79fce38e9c2e1c3747dd
2017-01-24 23:26:53+03:00
target-arm: Enable EL2 feature bit on A53 and A57 Enable the ARM_FEATURE_EL2 bit on Cortex-A52 and Cortex-A57, since this is all now sufficiently implemented to work with the GICv3. We provide the usual CPU property to disable it for backwards compatibility with the older virt boards. In this commit, we disable the EL2 feature on the virt and ZynpMP boards, so there is no overall effect. Another commit will expose a board-level property to allow the user to enable EL2. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-id: [email protected]
c25bd18a04c8bd0f19556d719864b7b08528222d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c25bd18a04c8bd0f19556d719864b7b08528222d
2017-01-20 11:15:10+00:00