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
target-i386: Convert 'check' and 'enforce' to static properties * Additionally convert check_cpuid & enforce_cpuid to bool and make them members of X86CPU * Make 'enforce' feature independent from 'check' Signed-off-by: Igor Mammedov <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
912ffc479c0008bd983f5733daa52438b359be6f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/912ffc479c0008bd983f5733daa52438b359be6f
2013-12-24 13:47:13+01:00
block: expect get_block_status errors in bdrv_make_zero during testing around with 4k LUNs a bad target implementation triggert an -EIO in iscsi_get_block_status, but it got never caught resulting in an infinite loop. CC: [email protected] Signed-off-by: Peter Lieven <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
3d94ce60ae7ad7c31dc143fdd9da95c61b4e529e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3d94ce60ae7ad7c31dc143fdd9da95c61b4e529e
2013-12-13 14:49:50+01:00
target-arm: A64: add support for conditional branches This patch adds emulation for the conditional branch (b.cond) instruction. Signed-off-by: Alexander Graf <[email protected]> [claudio: adapted to new decoder structure, reused arm infrastructure for checking the flags] Signed-off-by: Claudio Fontana <[email protected]> Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
39fb730aed8c5f7b0058845cb9feac0d4b177985
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/39fb730aed8c5f7b0058845cb9feac0d4b177985
2013-12-17 19:42:33+00:00
iscsi: simplify iscsi_co_discard now that bdrv_co_discard can handle limits we do not need the request split logic here anymore. Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Peter Lieven <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
01a6a238a30b0381846e3e68ba06e232567a7026
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/01a6a238a30b0381846e3e68ba06e232567a7026
2013-11-28 10:30:52+01:00
sheepdog: check if '-o redundancy' is passed from user This fix a segfault (that is caused by b3af018f3) of following command: $ qemu-img convert some_img sheepdog:some_img Cc: [email protected] Cc: Kevin Wolf <[email protected]> Cc: Stefan Hajnoczi <[email protected]> Signed-off-by: Liu Yuan <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
a3120deee5fc1d702ba5da98fd9c845ad1c8f301
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a3120deee5fc1d702ba5da98fd9c845ad1c8f301
2013-12-13 14:49:50+01:00
eeprom93xx: fix coding style scripts/checkpatch.pl reports about some style problems, this commit fixes some of them: ERROR: space prohibited before open square bracket '[' + .fields = (VMStateField []) { ERROR: space prohibited after that '!' (ctx:BxW) + if (! eeprom->eecs && eecs) { ^ ERROR: space prohibited after that '!' (ctx:WxW) + } else if (eeprom->eecs && ! eecs) { ^ ERROR: space prohibited after that '!' (ctx:WxW) + } else if (eecs && ! eeprom->eesk && eesk) { ^ ERROR: switch and case should be at the same indent switch (address >> (eeprom->addrbits - 2)) { + case 0: [...] + case 1: [...] + case 2: [...] + case 3: ERROR: return is not a function, parentheses are not required + return (eeprom->eedo); ERROR: switch and case should be at the same indent switch (nwords) { + case 16: + case 64: [...] + case 128: + case 256: [...] + default: Signed-off-by: Antony Pavlov <[email protected]> Cc: Stefan Weil <[email protected]> Reviewed-by: Stefan Weil <[email protected]> Cc: [email protected] Signed-off-by: Michael Tokarev <[email protected]>
6fedcaa1c5419fa89c31fd34dabbd71861c615d2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6fedcaa1c5419fa89c31fd34dabbd71861c615d2
2013-12-06 22:56:51+04:00
vfio-pci: Fix multifunction=on When an assigned device is initialized it copies the device config space into the emulated config space. Unfortunately multifunction is setup prior to the device initfn and gets clobbered. We need to restore it just like pci-assign does. Signed-off-by: Alex Williamson <[email protected]> Reviewed-by: Bandan Das <[email protected]> Message-id: [email protected] Cc: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
187d62327aca39afbb038d13d7cd6bf2d11640d3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/187d62327aca39afbb038d13d7cd6bf2d11640d3
2013-11-21 08:01:28-08:00
block: fix backing file overriding Providing backing.file.filename doesn't override backing file as expected: $ x86_64-softmmu/qemu-system-x86_64 -drive \ file=/tmp/child.qcow2,backing.file.filename=/tmp/fake.qcow2 qemu-system-x86_64: -drive \ file=/tmp/child.qcow2,backing.file.filename=/tmp/fake.qcow2: could not open disk image /tmp/child.qcow2: Can't specify 'file' and 'filename' options at the same time With $ qemu-img info /tmp/child.qcow2 image: /tmp/child.qcow2 file format: qcow2 virtual size: 1.0G (1073741824 bytes) disk size: 196K cluster_size: 65536 backing file: /tmp/fake.qcow2 This fixes it by calling bdrv_get_full_backing_filename only if backing.file.filename is not provided. Also save the backing file name to bs->backing_file so the information is correct with HMP "info block". Signed-off-by: Fam Zheng <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
dbecebddfa4932d1c83915bcb9b5ba5984eb91be
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dbecebddfa4932d1c83915bcb9b5ba5984eb91be
2013-09-25 10:08:56+02:00
memory: Change MemoryRegion priorities from unsigned to signed When memory regions overlap, priority can be used to specify which of them takes priority. By making the priority values signed rather than unsigned, we make it more convenient to implement a situation where one "background" region should appear only where no other region exists: rather than having to explicitly specify a high priority for all the other regions, we can let them take the default (zero) priority and specify a negative priority for the background region. Reviewed-by: Peter Maydell <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Marcel Apfelbaum <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
a1ff8ae0666ffcbe78ae7e28812dd30db6bb7131
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a1ff8ae0666ffcbe78ae7e28812dd30db6bb7131
2013-10-14 17:11:44+03:00
lsi: ignore write accesses to CTEST0 registers 53C895A datasheet says that this register is read/write, and that the value returned on read access is dependant of DMA FIFO state. However, nothing is said for written value. 53C810A datasheet gives more insight about this register: "This was a general purpose read/write register in previous SYM53C8XX family chips. Although it is still a read/write register, Symbios reserves the right to use these bits for future 53C8XX family enhancements." This prevents going to the default case, which prints an error message. Signed-off-by: Hervé Poussineau <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
0903c35ddeebde56772b39cf08e7a0bae2eb39eb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0903c35ddeebde56772b39cf08e7a0bae2eb39eb
2013-09-16 12:42:25+02:00
iscsi: split discard requests in multiple parts Replace .bdrv_aio_discard with .bdrv_co_discard so that discard requests can be split in multiple parts, each for a small amount of sectors. This is useful because we expose a generic API with no limit on the amount of sectors that can be unmapped in one request. Signed-off-by: Peter Lieven <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
65f3e33964bc4bb634d61463814a4ccca794e3c0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/65f3e33964bc4bb634d61463814a4ccca794e3c0
2013-09-12 13:14:19+02:00
qemu-iotests: Adjust test result 039 The moved OFLAG_COPIED check in qcow2_check_refcounts results in a different output from test 039 (mismatches are now found after the general refcount check (as far as any remain)). This patch adjusts the expected test result accordingly. Signed-off-by: Max Reitz <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
b3f3a30f387f34308b3e4d910a2824e69c34182f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b3f3a30f387f34308b3e4d910a2824e69c34182f
2013-09-06 15:25:07+02:00
vmdk: check granularity field in opening Granularity is used to calculate the cluster size and allocate r/w buffer. Check the value from image before using it, so we don't abort() for unbounded memory allocation. Signed-off-by: Fam Zheng <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
8aa1331c09a9b899f48d97f097bb49b7d458be1c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8aa1331c09a9b899f48d97f097bb49b7d458be1c
2013-08-06 15:27:32+02:00
qemu-ga: build it even if !system Move qemu-ga build check out of if softmmu.. into its own section. We want to build qemu-ga for _guest_ even if system build isn't done. It is controlled separately using --enable-guest-agent. Additionally, give error message if guest agent is requested but not supported. Signed-off-by: Michael Tokarev <[email protected]>
e8ef31a3518c7b1e63a804fe8cecd3e94418db84
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8ef31a3518c7b1e63a804fe8cecd3e94418db84
2013-08-02 18:02:08+04:00
Initialize IA32_FEATURE_CONTROL MSR in reset and migration The recent KVM patch adds IA32_FEATURE_CONTROL support. QEMU needs to clear this MSR when reset vCPU and keep the value of it when migration. This patch add this feature. Signed-off-by: Arthur Chunqi Li <[email protected]> Signed-off-by: Gleb Natapov <[email protected]>
0779caeb1a17f4d3ed14e2925b36ba09b084fb7b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0779caeb1a17f4d3ed14e2925b36ba09b084fb7b
2013-07-25 13:09:08+03:00
dump: populate guest_phys_blocks While the machine is paused, in guest_phys_blocks_append() we register a one-shot MemoryListener, solely for the initial collection of the valid guest-physical memory ranges that happens at listener registration time. For each range that is reported to guest_phys_blocks_region_add(), we attempt to merge the range with the preceding one. Ranges can only be joined if they are contiguous in both guest-physical address space, and contiguous in host virtual address space. The "maximal" ranges that remain in the end constitute the guest-physical memory map that the dump will be based on. Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=981582 Signed-off-by: Laszlo Ersek <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
c5d7f60f0614250bd925071e25220ce5958f75d0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c5d7f60f0614250bd925071e25220ce5958f75d0
2013-08-08 11:01:46-04:00
kvm: Free current_cpu identifier Since CPU loops are done as last step in kvm_{insert,remove}_breakpoint() and kvm_remove_all_breakpoints(), we do not need to distinguish between invoking CPU and iterated CPUs and can thereby free the identifier for use as a global variable. Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
80b7cd735417b0883a026d79a513629a2817cdb4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/80b7cd735417b0883a026d79a513629a2817cdb4
2013-07-09 21:20:28+02:00
PPC: Newworld: Add second uninorth control register set Mac OS X requires a second uninorth register set to be mapped a few bytes above the first one. Let's just expose it to make it happy. Signed-off-by: Alexander Graf <[email protected]>
593c18116090237db96af6e50b902d790265ebc5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/593c18116090237db96af6e50b902d790265ebc5
2013-07-01 01:11:17+02:00
cpu: Turn cpu_unassigned_access() into a CPUState hook Use it for all targets, but be careful not to pass invalid CPUState. cpu_single_env can be NULL, e.g. on Xen. Signed-off-by: Andreas Färber <[email protected]>
c658b94f6e8c206c59d02aa6fbac285b86b53d2c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c658b94f6e8c206c59d02aa6fbac285b86b53d2c
2013-06-28 13:25:13+02:00
tcg-i386: Use QEMU_BUILD_BUG_ON instead of assert for frame size We can check the condition at compile time, rather than run time. Reviewed-by: Andreas Färber <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
b5cc476da7e71629d8d4ab77f691c70346368788
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b5cc476da7e71629d8d4ab77f691c70346368788
2013-07-09 07:15:25-07:00
target-ppc: Drop redundant flags assignments from CPU families Previous code has #define POWERPC_INSNS2_<family> PPC_NONE in some places for macrofied assignment to insns_flags2 field. PPC_NONE is defined as zero though and QOM classes are zero-initialized, so drop any pcc->insns_flags2 = PPC_NONE; assignments. PPC_NONE itself is still in use in translate.c. Suggested-by: Alexander Graf <[email protected]> Signed-off-by: Andreas Färber <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
1e3438df5a9e75355b36200f3bd8b94d1a32cc24
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1e3438df5a9e75355b36200f3bd8b94d1a32cc24
2013-07-01 01:11:15+02:00
smbios: Convert to error_report() Improves diagnistics from ad hoc messages like Invalid SMBIOS UUID string to qemu-system-x86_64: -smbios type=1,uuid=gaga: Invalid UUID Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Laszlo "ever the optimist" Ersek <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
5bb95e41868b461f37159efb48908828ebd7ab36
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5bb95e41868b461f37159efb48908828ebd7ab36
2013-06-14 08:58:57-05:00
cpu: Guard cpu_{save,load}() definitions A few targets already managed to implement cpu_save() and cpu_load() without defining CPU_SAVE_VERSION that causes them to be registered. Guard the prototypes with CPU_SAVE_VERSION to avoid this happening again until all targets are converted to VMState (or QIDL). Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
8d0f2baebe57ccdb09a21da80b2994b772854ad6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8d0f2baebe57ccdb09a21da80b2994b772854ad6
2013-06-28 13:25:12+02:00
memory_mapping: Drop qemu_get_memory_mapping() stub dump.c:dump_init() never checked for the return code anyway. If paging is not enabled, it will fall back to an identity map. If paging is enabled and getting memory mapping list is not implemented, qemu_get_guest_memory_mapping() will return an error. Since the targets not implementing memory mapping also don't implement dump support, we will not reach this code today and can worry about changing cpu_paging_enabled() default when the need arises. This allows us to drop CONFIG_HAVE_GET_MEMORY_SUPPORT. Signed-off-by: Andreas Färber <[email protected]>
c22d8e0448aecb48a91f3936419ad1b63fbb4a6a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c22d8e0448aecb48a91f3936419ad1b63fbb4a6a
2013-06-11 18:10:44+02:00
memory: add address_space_access_valid The old-style IOMMU lets you check whether an access is valid in a given DMAContext. There is no equivalent for AddressSpace in the memory API, implement it with a lookup of the dispatch tree. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
51644ab70ba125cb9545702d64890743d75b444b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/51644ab70ba125cb9545702d64890743d75b444b
2013-05-29 16:27:16+02:00
xilinx_spips: lqspi: Dont touch config register The LQSPI mode is supposed to work via the automatic CS mode feature rather than manipulate CS lines itself. Now that auto CS is implemented remove LQSPIs CS mode override logic. There is still a need to manipulate the U_PAGE bit in LQSPI config register to implement dual-stack mode however. Signed-off-by: Peter Crosthwaite <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Message-id: 000c8dd54df09523f17052638100722ef0f5a3af.1369117359.git.peter.crosthwaite@xilinx.com Signed-off-by: Peter Maydell <[email protected]>
15408b428f5b4db56da555fbda4f1aaf40d77f4b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/15408b428f5b4db56da555fbda4f1aaf40d77f4b
2013-06-03 17:17:43+01:00
main-loop: partial revert of 5e3bc73 This patch reverts part of 5e3bc735d93dd23f074b5116fd11e1ad8cd4962f. Paolo Bonzini wrote this patch and commented: "WSAEventSelect is edge-triggered and the event will not be signaled if the socket handler does not consume all the data in the socket buffer." Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
3cb8c205e36531a07dff1d8414c9e2cbf04c980b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3cb8c205e36531a07dff1d8414c9e2cbf04c980b
2013-05-16 14:18:47-05:00
qom/object: Don't poll cast cache for NULL objects object_dynamic_cast_assert used to be tolerant of NULL objects and not assert. It's clear from the implementation that this is the expected behavior. The preceding check of the cast cache dereferences obj however causing a segfault. Fix by conditionalizing the cast cache logic on obj being non-null. Signed-off-by: Peter Crosthwaite <[email protected]> Reviewed-by: Andreas Färber <[email protected]> Reviewed-by: Anthony Liguori <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]> Message-id: 8e2bef6a55753869c50bfa32226f7fcf0439ca62.1369183592.git.peter.crosthwaite@xilinx.com Signed-off-by: Anthony Liguori <[email protected]>
95916abcf428fb03644468c7fbce64356c6483c0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/95916abcf428fb03644468c7fbce64356c6483c0
2013-05-22 07:40:09-05:00
block: initial VHDX driver support framework - supports open and probe This is the initial block driver framework for VHDX image support (i.e. Hyper-V image file formats), that supports opening VHDX files, and parsing the headers. This commit does not yet enable: - reading - writing - updating the header - differencing files (images with parents) - log replay / dirty logs (only clean images) This is based on Microsoft's VHDX specification: "VHDX Format Specification v0.95", published 4/12/2012 https://www.microsoft.com/en-us/download/details.aspx?id=29681 Signed-off-by: Jeff Cody <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
e8d4e5ffdb015959551726a5700c19b5d772ada4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e8d4e5ffdb015959551726a5700c19b5d772ada4
2013-05-03 10:31:58+02:00
stream: Remove app argument hack The uint32_t *app argument doesn't exist in real hardware. It was a hack in xilinx_axidma/enet to fake the (secondary) control stream connection. Removed the argument and added the second stream to axienet/dma. Signed-off-by: Peter Crosthwaite <[email protected]> Signed-off-by: Edgar E. Iglesias <[email protected]>
42bb9c9178ae7ac4c439172b1ae99cc29188a5c6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/42bb9c9178ae7ac4c439172b1ae99cc29188a5c6
2013-04-16 10:04:23+02:00
block: drop duplicated slice extension code The current slice is extended when an I/O request exceeds the limit. There is no need to extend the slice every time we check a request. Signed-off-by: Stefan Hajnoczi <[email protected]> Tested-By: Benoit Canet <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
e660fb8b3ccc94652774d5895d122c0f13aecb89
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e660fb8b3ccc94652774d5895d122c0f13aecb89
2013-04-05 18:58:05+02:00
target-ppc: Remove address check for logging One LOG_MMU statement in mmu_helper.c has an odd check on the effective address being translated. I can see no reason for this; I suspect it was a debugging hack from long ago. This patch removes it. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
8152ceaf6eea6d63f6ee65eb419fff56bb3b987b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8152ceaf6eea6d63f6ee65eb419fff56bb3b987b
2013-03-22 15:28:46+01:00
target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal each" mode pcmpXstrX instructions in "Equal each" mode force both invalid element pair to true. It means (upper - MAX(valids, validd)) bits should be set to 1, not (upper - MAX(valids, validd) + 1). Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
b27a6cacb73ca006c6995ca5c3db7347333ba7f4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b27a6cacb73ca006c6995ca5c3db7347333ba7f4
2013-04-01 18:49:16+02:00
qcow2: make is_allocated return true for zero clusters Otherwise, live migration of the top layer will miss zero clusters and let the backing file show through. This also matches what is done in qed. QCOW2_CLUSTER_ZERO clusters are invalid in v2 image files. Check this directly in qcow2_get_cluster_offset instead of replicating the test everywhere. Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
381b487d54ba18c73df9db8452028a330058c505
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/381b487d54ba18c73df9db8452028a330058c505
2013-03-15 16:07:50+01:00
PPC/GDB: handle read and write of fpscr Although the support of this register may be uncomplete, there are no reason to prevent the debugger from reading or writing it. Signed-off-by: Fabien Chouteau <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
d6478bc7e92db4669fac701d7bb8c51756b61d8a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d6478bc7e92db4669fac701d7bb8c51756b61d8a
2013-03-22 15:28:46+01:00
s390: Lowcore mapping helper. Create a lowcore mapping helper that includes a check for sufficient length. Signed-off-by: Cornelia Huck <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
4782a23b270ecbb9ce0ca6f3f1b60857a09cef0e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4782a23b270ecbb9ce0ca6f3f1b60857a09cef0e
2013-01-29 21:50:04+01:00
openpic: remove pcsr (CPU sensitivity register) I could not find this register in any spec (FSL, IBM, or OpenPIC) and the code doesn't do anything with it but initialize, save, or restore it. Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
c975330ec4f5674f2899331f914c04ecba6edf26
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c975330ec4f5674f2899331f914c04ecba6edf26
2013-01-07 17:37:08+01:00
migration: do not nest flushing of device data Completion of migration is currently done with a "nested" loop that invokes buffered_flush: migrate_fd_completed is called by buffered_file_thread, which calls migrate_fd_cleanup, which calls buffered_close (via qemu_fclose), which flushes the buffer. Simplify this, by reusing the buffered_flush call of buffered_file_thread. Then if qemu_savevm_state_complete was called, and the buffer is empty (including the QEMUFile buffer, for which we need the previous patch), we are done. Reviewed-by: Orit Wasserman <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
a3fa1d78cbae2259491b17689812edcb643a3b30
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a3fa1d78cbae2259491b17689812edcb643a3b30
2013-03-11 13:32:01+01:00
Add support for cancelling of a TPM command This patch adds support for cancelling an executing TPM command. In Linux for example a user can cancel a command through the TPM's sysfs 'cancel' entry using echo "1" > /sysfs/class/misc/tpm0/device/cancel This patch propagates the cancellation of a command inside a VM to the host TPM's sysfs entry. It also uses the possibility to cancel the command before QEMU VM shutdown or reboot, which helps in preventing QEMU from hanging while waiting for the completion of the command. To relieve higher layers or users from having to determine the TPM's cancel sysfs entry, the driver searches for the entry in well known locations. Signed-off-by: Stefan Berger <[email protected]> Reviewed-by: Corey Bryant <[email protected]> Reviewed-by: Joel Schopp <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
92dcc234ec1f266fb5d59bed77d66320c2c75965
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/92dcc234ec1f266fb5d59bed77d66320c2c75965
2013-03-12 13:40:55-05:00
janitor: do not rely on indirect inclusions of or from qemu-char.h Various header files rely on qemu-char.h including qemu-config.h or main-loop.h, but they really do not need qemu-char.h at all (particularly interesting is the case of the block layer!). Clean this up, and also add missing inclusions of qemu-char.h itself. Signed-off-by: Paolo Bonzini <[email protected]>
077805fa92b9089137c6b6b196d449ee05cc342f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/077805fa92b9089137c6b6b196d449ee05cc342f
2012-12-19 08:29:52+01:00
raw-posix: inline paio_ioctl into hdev_aio_ioctl clang now warns about an unused function: CC block/raw-posix.o block/raw-posix.c:707:26: warning: unused function paio_ioctl [-Wunused-function] static BlockDriverAIOCB *paio_ioctl(BlockDriverState *bs, int fd, ^ 1 warning generated. because the only use of paio_ioctl() is inside a #if defined(__linux__) guard and it is static now. Reported-by: Peter Maydell <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
c208e8c2d88eea2bbafc2850d8856525637e495d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c208e8c2d88eea2bbafc2850d8856525637e495d
2012-12-11 11:04:26+01:00
seccomp: adding new syscalls (bugzilla 855162) According to the bug 855162[0] - there's the need of adding new syscalls to the whitelist when using Qemu with Libvirt. [0] - https://bugzilla.redhat.com/show_bug.cgi?id=855162 Reported-by: Paul Moore <[email protected]> Tested-by: Paul Moore <[email protected]> Signed-off-by: Eduardo Otubo <[email protected]> Signed-off-by: Corey Bryant <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
fe512d65e0b752dfa7af6cfb374a0820d35040d0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fe512d65e0b752dfa7af6cfb374a0820d35040d0
2012-11-30 08:27:27-06:00
pc: Drop redundant test for ROM memory region Just a few lines above, we already initialize rom_memory accordingly. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
0d3cf3b6ff469bba95ae235021a3be232af4068d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0d3cf3b6ff469bba95ae235021a3be232af4068d
2012-11-01 19:50:57+01:00
exynos4210/mct: Avoid infinite loop on non incremental timers Check for a 0 "distance" value to avoid infinite loop when the expired FCR timer was not programed with auto-increment. With this change the behavior is coherent with the same type of code in the exynos4210_gfrc_restart() function in the same file. Linux seems to mostly use this timer with auto-increment which explain why it is not a problem most of the time. However other OS might have a problem with this if they don't use the auto-increment feature. Signed-off-by: Jean-Christophe DUBOIS <[email protected]> Reviewed-by: Evgeny Voevodin <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
97331270e50f5858c82a0c6d146da81f5b776535
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/97331270e50f5858c82a0c6d146da81f5b776535
2012-12-11 12:54:47+00:00
hw/pl110: Use LOG_GUEST_ERROR rather than hw_error() Use LOG_GUEST_ERROR to report guest accesses to invalid register offsets. Signed-off-by: Peter Maydell <[email protected]>
375cb560295484b88898262ebf400eff9a011206
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/375cb560295484b88898262ebf400eff9a011206
2012-10-30 07:45:09+00:00
uhci: Immediately free queues on device disconnect There is no need to just cancel any in-flight packets, and then wait for validate-end to clean things up, we can simply clean things up immediately on device removal. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
5ad23e873c858292dc58b9296261365312b8f683
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5ad23e873c858292dc58b9296261365312b8f683
2012-10-25 09:08:11+02:00
virtio-serial-bus: post_load send_event when vm is running Alexander Larsson found irq injection to Windows guests stopped after a migration. The symptom was the mouse stopped working. Reproduction steps are: 1. On src, start qemu with a virtio-serial port without any backend 2. On dest, start qemu with a virtio-serial port with a backend 3. Migrate. Upon migration, the older code detected the change in backend connection status, and sent a notification to the guest. However, it's not guaranteed that the apic is ready to inject irqs into the guest, and the irq line remained high, resulting in any future interrupts going unnoticed by the guest as well. Add a new timer based on vm_clock for 1 ns in the future from post_load to do the event send in case host_connected differs between migration source and target. RHBZ: 867366 Signed-off-by: Alon Levy <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: Amit Shah <[email protected]> # verbose commit log
80dcfb8532ae76343109a48f12ba8ca1c505c179
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/80dcfb8532ae76343109a48f12ba8ca1c505c179
2012-11-16 14:10:37+05:30
audio: Fix warning from static code analysis smatch report: audio/audio_template.h:416 AUD_open_out(18) warn: variable dereferenced before check 'as' (see line 414) Moving the ldebug statement after the statement which checks 'as' fixes that warning. Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: malc <[email protected]>
93b6599734f81328ee3d608f57667742cafeea72
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/93b6599734f81328ee3d608f57667742cafeea72
2012-09-23 01:34:16+04:00
pci: Return PCI_INTX_DISABLED when no bus INTx routing support Rather than assert, simply return PCI_INTX_DISABLED when we don't have a pci_route_irq_fn. PIIX already returns DISABLED for an invalid pin, so users already deal with this state. Users of this interface should only be acting on an ENABLED or INVERTED return value (though we really have no support for INVERTED). Also complain loudly when we hit this so we don't forget it's missing. Signed-off-by: Alex Williamson <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jan Kiszka <[email protected]>
05c0621e64b425d9f89bef542f0b85e61dc57ff8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/05c0621e64b425d9f89bef542f0b85e61dc57ff8
2012-10-29 17:59:06+02:00
block: move aio initialization into a helper function Move AIO initialization for raw-posix block driver into a helper function. In addition to just code motion, the aio_ctx pointer is checked for NULL, prior to calling laio_init(), to make sure laio_init() is only run once. Signed-off-by: Jeff Cody <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
fc32a72dc19a79f7e16156784b1e76a128d41841
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fc32a72dc19a79f7e16156784b1e76a128d41841
2012-09-24 15:15:11+02:00
ehci: handle TD deactivation of inflight packets Check the TDs of inflight packets, cancel packets in case the guest clears the active bit. Signed-off-by: Gerd Hoffmann <[email protected]>
287fd3f1dd0b2abbd69e58b402e5364b334e95bd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/287fd3f1dd0b2abbd69e58b402e5364b334e95bd
2012-08-31 15:47:35+02:00
qed: mark image clean after repair succeeds The dirty bit is cleared after image repair succeeds in qed_open(). Move this into qed_check() so that all callers benefit from this behavior when fix=true. This is necessary so qemu-img check can call .bdrv_check() and mark the image clean. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
b10170aca0616df85482dcc7ddda03437bc07cca
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b10170aca0616df85482dcc7ddda03437bc07cca
2012-08-10 10:25:12+02:00
qmp: don't emit the RESET event on wakeup from S3 QEMU is basically using reset logic when waking up from S3. This causes the QMP RESET event to be emitted, which is wrong. Also, the runstate checks done in reset are not necessary for S3 wakeup. Fix this by untangling wakeup from reset logic and passing VMRESET_SILENT to qemu_system_reset() to avoid emitting the RESET event. Signed-off-by: Luiz Capitulino <[email protected]> Acked-by: Gerd Hoffmann <[email protected]>
1405819637f53ed8021067eb3ea52e32bef2870b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1405819637f53ed8021067eb3ea52e32bef2870b
2012-08-13 16:10:18-03:00
scsi-disk: split scsi-disk reqops Only checks for present medium were still done in scsi_send_command for emulated commands. So move those to scsi_disk_emulate_command and return different SCSIReqOps depending on the kind of command. Checks for present medium can be done unconditionally for the scsi_disk_dma_reqops case. Signed-off-by: Paolo Bonzini <[email protected]>
b08d0ea0446aa91f373c9df4254ba3bc4ee84098
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b08d0ea0446aa91f373c9df4254ba3bc4ee84098
2012-07-26 17:44:09+02:00
target-sparc: fix fcmp{s,d,q} instructions wrt exception fcmp{s,d,q} instructions are supposed to ignore quiet NaN (contrary to the fcmpe{s,d,q} instructions), but the current code is wrongly setting the NV exception in that case. Moreover the current code is duplicated: first the arguments are checked for NaN to generate an exception, and later in case the comparison is unordered (which can only happens if one of the argument is a NaN), the same check is done to generate an exception. Fix that by calling clear_float_exceptions() followed by check_ieee_exceptions() as for the other floating point instructions. Use the _compare_quiet functions for fcmp{s,d,q} and the _compare ones for fcmpe{s,d,q}. Simplify the flag setting by not clearing a flag that is set the line just below. This fix allows the math glibc testsuite to pass. Cc: Blue Swirl <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
5acfc8320fdd455c3ee5c21fe7d3403dbc755372
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5acfc8320fdd455c3ee5c21fe7d3403dbc755372
2012-09-08 09:03:45+00:00
blockdev: Don't limit DriveInfo serial to 20 characters All current users (IDE, SCSI and virtio-blk) happen to share this 20 characters limit. Still, it should be left to device models. They already enforce their limits. They have to, as the DriveInfo limit only affects legacy -drive serial=..., not the qdev properties. usb-storage, which doesn't limit serial number length, also uses DriveInfo for -usbdevice. But that doesn't provide access to DriveInfo serial. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
577d0a38070d1d6c4c7fab5c2054380770b1ec6b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/577d0a38070d1d6c4c7fab5c2054380770b1ec6b
2012-07-17 16:48:32+02:00
stream: move rate limiting to a separate header file Make the code reusable. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
6ef228fc0de1d5fb43ebfef039563d39a3a37067
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6ef228fc0de1d5fb43ebfef039563d39a3a37067
2012-06-15 14:03:42+02:00
x86: Fixed incorrect segment base address addition in 64-bits mode According to the Intel manual "Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3", "3.4.4 Segment Loading Instructions in IA-32e Mode": "When in compatibility mode, FS and GS overrides operate as defined by 32-bit mode behavior regardless of the value loaded into the upper 32 linear-address bits of the hidden descriptor register base field. Compatibility mode ignores the upper 32 bits when calculating an effective address." However, the code misses the 64-bit mode case, where an instruction with address and segment size override would be translated incorrectly. For example, inc dword ptr gs:260h[ebx*4] gets incorrectly translated to: (uint32_t)(gs.base + ebx * 4 + 0x260) instead of gs.base + (uint32_t)(ebx * 4 + 0x260) Signed-off-by: Vitaly Chipounov <[email protected]> Reviewed-by: Max Filippov <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
7162ab21fe8e82f924002951cd8e87f69358f8b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7162ab21fe8e82f924002951cd8e87f69358f8b5
2012-07-29 08:45:57+00:00
qemu-iotests: add 036 autoclear feature bit test This new test validates the autoclear feature bit behavior. When QEMU opens a qcow2v3 image file with an unknown autoclear feature bit the bit should be cleared in the image file header. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
d551cd50a43b9998c7aa562db7c567f557fb58fd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d551cd50a43b9998c7aa562db7c567f557fb58fd
2012-06-15 14:03:44+02:00
qemu_find_file: check name as a straight path even if it has no '/' Make qemu_find_file() check for the passed in name as a straight pathname even if it doesn't have any path separator character in it. This means that "-bios foo", "-dtb foo" etc will find a file 'foo' in the current directory. This removes an inconsistency with -kernel and -initrd, which both accept plain filenames as meaning files in the current directory. It's also less confusing for the user than an undocumented restriction that "this option accepts a filename, except for the special case where the filename you pass happens not to have a '/' in it, in which case we'll ignore it." Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
31783203c3b74c11015b20194d57dada559940cf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/31783203c3b74c11015b20194d57dada559940cf
2012-07-11 08:51:50-05:00
qdev: Remove PropertyInfo range checking Range checking in PropertyInfo is now used only for pci_devfn properties and some error reporting. Remove all code that implements it in the various property types, and the now unused fields. Signed-off-by: Paolo Bonzini <[email protected]> [AF: Fix blocksize min/max for 32-bit hosts by using const int64_t.] Signed-off-by: Andreas Färber <[email protected]>
27712df95d85e76e9d41a0a4ee2acd0ad8a9cc6d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/27712df95d85e76e9d41a0a4ee2acd0ad8a9cc6d
2012-06-08 16:11:14+02:00
qcow2: Ignore reserved bits in check_refcounts Also don't infer the cluster type directly from the L2 entries, but use qcow2_get_cluster_type() to keep everything in a single place. Signed-off-by: Kevin Wolf <[email protected]>
afdf0abe779f4b11712eb306ab2d4299820457b8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/afdf0abe779f4b11712eb306ab2d4299820457b8
2012-04-20 15:57:29+02:00
qemu-ga: guest-suspend-ram: don't emit a success response Today, qemu-ga may not be able to emit a success response when guest-suspend-ram completes. This happens because the VM may suspend before qemu-ga is able to emit a response. This semantic is a bit confusing, as it's not clear for clients if they should wait for a response or how they should check for success. This commit solves that problem by changing guest-suspend-ram to never emit a success response and suggests in the documentation what clients should do to check for success. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Michael Roth <[email protected]>
432d29db0db9d08fe34a57b8c03af20c9f759d77
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/432d29db0db9d08fe34a57b8c03af20c9f759d77
2012-05-15 09:15:16-05:00
qemu-img: add image fragmentation statistics Discussion can be found at: http://patchwork.ozlabs.org/patch/128730/ This patch add image fragmentation statistics while using qemu-img check. Signed-off-by: Dong Xu Wang <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
f8111c241afa75544032dcfa23df0699c91f9866
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f8111c241afa75544032dcfa23df0699c91f9866
2012-04-05 14:54:40+02:00
alpha-linux-user: Initialize fpu to round-to-normal. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
7b74505331fdd701557b01dd09ae9a62f31ea994
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7b74505331fdd701557b01dd09ae9a62f31ea994
2012-03-24 17:07:25+00:00
target-xtensa: fix tb invalidation for IBREAK and LOOP Instruction breakpoint/zero overhead loop handling code is built into TBs pointed to by IBREAKA/LEND SRs. When these or related SRs get changed TBs at virtual addresses corresponding to their old and their new values must be invalidated. Virtual address range is passed to the tb_invalidate_phys_page_range, which is incorrect in system emulation mode. To fix it use guest TLB/MMU to translate virtual address to physical address. However the guest may not have virtual-to-physical mapping at the moment of IBREAKA/LEND change, thus this fix is not 100% accurate. Signed-off-by: Max Filippov <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
3d0be8a5c135dadcfbd68ed354007a8cece98849
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3d0be8a5c135dadcfbd68ed354007a8cece98849
2012-04-14 15:25:38+00:00
pseries: Consolidate hack for RTAS display-character usage Currently the pseries machine contains not one but two somewhat ugly hacks to allow printing of early debug messages before the guest has properly read the device tree. First, we special case H_PUT_TERM_CHAR so that a vtermno of 0 (usually invalid) will look for a suitable vty and use that. This supports Linux's early debug code which will use H_PUT_TERM_CHAR with vtermno==0 before reading the device tree. Second, we support the RTAS display-character call. This takes no vtermno so we assume the address of the default first VTY. This patch makes things more consistent by folding the second hack into the first. Now, display-character uses the existing vty_lookup() function to do the same search for a suitable VTY. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
5f2e2ba2625d6fa4ecbc2af86e076c20ab84c171
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5f2e2ba2625d6fa4ecbc2af86e076c20ab84c171
2012-04-15 17:07:19+02:00
Purge migration of (almost) everything to do with monitors The Monitor object is passed back and forth within the migration/savevm code so that it can print errors and progress to the user. However, that approach assumes a HMP monitor, being completely invalid in QMP. This commit drops almost every single usage of the Monitor object, all monitor_printf() calls have been converted into DPRINTF() ones. There are a few remaining Monitor objects, those are going to be dropped by the next commit. Signed-off-by: Anthony Liguori <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
539de1246d355d3b8aa33fb7cde732352d8827c7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/539de1246d355d3b8aa33fb7cde732352d8827c7
2012-03-15 10:39:52-03:00
target-xtensa: implement instruction breakpoints Add IBREAKA/IBREAKENABLE SRs and implement debug exception, BREAK and BREAK.N instructions and IBREAK breakpoints. IBREAK breakpoint address is considered constant for TB lifetime. On IBREAKA/IBREAKENABLE change corresponding TBs are invalidated. Signed-off-by: Max Filippov <[email protected]>
e61dc8f72c096e084106d5e97101d9d88f642d0e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e61dc8f72c096e084106d5e97101d9d88f642d0e
2012-02-18 14:55:51+04:00
target-xtensa: add DBREAK data breakpoints Add DBREAKA/DBREAKC SRs and implement DBREAK breakpoints as debug watchpoints. This implementation is not fully compliant to ISA: when a breakpoint is set to an unmapped/inaccessible memory address it generates TLB/memory protection exception instead of debug exception. See ISA, 4.7.7.3, 4.7.7.6 for more details. Signed-off-by: Max Filippov <[email protected]>
f14c4b5fb1e2509ad738afe491c099a84ca80749
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f14c4b5fb1e2509ad738afe491c099a84ca80749
2012-02-20 20:07:12+04:00
linux-user: fake /proc/self/auxv Gtk tries to read /proc/self/auxv to find its auxv table instead of taking it from its own program memory space. However, when running with linux-user, we see the host's auxv which clearly exposes wrong information. so let's instead expose the guest memory backed auxv tables via /proc/self/auxv as well. Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Riku Voipio <[email protected]>
257450ee59fd7e781cb4e2316ddc845c40b9fc42
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/257450ee59fd7e781cb4e2316ddc845c40b9fc42
2012-02-02 17:51:20+02:00
block: rate-limit streaming operations This patch implements rate-limiting for image streaming. If we've exceeded the bandwidth quota for a 100 ms time slice we sleep the coroutine until the next slice begins. Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
5094a6c016f6e7a4fc800816d716e10ce2331396
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5094a6c016f6e7a4fc800816d716e10ce2331396
2012-01-26 11:45:26+01:00
sdl: Limit sdl_grab_end in handle_activation to Windows hosts There are scenarios on Linux with some SDL versions where handle_activation is continuous invoked with state = SDL_APPINPUTFOCUS and gain = 0 while we grabbed the input. This causes a ping-pong when we grab the input after an absolute mouse entered the window. As this sdl_grab_end was once introduced to work around a Windows-only issue (0294ffb9c8), limit it to that platform. CC: Erik Rull <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
02df4d6fb4dad5b82165fb603cc403256574cbf8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/02df4d6fb4dad5b82165fb603cc403256574cbf8
2012-02-01 14:45:02-06:00
qapi: Introduce change-vnc-password New QMP command to change the VNC password. Signed-off-by: Anthony Liguori <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
270b243f91cdae380eb02396e57452c15dbcef86
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/270b243f91cdae380eb02396e57452c15dbcef86
2012-01-18 10:23:39-02:00
kvm: x86: Add user space part for in-kernel APIC This introduces the alternative APIC device which makes use of KVM's in-kernel device model. External NMI injection via LINT1 is emulated by checking the current state of the in-kernel APIC, only injecting a NMI into the VCPU if LINT1 is unmasked and configured to DM_NMI. MSI is not yet supported, so we disable this when the in-kernel model is in use. CC: Lai Jiangshan <[email protected]> Signed-off-by: Jan Kiszka <[email protected]>
680c1c6fd73c0cb3971938944936f18bbb7bad1b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/680c1c6fd73c0cb3971938944936f18bbb7bad1b
2012-01-19 12:14:42+01:00
nbd: fix error handling in the server bdrv_read and bdrv_write return negative errno values, not -1. Signed-off-by: Paolo Bonzini <[email protected]>
adcf6302de40e50a8010e7f2c79b3dac2eea6e0c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/adcf6302de40e50a8010e7f2c79b3dac2eea6e0c
2011-12-22 11:53:57+01:00
usb-ehci: Fix and simplify nakcnt handling The nakcnt code in ehci_execute_complete() marked transactions as finished when a packet completed with a result of USB_RET_NAK, but USB_RET_NAK means that the device cannot receive / send data at that time and that the transaction should be retried later, which is also what the usb-uhci and usb-ohci code does. Note that there already was some special code in place to handle this for interrupt endpoints in the form of doing a return from ehci_execute_complete() when reload == 0, but that for bulk transactions this was not handled correctly (where as for example the usb-ccid device does return USB_RET_NAK for bulk packets). Besides that the code in ehci_execute_complete() decrement nakcnt by 1 on a packet result of USB_RET_NAK, but -since the transaction got marked as finished, nakcnt would never be decremented again -there is no code checking for nakcnt becoming 0 -there is no use in re-trying the transaction within the same usb frame / usb-ehci frame-timer call, since the status of emulated devices won't change as long as the usb-ehci frame-timer is running So we should simply set the nakcnt to 0 when we get a USB_RET_NAK, thus claiming that we've tried reload times (or as many times as possible if reload is 0). Besides the code in ehci_execute_complete() handling USB_RET_NAK there was also code handling it in ehci_state_executing(), which calls ehci_execute_complete(), and then does its own handling on top of the handling in ehci_execute_complete(), this code would decrement nakcnt *again* (if not already 0), or restore the reload value (which was never changed) on success. Since the double decrement was wrong to begin with, and is no longer needed now that we set nakcnt directly to 0 on USB_RET_NAK, and the restore of reload is not needed either, this patch simply removes all nakcnt handling from ehci_state_executing(). Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
553a6a59f6931bf3a034945e0c1585f4b05d6000
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/553a6a59f6931bf3a034945e0c1585f4b05d6000
2012-03-07 12:28:04+01:00
ppce500_pci: remove sysbus_init_mmio_cb2 usage Expose only one container MemoryRegion to sysbus. (Peter Maydell's idea) Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Benoît Canet <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
cb4e15c7ff92859d112221ef57ee4340e5c531d3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cb4e15c7ff92859d112221ef57ee4340e5c531d3
2011-12-19 13:36:27-06:00
net: truncate output file when using dump backend This prevents data of a previous run to be seen in the new dump file. Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Hervé Poussineau <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
6514ed528cd6cf752927b4eb38e64bba84c321ff
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6514ed528cd6cf752927b4eb38e64bba84c321ff
2011-12-20 15:44:29-06:00
hw/9pfs: Use read-write lock for protecting fid path. On rename we take the write lock and this ensure path doesn't change as we operate on them. Signed-off-by: Aneesh Kumar K.V <[email protected]>
02cb7f3a256517cbf3136caff2863fbafc57b540
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/02cb7f3a256517cbf3136caff2863fbafc57b540
2011-09-22 21:38:52+05:30
PPC: Drop initial ESCC mapping We are mapping ESCC to a static (incorrect) address on machine init. This overlaps with our vram, rendering the screen barely usable. Since openBIOS is clever enough to map ESCC to where it needs to be, we can just drop that invalid map and everyone's happy. Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
b39491a83d0b9d573d5fd21163f61f66a11b54b9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b39491a83d0b9d573d5fd21163f61f66a11b54b9
2011-10-01 06:45:35+00:00
configure: avoid screening of --{en, dis}able-usb-redir options --*dir) option pattern precede --{en,dis}able-usb-redir) patterns in the option analysis switch, making the latter options have no effect. There were some --*dir that are supported by Autoconf and not by QEMU configure. The aim was to let QEMU packagers use the rpm (or similar) macro that overrides directories for their distribution. Replace --*dir with exact option names. Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Max Filippov <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
023ddd743136d2b1f7a2e6b3772736f96bfca1ff
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/023ddd743136d2b1f7a2e6b3772736f96bfca1ff
2011-11-28 16:20:53-06:00
xen: move to new pci initializers move ids to pci info structure Signed-off-by: Michael S. Tsirkin <[email protected]>
0d2b962d16feaf1eb1a4658a4c1b85642418cd07
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0d2b962d16feaf1eb1a4658a4c1b85642418cd07
2011-07-17 18:47:34+03:00
checkpatch: Fix bracing false positives on #if 789f88d0b21fedfd4251d56bb7a9fbfbda7a4ac7 only fixed #else, fix also #if. Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
d0510af26d854f714114a312eb4aed0649447eb2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d0510af26d854f714114a312eb4aed0649447eb2
2011-07-20 21:07:24+00:00
vl.c: Don't limit node count by smp count [I've sent this patch couple of months ago and noticed it didn't make it's way in - so I'm sending it again] It is possible to create CPU-less NUMA nodes, node amount shouldn't be limited by amount of CPUs. Tested-by: Michael Roth <[email protected]> Acked-by: Andre Przywara <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
ea0e541812c515e0bbdf598d3237d6f0bee3fbbf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ea0e541812c515e0bbdf598d3237d6f0bee3fbbf
2011-07-23 11:19:02-05:00
savevm: Include writable devices with removable media savevm and loadvm silently ignore block devices with removable media, such as floppies and SD cards. Rolling back a VM to a previous checkpoint will *not* roll back writes to block devices with removable media. Moreover, bdrv_is_removable() is a confused mess, and wrong in at least one case: it considers "-drive if=xen,media=cdrom -M xenpv" removable. It'll be cleaned up later in this series. Read-only block devices are also ignored, but that's okay. Fix by ignoring only read-only block devices and empty block devices. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
07b70bfbb3f3aea9ce7a3a1da78cbfa8ae6bbce6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/07b70bfbb3f3aea9ce7a3a1da78cbfa8ae6bbce6
2011-09-06 11:24:07+02:00
kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid kvm_arch_get_supported_cpuid checks for global cpuid restrictions, it does not require any CPUState reference. Changing its interface allows to call it before any VCPU is initialized. CC: Eduardo Habkost <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
ba9bc59e1f5dc91caf35e0ef08da137b3a5e7386
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ba9bc59e1f5dc91caf35e0ef08da137b3a5e7386
2011-06-20 15:24:00-03:00
usb-ehci: drop EXECUTING checks. The state machine doesn't stop in EXECUTING state any more when async packets are in flight, so the checks are not needed any more and can be dropped. Also kick out the check for the frame timer. As we don't stop & sleep any more on async packets this is obsolete. Signed-off-by: Gerd Hoffmann <[email protected]>
d05393071ad4cb72ae69f77f9f61fc451251521f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d05393071ad4cb72ae69f77f9f61fc451251521f
2011-06-14 12:56:49+02:00
hw/sh_pci.c: convert to PCIDeviceInfo to initialize ids use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
ae2ebad7331930280324005c06bc0891f02eef53
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ae2ebad7331930280324005c06bc0891f02eef53
2011-06-12 10:33:36+03:00
hw/qxl.c: convert to PCIDeviceInfo to initialize ids use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
96c05abc904c6f74b60981d956cee531920e4cdf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/96c05abc904c6f74b60981d956cee531920e4cdf
2011-06-12 10:33:36+03:00
hw/es1370.c: convert to PCIDeviceInfo to initialize ids use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
0b8c537fd2fcbd9fa7dd2559c9d4110393d91107
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0b8c537fd2fcbd9fa7dd2559c9d4110393d91107
2011-06-12 10:33:34+03:00
xen: Initialize event channels and io rings Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Arun Sharma <[email protected]> Signed-off-by: Anthony PERARD <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]> Acked-by: Alexander Graf <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
9ce94e7c8a997472d79879e687d5ceaa14eca944
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9ce94e7c8a997472d79879e687d5ceaa14eca944
2011-05-08 10:10:01+02:00
target-alpha: Fix translation of PALmode memory insns. All of the "raw" memory accesses should be "phys" instead. Fix some confusion about argument ordering of the store routines. Fix the implementation of store-conditional. Delete the "alt-mode" helpers. Because we only implement two mmu modes, let /a imply user-mode unconditionally. Leave some combinations of virt access without permission checks as unimplemented. There are too many hoops through which to jump, and these insns will not be needed in the emulation palcode. Signed-off-by: Richard Henderson <[email protected]>
2374e73edafff0586cbfb67c333c5a7588f81fd5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2374e73edafff0586cbfb67c333c5a7588f81fd5
2011-05-31 10:18:04-07:00
xen: Adds a cap to the number of map cache entries. Adds a cap to the number of map cache entries. This prevents the map cache from overwhelming system memory. I also removed the bitmap macros and #included bitmap.h instead. Signed-off-By: John Baboval <[email protected]> Signed-off-by: Anthony PERARD <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
ea6c5f8ffe6de12e04e63acbb9937683b30216e2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ea6c5f8ffe6de12e04e63acbb9937683b30216e2
2011-05-08 10:10:01+02:00
qemu-img resize: Fix option parsing For shrinking images, you're supposed to use a negative size. However, the leading minus makes getopt think that it's an option and so you get the help text if you don't use -- like in 'qemu-img resize test.img -- -1G'. This patch handles the size first and removes it from the argument list so that getopt won't even try to interpret it and you don't need -- any more. Signed-off-by: Kevin Wolf <[email protected]>
e80fec7feb62c741df5360c1841ca49e4087c1cd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e80fec7feb62c741df5360c1841ca49e4087c1cd
2011-05-03 11:29:21+02:00
[v2] linux-user: bigger default stack PTHREAD_STACK_MIN (16KB) is somewhat inadequate for a new stack for new QEMU threads. Set new limit to 256K which should be enough, yet doesn't increase memory pressure significantly. Signed-off-by: Riku Voipio <[email protected]> Reviewed-by: Nathan Froyd <[email protected]>
05098a9315819621405eb662baddeec624127d7a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/05098a9315819621405eb662baddeec624127d7a
2011-04-26 10:15:40+03:00
protect qemu_cpu_kick_self for Win32 Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
b55c22c65b630137a2374ce9f2cfbf71322b7b71
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b55c22c65b630137a2374ce9f2cfbf71322b7b71
2011-03-13 14:44:22+00:00
Expose thread_id in info cpus Based on patch by Glauber Costa: To allow management applications like libvirt to apply CPU affinities to the VCPU threads, expose their ID via info cpus. This patch provides the pre-existing and used interface from qemu-kvm. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
dc7a09cfe47679d89289101cc9eb387c45e48fe7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dc7a09cfe47679d89289101cc9eb387c45e48fe7
2011-03-16 17:11:07-03:00
hw/pflash_cfi02: Fix lazy reset of ROMD mode When checking pfl->rom_mode for when to lazily reenter ROMD mode, the value was check was the opposite of what it should have been. This prevent the part from returning to ROMD mode after a write was made to the CFI rom region. Signed-off-by: Jordan Justen <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
5145b3d1cc4dc77d82086d99b0690a76e1073071
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5145b3d1cc4dc77d82086d99b0690a76e1073071
2011-04-09 18:32:13+02:00
usb-bus: fix no params After commit 702f3e0fb52c124c07f215426eeadb70a716643f, the params is nerver NULL. It should check *params instead of params to determine whether the params is empty. Signed-off-by: TeLeMan <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
98f22dc172e1ebd5341da3de0d67666442566f72
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/98f22dc172e1ebd5341da3de0d67666442566f72
2010-04-02 12:12:17+02:00