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
qemu-img: Check create_opts before image creation If a driver supports image creation, it needs to set the .create_opts field. We can use that to make sure .create_opts for both drivers involved is not NULL for the target image in qemu-img convert, which is important so that the create_opts pointer in img_convert() is not NULL after the qemu_opts_append() calls and when going into qemu_opts_create(). Cc: [email protected] Signed-off-by: Max Reitz <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
f75613cf2488a37fb8019bc32a06ddbcd477d0ce
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f75613cf2488a37fb8019bc32a06ddbcd477d0ce
2014-12-10 10:31:20+01:00
KVM_CAP_IRQFD and KVM_CAP_IRQFD_RESAMPLE checks Compute kvm_irqfds_allowed by checking the KVM_CAP_IRQFD extension. Remove direct settings in architecture specific files. Add a new kvm_resamplefds_allowed variable, initialized by checking the KVM_CAP_IRQFD_RESAMPLE extension. Add a corresponding kvm_resamplefds_enabled() function. A special notice for s390 where KVM_CAP_IRQFD was not immediatly advirtised when irqfd capability was introduced in the kernel. KVM_CAP_IRQ_ROUTING was advertised instead. This was fixed in "KVM: s390: announce irqfd capability", ebc3226202d5956a5963185222982d435378b899 whereas irqfd support was brought in 84223598778ba08041f4297fda485df83414d57e, "KVM: s390: irq routing for adapter interrupts". Both commits first appear in 3.15 so there should not be any kernel version impacted by this QEMU modification. Signed-off-by: Eric Auger <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
f41389ae3c54bd5e2040e3f95a2872981c3ed965
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f41389ae3c54bd5e2040e3f95a2872981c3ed965
2014-12-15 12:21:01+01:00
pcihp: remove unused AcpiPciHpPciStatus.device_present field Remove now unused 'device_present' field wich was obsoleted by patch "pcihp: reduce number of device check events" Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
a1b4d9eff9e8dec8b827bd744c7d670d3cdf2fb8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a1b4d9eff9e8dec8b827bd744c7d670d3cdf2fb8
2014-02-05 16:55:50+02:00
block: acquire AioContext in generic blockjob QMP commands block-job-set-speed, block-job-cancel, block-job-pause, block-job-resume, and block-job-complete must acquire the BlockDriverState AioContext so that it is safe to access bs. At the moment bs->job is always NULL when dataplane is active because op blockers prevent blockjobs from starting. Once the rest of the blockjob API has been made aware of AioContext we can drop the op blocker. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Max Reitz <[email protected]> Message-id: [email protected]
3d948cdf3760b52238038626a7ffa7d30913060b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3d948cdf3760b52238038626a7ffa7d30913060b
2014-11-03 11:41:49+00:00
block: let mirror blockjob run in BDS AioContext The mirror block job must run in the BlockDriverState AioContext so that it works with dataplane. Acquire the AioContext in blockdev.c so starting the block job is safe. Note that to_replace is treated separately from other BlockDriverStates in that it does not need to be in the same AioContext. Explicitly acquire/release to_replace's AioContext when accessing it. The completion code in block/mirror.c must perform BDS graph manipulation and bdrv_reopen() from the main loop. Use block_job_defer_to_main_loop() to achieve that. The bdrv_drain_all() call is not allowed outside the main loop since it could lead to lock ordering problems. Use bdrv_drain(bs) instead because we have acquired the AioContext so nothing else can sneak in I/O. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Max Reitz <[email protected]> Message-id: [email protected]
5a7e7a0bad17c96e03f55ed7019e2d7545e21a96
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5a7e7a0bad17c96e03f55ed7019e2d7545e21a96
2014-11-03 11:41:49+00:00
Revert "main-loop.c: Handle SIGINT, SIGHUP and SIGTERM synchronously" This reverts commit 15124e142034d21341ec9f1a304a1dc5a6c25681. It breaks debuggability of qemu and is no longer needed as the problem has now been addressed in a different way. Instead we provide a comment about why these signals must be handled asynchronously. Signed-off-by: Jan Kiszka <[email protected]> Reviewed-by: Gonglei <[email protected]> [PMM: added comment] Signed-off-by: Peter Maydell <[email protected]>
3e9418e160cd8901c83a3c88967158084f5b5c03
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3e9418e160cd8901c83a3c88967158084f5b5c03
2014-10-27 15:05:09+00:00
MAINTAINERS: grab more files from Anthony's pile I am picking up character devices and the main loop, as agreed during QEMU Summit. Signed-off-by: Paolo Bonzini <[email protected]>
da26f37a3eca3c88e0b24a21810321fcfb4ec01f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/da26f37a3eca3c88e0b24a21810321fcfb4ec01f
2014-10-23 16:41:26+02:00
hw/scsi/virtio-scsi.c: fix the "type" use error in virtio_scsi_handle_ctrl The local variable "type" in virtio_scsi_handle_ctl represents the tmf command type from the guest and it has the same meaning as the req->req.tmf.type. However, before the invoking of virtio_scsi_parse_req the req->req.tmf.type doesn't has the correct value(just initialized to zero). Therefore, we need to use the "type" variable to judge the case. Cc: [email protected] Signed-off-by: Bin Wu <[email protected]> [Actually make it compile, "type" must be uint32_t in order to pass it to virtio_tswap32s. - Paolo] Signed-off-by: Paolo Bonzini <[email protected]>
024d9adc79651f8fd96078461a7e4dfb8bb83e16
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/024d9adc79651f8fd96078461a7e4dfb8bb83e16
2014-10-27 16:11:45+01:00
block.c: Fix type of IoOperationType variable in send_qmp_error_event() The local variable 'ac' in send_qmp_error_event() is declared with the wrong type, which causes clang to complain when it is initialized and again when it is used: block.c:3655:20: warning: implicit conversion from enumeration type 'enum IoOperationType' to different enumeration type 'BlockErrorAction' (aka 'enum BlockErrorAction') [-Wenum-conversion] ac = is_read ? IO_OPERATION_TYPE_READ : IO_OPERATION_TYPE_WRITE; ~ ^~~~~~~~~~~~~~~~~~~~~~ block.c:3655:45: warning: implicit conversion from enumeration type 'enum IoOperationType' to different enumeration type 'BlockErrorAction' (aka 'enum BlockErrorAction') [-Wenum-conversion] ac = is_read ? IO_OPERATION_TYPE_READ : IO_OPERATION_TYPE_WRITE; ~ ^~~~~~~~~~~~~~~~~~~~~~~ block.c:3656:62: warning: implicit conversion from enumeration type 'BlockErrorAction' (aka 'enum BlockErrorAction') to different enumeration type 'IoOperationType' (aka 'enum IoOperationType') [-Wenum-conversion] qapi_event_send_block_io_error(bdrv_get_device_name(bs), ac, action, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ Correct the type to IoOperationType, and rename the variable to 'optype' to match its correct type. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Luiz Capitulino <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
573742a5431a99ceaba6968ae269cee247727cce
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/573742a5431a99ceaba6968ae269cee247727cce
2014-11-03 09:48:41+00:00
tcg: Always enable TCGv type checking Instead of using structures, which imply some amount of overhead on certain ABIs, use pointer types. This actually reduces the size of the binaries vs a NON-debug build on ppc64 and x86_64, due to a reduction in the number of sign-extension insns. Signed-off-by: Richard Henderson <[email protected]>
b6c73a6d45b63926066aa71702d6017e7e43724a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b6c73a6d45b63926066aa71702d6017e7e43724a
2014-09-29 14:55:28-04:00
qxl: keep going if reaching guest bug on empty area Xorg server hangs when using xfig and typing a text with space: #0 qxl_wait_for_io_command (qxl=<value optimized out>) at qxl_io.c:47 #1 0x00007f826a49a299 in qxl_download_box (surface=0x221d030, x1=231, y1=259, x2=<value optimized out>, y2=<value optimized out>) at qxl_surface.c:143 while (!(ram_header->int_pending & QXL_INTERRUPT_IO_CMD)) usleep (1); The QXL driver is calling QXL_IO_UPDATE_AREA with an empty area. This is a guest bug. The call is async and no ack is sent back on guest bug, so the X server will hang. The driver should be improved to avoid this situation and also to abort on QXL_INTERRUPT_ERROR. This will be a different patch series for the driver. However, it is simple enough to keep qemu running on empty areas update, which is what this patch provides. https://bugzilla.redhat.com/show_bug.cgi?id=1151363 Signed-off-by: Gerd Hoffmann <[email protected]>
9e5a25f1c209ff51e4b65124a3b76dd3f1b0fb49
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9e5a25f1c209ff51e4b65124a3b76dd3f1b0fb49
2014-10-15 11:08:34+02:00
block: Specify -drive legacy option aliases in array Instead of a series of qemu_opt_rename() calls, use an array that contains all of the renames and call qemu_opt_rename() in a loop. This will keep the code readable even when we add an error return to qemu_opt_rename(). Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Benoît Canet <[email protected]> Reviewed-by: Markus Armbruster <[email protected]>
247147fbc107f818630c4044931de39b89c99342
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/247147fbc107f818630c4044931de39b89c99342
2014-09-25 15:24:14+02:00
virtio-pci: fix migration for pci bus master Current support for bus master (clearing OK bit) together with the need to support guests which do not enable PCI bus mastering, leads to extra state in VIRTIO_PCI_FLAG_BUS_MASTER_BUG bit, which isn't robust in case of cross-version migration for the case when guests use the device before setting DRIVER_OK. Rip out VIRTIO_PCI_FLAG_BUS_MASTER_BUG and implement a simpler work-around: treat clearing of PCI_COMMAND as a virtio reset. Old guests never touch this bit so they will work. As reset clears device status, DRIVER and MASTER bits are now in sync, so we can fix up cross-version migration simply by synchronising them, without need to detect a buggy guest explicitly. Drop tracking VIRTIO_PCI_FLAG_BUS_MASTER_BUG completely. As reset makes the device quiescent, in the future we'll be able to drop checking OK bit in a bunch of places. Cc: Jason Wang <[email protected]> Cc: Greg Kurz <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
4d43d3f3c8147ade184df9a1e9e82826edd39e19
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4d43d3f3c8147ade184df9a1e9e82826edd39e19
2014-09-18 21:51:24+03:00
intel-iommu: add Intel IOMMU emulation to q35 and add a machine option "iommu" as a switch Add Intel IOMMU emulation to q35 chipset and expose it to the guest. 1. Add a machine option. Users can use "-machine iommu=on|off" in the command line to enable/disable Intel IOMMU. The default is off. 2. Accroding to the machine option, q35 will initialize the Intel IOMMU and use pci_setup_iommu() to setup q35_host_dma_iommu() as the IOMMU function for the pci bus. 3. q35_host_dma_iommu() will return different address space according to the bus_num and devfn of the device. Signed-off-by: Le Tan <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
a52a7fdfa7512c9d095f2d5797c3c423dec43dbc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a52a7fdfa7512c9d095f2d5797c3c423dec43dbc
2014-08-28 23:10:22+02:00
target-arm: Adjust debug ID registers per-CPU Allow each CPU type to specify the value for the debug ID registers, by putting them in the ARMCPU struct, and use the resulting information to only expose the correct number of watchpoint and breakpoint registers for the CPU. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Edgar E. Iglesias <[email protected]>
48eb3ae64b3e17151cf8f42af185e6f43baf707b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/48eb3ae64b3e17151cf8f42af185e6f43baf707b
2014-08-19 19:02:03+01:00
vmxnet3: Pad short frames to minimum size (60 bytes) When running VMware ESXi under qemu-kvm the guest discards frames that are too short. Short ARP Requests will be dropped, this prevents guests on the same bridge as VMware ESXi from communicating. This patch simply adds the padding on the network device itself. Signed-off-by: Ben Draper <[email protected]> Reviewed-by: Dmitry Fleytman <[email protected]> Cc: [email protected] Signed-off-by: Michael Tokarev <[email protected]>
40a87c6c9b11ef9c14e0301f76abf0eb2582f08e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/40a87c6c9b11ef9c14e0301f76abf0eb2582f08e
2014-08-24 17:11:08+04:00
block: delete cow block driver This patch removes support for the cow file format. Normally we do not break backwards compatibility but in this case there is no impact and it is the most logical option. Extraordinary claims require extraordinary evidence so I will show why removing the cow block driver is the right thing to do. The cow file format is the disk image format for Usermode Linux, a way of running a Linux system in userspace. The performance of UML was never great and it was hacky, but it enjoyed some popularity before hardware virtualization support became mainstream. QEMU's block/cow.c is supposed to read this image file format. Unfortunately the file format was underspecified: 1. Earlier Linux versions used the MAXPATHLEN constant for the backing filename field. The value of MAXPATHLEN can change, so Linux switched to a 4096 literal but QEMU has a 1024 literal. 2. Padding was not used on the header struct (both in the Linux kernel and in QEMU) so the struct layout varied across architectures. In particular, i386 and x86_64 were different due to int64_t alignment differences. Linux now uses __attribute__((packed)), QEMU does not. Therefore: 1. QEMU cow images do not conform to the Linux cow image file format. 2. cow images cannot be shared between different host architectures. This means QEMU cow images are useless and QEMU has not had bug reports from users actually hitting these issues. Let's get rid of this thing, it serves no purpose and no one will be affected. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
550830f9351291c585c963204ad9127998b1c1ce
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/550830f9351291c585c963204ad9127998b1c1ce
2014-09-22 11:39:45+01:00
target-i386: Loop-based copying and setting/unsetting of feature words Now that we have the feature word arrays, we don't need to manually copy each array item, we can simply iterate through each feature word. Signed-off-by: Eduardo Habkost <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
e1c224b4eb3b8693c230bb2762a959ae1f531f76
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e1c224b4eb3b8693c230bb2762a959ae1f531f76
2014-06-25 23:54:57+02:00
tests: vmstate static checker: remove last field in a struct Signed-off-by: Amit Shah <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
fd52ffb9bfa3cb9adc4d7578209ec95eba47b45f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd52ffb9bfa3cb9adc4d7578209ec95eba47b45f
2014-06-23 19:14:52+02:00
char: report frontend open/closed state in 'query-chardev' In addition to the on-line reporting added in the previous patch, allow libvirt to query frontend state independently of events. Libvirt's path to identify the guest agent channel it cares about differs between the event added in the previous patch and the QMP response field added here. The event identifies the frontend device, by "id". The 'query-chardev' QMP command identifies the backend device (again by "id"). The association is under libvirt's control. RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1080376 Reviewed-by: Amit Shah <[email protected]> Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
32a97ea1711f43388e178b7c43e02143a61e47ee
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/32a97ea1711f43388e178b7c43e02143a61e47ee
2014-06-27 09:34:00-04:00
hostmem: add properties for NUMA memory policy Signed-off-by: Hu Tao <[email protected]> [Raise errors on setting properties if !CONFIG_NUMA. Add BUILD_BUG_ON checks. - Paolo] Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]> Signed-off-by: Hu Tao <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
4cf1b76bf1e2cbb91b1123d47505a6586195800c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4cf1b76bf1e2cbb91b1123d47505a6586195800c
2014-06-19 18:44:21+03:00
qemu-char: make writes thread-safe This will let threads other than the I/O thread raise QMP events. GIOChannel is thread-safe, and send and receive state is usually well-separated. The only driver that requires some care is the pty driver, where some of the state is shared by the read and write sides. That state is protected with the chr_write_lock too. Reviewed-by: Fam Zheng <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
9005b2a7589540a3733b3abdcfbccfe7746cd1a1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9005b2a7589540a3733b3abdcfbccfe7746cd1a1
2014-06-23 11:12:28-04:00
virtio-scsi: start preparing for any_layout - Introduce virtio_scsi_init_req and virtio_scsi_free_req - rename qemu_sgl_init_external to qemu_sgl_concat - move virtio_scsi_parse_req from virtio_scsi_pop_req to callers and add header length checks to virtio_scsi_parse_req. Signed-off-by: Paolo Bonzini <[email protected]>
36b15c79aa1bef5fe7543f9f2629b6413720bbfb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/36b15c79aa1bef5fe7543f9f2629b6413720bbfb
2014-06-18 08:47:11+02:00
well-defined listing order for machine types Commit 261747f1 ("vl: Use MachineClass instead of global QEMUMachine list") broke the ordering of the machine types in the user-visible output of qemu-system-XXXX -M \? This occurred because registration was rebased from a manually maintained linked list to GLib hash tables: qemu_register_machine() type_register() type_register_internal() type_table_add() g_hash_table_insert() and because the listing was rebased accordingly, from the traversal of the list to the traversal of the hash table (rendered as an ad-hoc list): machine_parse() object_class_get_list(TYPE_MACHINE) object_class_foreach() g_hash_table_foreach() The current order is a "random" one, for practical purposes, which is annoying for users. Introduce new members QEMUMachine.family and MachineClass.family, allowing machine types to be "clustered". Introduce a comparator function that establishes a total ordering between machine types, ordering machine types in the same family next to each other. In machine_parse(), list the supported machine types sorted with the comparator function. The comparator function: - sorts whole families before standalone machine types, - sorts whole families between each other in alphabetically increasing order, - sorts machine types inside the same family in alphabetically decreasing order, - sorts standalone machine types between each other in alphabetically increasing order. After this patch, all machine types are considered standalone, and accordingly, the output is alphabetically ascending. This will be refined in the following patches. Effects on the x86_64 output: Before: > Supported machines are: > pc-0.13 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996) > pc-1.0 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996) > pc-q35-1.7 Standard PC (Q35 + ICH9, 2009) > pc-1.1 Standard PC (i440FX + PIIX, 1996) > pc-0.14 Standard PC (i440FX + PIIX, 1996) > pc-q35-2.0 Standard PC (Q35 + ICH9, 2009) > pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996) > pc-0.15 Standard PC (i440FX + PIIX, 1996) > pc-q35-1.4 Standard PC (Q35 + ICH9, 2009) > isapc ISA-only PC > pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.2) > pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996) (default) > pc-1.2 Standard PC (i440FX + PIIX, 1996) > pc-0.10 Standard PC (i440FX + PIIX, 1996) > pc-0.11 Standard PC (i440FX + PIIX, 1996) > pc-q35-2.1 Standard PC (Q35 + ICH9, 2009) > q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.2) > pc-q35-2.2 Standard PC (Q35 + ICH9, 2009) > pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996) > none empty machine > pc-q35-1.5 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.6 Standard PC (Q35 + ICH9, 2009) > pc-0.12 Standard PC (i440FX + PIIX, 1996) > pc-1.3 Standard PC (i440FX + PIIX, 1996) After: > Supported machines are: > isapc ISA-only PC > none empty machine > pc-0.10 Standard PC (i440FX + PIIX, 1996) > pc-0.11 Standard PC (i440FX + PIIX, 1996) > pc-0.12 Standard PC (i440FX + PIIX, 1996) > pc-0.13 Standard PC (i440FX + PIIX, 1996) > pc-0.14 Standard PC (i440FX + PIIX, 1996) > pc-0.15 Standard PC (i440FX + PIIX, 1996) > pc-1.0 Standard PC (i440FX + PIIX, 1996) > pc-1.1 Standard PC (i440FX + PIIX, 1996) > pc-1.2 Standard PC (i440FX + PIIX, 1996) > pc-1.3 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996) > pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.2) > pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996) (default) > pc-q35-1.4 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.5 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.6 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.7 Standard PC (Q35 + ICH9, 2009) > pc-q35-2.0 Standard PC (Q35 + ICH9, 2009) > pc-q35-2.1 Standard PC (Q35 + ICH9, 2009) > q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.2) > pc-q35-2.2 Standard PC (Q35 + ICH9, 2009) Effects on the aarch64 output: Before: > Supported machines are: > lm3s811evb Stellaris LM3S811EVB > canon-a1100 Canon PowerShot A1100 IS > vexpress-a15 ARM Versatile Express for Cortex-A15 > vexpress-a9 ARM Versatile Express for Cortex-A9 > xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9 > connex Gumstix Connex (PXA255) > n800 Nokia N800 tablet aka. RX-34 (OMAP2420) > lm3s6965evb Stellaris LM3S6965EVB > versatileab ARM Versatile/AB (ARM926EJ-S) > borzoi Borzoi PDA (PXA270) > tosa Tosa PDA (PXA255) > cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) > midway Calxeda Midway (ECX-2000) > mainstone Mainstone II (PXA27x) > n810 Nokia N810 tablet aka. RX-44 (OMAP2420) > terrier Terrier PDA (PXA270) > highbank Calxeda Highbank (ECX-1000) > cubieboard cubietech cubieboard > sx1-v1 Siemens SX1 (OMAP310) V1 > sx1 Siemens SX1 (OMAP310) V2 > realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore) > kzm ARM KZM Emulation Baseboard (ARM1136) > akita Akita PDA (PXA270) > z2 Zipit Z2 (PXA27x) > musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S) > realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8 > versatilepb ARM Versatile/PB (ARM926EJ-S) > realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S) > realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 > spitz Spitz PDA (PXA270) > none empty machine > virt ARM Virtual Machine > collie Collie PDA (SA-1110) > smdkc210 Samsung SMDKC210 board (Exynos4210) > verdex Gumstix Verdex (PXA270) > nuri Samsung NURI board (Exynos4210) > integratorcp ARM Integrator/CP (ARM926EJ-S) After: > Supported machines are: > akita Akita PDA (PXA270) > borzoi Borzoi PDA (PXA270) > canon-a1100 Canon PowerShot A1100 IS > cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) > collie Collie PDA (SA-1110) > connex Gumstix Connex (PXA255) > cubieboard cubietech cubieboard > highbank Calxeda Highbank (ECX-1000) > integratorcp ARM Integrator/CP (ARM926EJ-S) > kzm ARM KZM Emulation Baseboard (ARM1136) > lm3s6965evb Stellaris LM3S6965EVB > lm3s811evb Stellaris LM3S811EVB > mainstone Mainstone II (PXA27x) > midway Calxeda Midway (ECX-2000) > musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S) > n800 Nokia N800 tablet aka. RX-34 (OMAP2420) > n810 Nokia N810 tablet aka. RX-44 (OMAP2420) > none empty machine > nuri Samsung NURI board (Exynos4210) > realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S) > realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore) > realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8 > realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 > smdkc210 Samsung SMDKC210 board (Exynos4210) > spitz Spitz PDA (PXA270) > sx1 Siemens SX1 (OMAP310) V2 > sx1-v1 Siemens SX1 (OMAP310) V1 > terrier Terrier PDA (PXA270) > tosa Tosa PDA (PXA255) > verdex Gumstix Verdex (PXA270) > versatileab ARM Versatile/AB (ARM926EJ-S) > versatilepb ARM Versatile/PB (ARM926EJ-S) > vexpress-a15 ARM Versatile Express for Cortex-A15 > vexpress-a9 ARM Versatile Express for Cortex-A9 > virt ARM Virtual Machine > xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9 > z2 Zipit Z2 (PXA27x) RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1145042 Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: Marcel Apfelbaum <[email protected]> Acked-by: David Gibson <[email protected]>
2709f263952bab66fc8f971c04d151216b177336
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2709f263952bab66fc8f971c04d151216b177336
2014-11-02 11:52:23+02:00
signal/all: remove return value from setup_sigcontext Make all implementations of setup_sigcontext void and remove checking it's return value from functions calling setup_sigcontext. Signed-off-by: Riku Voipio <[email protected]> Reviewed-by: Peter Maydell <[email protected]>
41ecc72ba5932381208e151bf2d2149a0342beff
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/41ecc72ba5932381208e151bf2d2149a0342beff
2014-06-17 08:52:07+03:00
Add the vhost-user netdev backend to the command line The supplied chardev id will be inspected for supported options. Only a socket backend, with a set path (i.e. a Unix socket) and optionally the server parameter set, will be allowed. Other options (nowait, telnet) will make the chardev unusable and the netdev will not be initialised. Additional checks for validity: - requires `-numa node,memdev=..` - requires `-device virtio-net-*` The `vhostforce` option is used to force vhost-net when we deal with non-MSIX guests. Signed-off-by: Antonios Motakis <[email protected]> Signed-off-by: Nikolay Nikolaev <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Luiz Capitulino <[email protected]> Reviewed-by: Eric Blake <[email protected]>
03ce574442d2ee82f59a5232a24492ad80858d75
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/03ce574442d2ee82f59a5232a24492ad80858d75
2014-06-19 18:44:18+03:00
tests: Check empty QMP output visitor Checks the output visitor behaviour for NULL values. Signed-off-by: Marcel Apfelbaum <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Acked-by: Michael Roth <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
a199b2b6a5b9dd50cfe96349778458d1b39899b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a199b2b6a5b9dd50cfe96349778458d1b39899b5
2014-05-28 17:36:09+02:00
usb: add usb_pick_speed We can pick the usb port speed in generic code, by looking at the port and device speed masks and looking for the fastest match. So add a function to do exactly that, and drop the speed setting code from usb_desc_attach as it isn't needed any more. This way we can set the device speed before calling port->ops->attach, which fixes some xhci hotplug issues. https://bugzilla.redhat.com/show_bug.cgi?id=1046873 Signed-off-by: Gerd Hoffmann <[email protected]>
b791c3b38c7969cb9f4acda8229e19fd865a1c08
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b791c3b38c7969cb9f4acda8229e19fd865a1c08
2014-06-02 16:29:00+02:00
target-i386: unify reserved bits and NX bit check Signed-off-by: Paolo Bonzini <[email protected]>
e2a32ebbfe899a32a6b063f0f9e7c2593267ea88
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e2a32ebbfe899a32a6b063f0f9e7c2593267ea88
2014-06-05 16:10:34+02:00
qemu-socket: Clean up inet_connect_opts() Separate the search for a working addrinfo from the code that does something with it. Makes for a clearer search loop. Use a local Error * to simplify resetting the error in the search loop. Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
3f9286b7214fbc7135d4fc223f07b0b30b91e2f1
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3f9286b7214fbc7135d4fc223f07b0b30b91e2f1
2014-05-21 11:57:57+02:00
Use error_is_set() only when necessary (again) error_is_set(&var) is the same as var != NULL, but it takes whole-program analysis to figure that out. Unnecessarily hard for optimizers, static checkers, and human readers. Commit 84d18f0 dumbed it down to obvious, but a few more have crept in since, and documentation was overlooked. Dumb these down, too. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
0fb6395c0cb5046432a80d608ddde7a3b2f8a9ae
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0fb6395c0cb5046432a80d608ddde7a3b2f8a9ae
2014-04-25 18:05:06+02:00
block: Catch duplicate IDs in bdrv_new() Since commit f298d071, block devices added with blockdev-add don't have a QemuOpts around in dinfo->opts. Consequently, we can't rely any more on QemuOpts catching duplicate IDs for block devices. This patch adds a new check for duplicate IDs to bdrv_new(), and moves the existing check that the ID isn't already taken for a node-name there as well. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Eric Blake <[email protected]>
f2d953ec31eeeb3029ca915a55938c538a14efa8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f2d953ec31eeeb3029ca915a55938c538a14efa8
2014-04-22 12:00:28+02:00
qmp: Don't use error_is_set() to suppress additional errors Using error_is_set(errp) that way can sweep programming errors under the carpet when we get called incorrectly with an error set. encrypted_bdrv_it() does it, because there's no way to make bdrv_iterate() break its loop. Actually safe, because qmp_cont() clears the error before the loop. Clean it up anyway: replace bdrv_iterate() by bdrv_next(), break the loop on error. Replace both occurrences, for consistency. Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
ab31979a7e835832605f8425d0eaa5c74d1e6375
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ab31979a7e835832605f8425d0eaa5c74d1e6375
2014-05-09 09:11:32-04:00
ui: Update MAINTAINERS entry. With Amazon eating Anthonys time status "Maintained" certainly isn't true any more. Update entry accordingly. Also add myself, so scripts/get_maintainer.pl will Cc: me, to reduce the chance ui patches fall through the cracks on our pretty loaded qemu-devel mailing list. Signed-off-by: Gerd Hoffmann <[email protected]>
25eccc37ff91254efdd123f5dafb37526a83a990
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/25eccc37ff91254efdd123f5dafb37526a83a990
2014-04-07 10:50:30+02:00
qapi script: remember explicitly defined enum values Later other scripts will need to check the enum values. Signed-off-by: Wenchao Xia <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
dad1fcab91bf101a02151069036d416367b59c5c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dad1fcab91bf101a02151069036d416367b59c5c
2014-03-11 09:07:41-04:00
prep: Update ppc_rom.bin Functionally, this is a revert of Jocelyn's r3309 / 55aa45ddde3283cdd781326d001f7456bf02f684 (Quickly hack PowerPC BIOS able to boot on CDROM again.), for which we do not have the sources. Therefore the sources used are v0.4.1 plus pc-bios/ohw.diff plus a workaround turning IDE errors into warnings. Signed-off-by: Andreas Färber <[email protected]>
21143b615aaf6f1661a1a6e69f00a39e456cc168
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/21143b615aaf6f1661a1a6e69f00a39e456cc168
2014-03-12 17:26:40+01:00
qemu-iotests: Check qemu-img command line parsing Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Reviewed-by: Eric Blake <[email protected]>
a33cc31d08eb46ec2a4f214087c99e4bd4c907e9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a33cc31d08eb46ec2a4f214087c99e4bd4c907e9
2014-02-21 22:10:31+01:00
PCIE: fix regression with coldplugged multifunction device PCIE is causing asserts each time a multifunction device is added on command line (coldplug). This is caused by commit a66e657e18cd9b70e9f57ae5512c07faf2bc508f pci/pcie: convert PCIE hotplug to use hotplug-handler API QEMU abort is caused by misplaced assertion, which should be checked only when device is hotplugged. Reference to regression report: http://www.mail-archive.com/[email protected]/msg216226.html Fixes: a66e657e18cd9b70e9f57ae5512c07faf2bc508f Reported-By: Nigel Kukard <[email protected]> Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
6e1f0a55a14bad1d0c8b9d29626ef4e4b2617c74
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6e1f0a55a14bad1d0c8b9d29626ef4e4b2617c74
2014-03-09 21:09:37+02:00
target-arm: Restrict check_ap() use of S and R bits to v6 and earlier The SCTLR bits S and R (8 and 9) only exist in ARMv6 and earlier. In ARMv7 these bits RAZ, and in ARMv8 they are reassigned. Guard the use of them in check_ap() so that we don't get incorrect results for ARMv8 CPUs. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Peter Crosthwaite <[email protected]>
99f678a679857d83b9709127b0f047551d7e3c45
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/99f678a679857d83b9709127b0f047551d7e3c45
2014-02-20 10:35:51+00:00
block: Don't call ROUND_UP with negative values The behaviour of the ROUND_UP macro with negative numbers isn't obvious. It happens to do the right thing in this please, but better avoid it. Suggested-by: Laszlo Ersek <[email protected]> Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]>
5f5bcd80f8c365bca1480dc39141952fa7f88c71
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5f5bcd80f8c365bca1480dc39141952fa7f88c71
2014-02-09 09:12:39+01:00
tests: Add test for qdict_array_split() Add a test case for qdict_array_split() in tests/check-qdict.c. Signed-off-by: Max Reitz <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
be331341a1f35c2de2fcc05cc78e0342d2edeb8a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/be331341a1f35c2de2fcc05cc78e0342d2edeb8a
2014-01-22 12:07:18+01:00
block/iscsi: always fill bs->bl.opt_transfer_length the opt_transfer_length has nothing to do with logical block provisioning stuff so always copy it from the block limits VPD page. Reported-By: Benoit Canet <[email protected]> Signed-off-by: Peter Lieven <[email protected]> Reviewed-by: Benoit Canet <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
5d259fc7da83249a4f78fe32de2bc2874a997a9f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5d259fc7da83249a4f78fe32de2bc2874a997a9f
2014-02-09 09:12:38+01:00
target-i386: Fix I/O bitmap checks for in/out Commit 1b90d56e changed the implementation of in/out imm to not assign the accessed port number to cpu_T[0] as it appeared unnecessary. However, currently gen_check_io() makes use of cpu_T[0] to implement the I/O bitmap checks, so it's in fact still used and the change broke the check, leading to #GP in legitimate cases (and probably also allowing access to ports that shouldn't be allowed). This patch reintroduces the missing assignment for these cases. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
6d093a4f499fd945b39bd55b307dd9192dc99ead
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6d093a4f499fd945b39bd55b307dd9192dc99ead
2014-02-19 16:40:19+01:00
xen_pt: Fix passthrough of device with ROM. QEMU does not need and should not allocate memory for the ROM of a passthrough PCI device. So this patch initialize the particular region like any other PCI BAR of a passthrough device. When a guest will access the ROM, Xen will take care of the IO, QEMU will not be involved in it. Xen set a limit of memory available for each guest, allocating memory for a ROM can hit this limit. Signed-off-by: Anthony PERARD <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]> Reported-and-Tested-by: Konrad Rzeszutek Wilk <[email protected]>
794798e36eda77802ce7cc7d7d6b1c65751e8a76
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/794798e36eda77802ce7cc7d7d6b1c65751e8a76
2014-01-17 15:29:33+00:00
qemu-iotests: Add _default_cache_mode and _supported_cache_modes This replaces _unsupported_qemu_io_options and check for support of current cache mode, and allow to provide a default if user didn't specify. Signed-off-by: Fam Zheng <[email protected]> Reviewed-by: Wenchao Xia <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
f210a83c1f809516acd9179d02d8c986c5db24cd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f210a83c1f809516acd9179d02d8c986c5db24cd
2013-12-04 11:55:13+01:00
exec: memory radix tree page level compression At the moment, memory radix tree is already variable width, but it can only skip the low bits of address. This is efficient if we have huge memory regions but inefficient if we are only using a tiny portion of the address space. After we have built up the map, detect configurations where a single L2 entry is valid. We then speed up the lookup by skipping one or more levels. In case any levels were skipped, we might end up in a valid section instead of erroring out. We handle this by checking that the address is in range of the resulting section. Signed-off-by: Michael S. Tsirkin <[email protected]>
b35ba30f8fa235c779d876ee299b80a2d501d204
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b35ba30f8fa235c779d876ee299b80a2d501d204
2013-12-10 12:29:56+02:00
block: handle ENOTSUP from discard in generic code Similar to write_zeroes, let the generic code receive a ENOTSUP for discard operations. Since bdrv_discard has advisory semantics, we can just swallow the error. Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Peter Lieven <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
7ce21016b69b512bf4777965a4292318f2bc7544
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7ce21016b69b512bf4777965a4292318f2bc7544
2013-12-03 15:26:49+01:00
block: add BlockLimits structure to BlockDriverState this patch adds BlockLimits which introduces discard and write_zeroes limits and alignment information to the BlockDriverState. Signed-off-by: Peter Lieven <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
fe81c2cca6dc69a5e423f6d8b235606b7f3ca7b7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fe81c2cca6dc69a5e423f6d8b235606b7f3ca7b7
2013-11-28 10:30:51+01:00
microblaze: At swx, check that the reserved word is unmodified This improves the reservation check for system emulation, making it possible to catch stores that modify reserved word. Signed-off-by: Edgar E. Iglesias <[email protected]>
11a7621763e7c91fef5169942a90e30bfd66a837
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/11a7621763e7c91fef5169942a90e30bfd66a837
2013-10-24 22:32:56+02:00
tests: Multiboot mmap test case This adds a test case for Multiboot memory map in the tests/multiboot directory, where future i386 test kernels can be dropped. Because this requires an x86 build host and an installed 32 bit libgcc, the test is not part of a regular 'make check'. The reference output for the test is verified against test runs of the same multiboot kernel booted by some GRUB 0.97. Signed-off-by: Kevin Wolf <[email protected]>
d1f3a23bfac4fe38056ab5e07186939b7be8852b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d1f3a23bfac4fe38056ab5e07186939b7be8852b
2013-10-28 17:34:42+01:00
kvmvapic: Enter inactive state on hardware reset ROM layout may change after reset of devices are hotplugged, so we have to pick up the physical address again when the ROM is initialized. This is best achieved by resetting the state to INACTIVE. CC: [email protected] Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
c056bc3f3464cfae1c94b7dd633d3ec13b13b655
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c056bc3f3464cfae1c94b7dd633d3ec13b13b655
2013-09-20 12:37:52+02:00
pci: remove explicit check to 64K ioport size This check is useless, as bigger addresses will be ignored when added to 'io' MemoryRegion, which has a size of 64K. However, some architectures don't use the 'io' MemoryRegion, like the alpha and versatile platforms. They create a PCI I/O region bigger than 64K, so let them handle PCI I/O BARs in the higher range. MST: reinstated work-around for BAR sizing. Signed-off-by: Hervé Poussineau <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
9f1a029abf15751e32a4b1df99ed2b8315f9072c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9f1a029abf15751e32a4b1df99ed2b8315f9072c
2013-09-15 11:49:51+03:00
usb-host-libusb: Configuration 0 may be a valid configuration Quoting from: linux/Documentation/ABI/stable/sysfs-bus-usb: Note that some devices, in violation of the USB spec, have a configuration with a value equal to 0. Writing 0 to bConfigurationValue for these devices will install that configuration, rather then unconfigure the device. So don't compare the configuration value against 0 to check for unconfigured devices, instead check for a LIBUSB_ERROR_NOT_FOUND return from libusb_get_active_config_descriptor(). Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
1294ca797c6bee39d4dbc3e92010873ce4047e0e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1294ca797c6bee39d4dbc3e92010873ce4047e0e
2013-10-22 16:28:49+02:00
aio / timers: Remove legacy interface Remove the legacy interface from include/qemu/timers.h. Ensure struct QEMUClock is not exposed at all. Signed-off-by: Alex Bligh <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
b4049b74b97f30fe944c63b5f158ec9e87bd2593
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b4049b74b97f30fe944c63b5f158ec9e87bd2593
2013-08-22 19:14:24+02:00
hpet: Use QOM realize for hpet Signed-off-by: Hu Tao <[email protected]> [AF: Avoided SYS_BUS_DEVICE() in loop] Signed-off-by: Andreas Färber <[email protected]>
726887ef44d5a822cd76e4fedd269b038869b698
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/726887ef44d5a822cd76e4fedd269b038869b698
2013-07-23 00:37:35+02:00
exec: Support 64-bit operations in address_space_rw Honor the implementation maximum access size, and at least check the minimum access size. Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
23326164ae6fe8d94b7eff123e03f97ca6978d33
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/23326164ae6fe8d94b7eff123e03f97ca6978d33
2013-07-14 13:40:31-07:00
linux-user: fix signal number range check When translating between host and target signal numbers keep negative numbers unchanged, avoiding access beyond array bounds. Signed-off-by: Andreas Schwab <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Message-id: [email protected]
167c50d8f94e0ffb880aa5cd2a232a3f32f0df1d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/167c50d8f94e0ffb880aa5cd2a232a3f32f0df1d
2013-07-05 15:45:40+03:00
rdma: check if RDMAControlHeader::len match transferred byte RDMAControlHeader::len is provided from remote, so check if the value match the actual transferred byte_len. Reviewed-by: Orit Wasserman <[email protected]> Reviewed-by: Michael R. Hines <[email protected]> Signed-off-by: Isaku Yamahata <[email protected]> Signed-off-by: Michael R. Hines <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
88571882516a7cb4291a329c537eb79fd126e1f2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/88571882516a7cb4291a329c537eb79fd126e1f2
2013-08-12 09:31:15-05:00
qemu-socket: zero-initialize SocketAddress Signed-off-by: Gerd Hoffmann <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
afde3f8b9923892d21a735993f533e5d8b60e0b0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/afde3f8b9923892d21a735993f533e5d8b60e0b0
2013-06-28 22:10:33+04:00
spapr-pci: rework MSI/MSIX On the sPAPR platform a guest allocates MSI/MSIX vectors via RTAS hypercalls which return global IRQ numbers to a guest so it only operates with those and never touches MSIMessage. Therefore MSIMessage handling is completely hidden in QEMU. Previously every sPAPR PCI host bridge implemented its own MSI window to catch msi_notify()/msix_notify() calls from QEMU devices (virtio-pci or vfio) and route them to the guest via qemu_pulse_irq(). MSIMessage used to be encoded as: .addr - address within the PHB MSI window; .data - the device index on PHB plus vector number. The MSI MR write function translated this MSIMessage to a global IRQ number and called qemu_pulse_irq(). However the total number of IRQs is not really big (at the moment it is 1024 IRQs starting from 4096) and even 16bit data field of MSIMessage seems to be enough to store an IRQ number there. This simplifies MSI handling in sPAPR PHB. Specifically, this does: 1. remove a MSI window from a PHB; 2. add a single memory region for all MSIs to sPAPREnvironment and spapr_pci_msi_init() to initialize it; 3. encode MSIMessage as: * .addr - a fixed address of SPAPR_PCI_MSI_WINDOW==0x40000000000ULL; * .data as an IRQ number. 4. change IRQ allocator to align first IRQ number in a block for MSI. MSI uses lower bits to specify the vector number so the first IRQ has to be aligned. MSIX does not need any special allocator though. Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: Anthony Liguori <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
f1c2dc7c866a939c39c14729290a21309a1c8a38
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f1c2dc7c866a939c39c14729290a21309a1c8a38
2013-09-02 10:06:42+02:00
Allow use of pc machine type (accel=xen) for Xen HVM domains. Xen HVM domains normally spawn QEMU with a dedicated xenfv machine type. The initialization code for this machine type can easily be pulled into the generic pc initialization code and guarded with a test for whether the xen accelerator options is specified, which is more consistent with the way other accelerators are used. Signed-off-by: Paul Durrant <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
a97d6fe6fbb97630d77253d20bdce78f76d01850
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a97d6fe6fbb97630d77253d20bdce78f76d01850
2013-06-25 12:00:48+00:00
fix -net user checks by reordering checks reorder slirp config options. first check the dns-server-address, then check the first-dhcp-address. the original code was comparing the first-dhcp-address with the default dns-server-address, not the configured dns-server-address. Signed-off-by: Bas van Sisseren <[email protected]> Signed-off-by: Jan Kiszka <[email protected]>
68756ba8be2127b6ea30a466af9f78a5c97bc15f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/68756ba8be2127b6ea30a466af9f78a5c97bc15f
2013-06-19 12:44:38+02:00
Move hardcoded initialization of xen-platform device. Creation of the xen-platform device is currently hardcoded into machine type pc's initialization code, guarded by a test for the whether the xen accelerator is enabled. This patch moves the creation of xen-platform into the initialization code of the xenfv machine type. This maintains backwards compatibility for that machine type but allows more flexibility if another machine type is used with Xen HVM domains. Signed-off-by: Paul Durrant <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
39ae4972390f78f8891a355545c56d20a9fb7770
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/39ae4972390f78f8891a355545c56d20a9fb7770
2013-06-25 12:00:53+00:00
exec: expect mr->ops to be initialized for ROM There is no need to use the special phys_section_rom section. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
d17d45e95f497e67aa48ff9e49a4ad62bb1e17df
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d17d45e95f497e67aa48ff9e49a4ad62bb1e17df
2013-05-29 16:27:01+02:00
cpu: Add helper cpu_exists(), to check if CPU with specified id exists Signed-off-by: Igor Mammedov <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
69e5ff067ae724155fd7465119ee6db5721288b6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/69e5ff067ae724155fd7465119ee6db5721288b6
2013-05-01 13:04:18+02:00
target-ppc: emulate store doubleword pair instructions Needed for Power ISA version 2.05 compliance. The check for odd register pairs is done using the invalid bits. Signed-off-by: Aurelien Jarno <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
44bc0c4d3e90bfa1fafdbcc19d023d2d4b119eed
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/44bc0c4d3e90bfa1fafdbcc19d023d2d4b119eed
2013-04-26 23:02:43+02:00
build-sys: must link with -fstack-protector It is needed to give that flag to the linker as well, but latest libtool 2.4.2 still swallows that argument, so let's pass it with libtool -Wc argument. qemu-1.4.0/stubs/arch-query-cpu-def.c:6: undefined reference to `__stack_chk_guard' Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Alon Levy <[email protected]>
37746c5eacf309fa019ea0fa45f776c36c561457
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/37746c5eacf309fa019ea0fa45f776c36c561457
2013-04-24 11:47:38+03:00
pcspk: initialize PC speaker if compiled in PC speaker has been moved to target-independant code in 71093711589dafcb920dc3bc9bb811eaf8b14101, so do not depend of target to include it or not. Cc: malc <[email protected]> Cc: Blue Swirl <[email protected]> Signed-off-by: Herv? Poussineau <[email protected]> Signed-off-by: malc <[email protected]>
da12872a0973718997c00f1c1e8e5b91ee4c713a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/da12872a0973718997c00f1c1e8e5b91ee4c713a
2012-04-15 08:56:58+04:00
qemu-char: simplify pty polling There is no need to use a timer and pty_chr_read to detect a connected pty. It is simpler to just call g_poll periodically and check for POLLHUP. It is done once per second, and only if the pty is disconnected, so it is cheap enough. Tested with "-monitor pty" and "-serial mon:pty", both of which work correctly and do not freeze QEMU. (How to test ptys? "socat -,raw,echo=0 /dev/pts/4,raw"). Signed-off-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
85a67692d04e15a6b7d5a0e2b9d573d8bffbe108
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/85a67692d04e15a6b7d5a0e2b9d573d8bffbe108
2013-04-22 08:52:20-05:00
iotests: Add 'check -ssh' option to test Secure Shell block device. Note in order to run these tests on ssh, you must be running a local ssh daemon, and that daemon must accept loopback connections, and ssh-agent has to be set up to allow logins on the local daemon. In other words, the following command should just work without demanding any passphrase: ssh localhost Signed-off-by: Richard W.M. Jones <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
342809e807ecb55551e579942f535966251cbe27
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/342809e807ecb55551e579942f535966251cbe27
2013-04-15 10:18:05+02:00
check-qjson: Test noncharacters other than U+FFFE, U+FFFF in strings Test cases cover the two noncharacters in the BMP. Add tests for the other 64 noncharacters. Three existing test cases involve noncharacters U+FFFF and U+10FFFF. Instead of deleting them as now duplicates, adjust them to use U+FFFC and U+10FFFFD. Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
1d50c8e947180174acb02bad9ff95e0aee6249ea
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1d50c8e947180174acb02bad9ff95e0aee6249ea
2013-04-13 19:40:17+00:00
qcow2: Improve check for overlapping allocations The old code detected an overlapping allocation even when the allocations didn't actually overlap, but were only adjacent. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
d9d74f4177af59bec23baa480d640709f56df0aa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d9d74f4177af59bec23baa480d640709f56df0aa
2013-03-28 11:52:43+01:00
xilinx_spips: Fix bus setup conditional check The R_LQPSI_CFG register has the LQSPI_CFG_SEP_BUS and LQSPI_CFG_TWO_MEM bits. Signed-off-by: Nathan Rossi <[email protected]> Signed-off-by: Peter Crosthwaite <[email protected]> Message-id: d76c8e364c80a42352ae4f0661aff2cd17ad32a4.1362373359.git.peter.crosthwaite@xilinx.com Signed-off-by: Peter Maydell <[email protected]>
e0891bd8bfd3349fc3fecde30e51900059f53f11
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e0891bd8bfd3349fc3fecde30e51900059f53f11
2013-03-15 16:41:59+00:00
qcow2: Handle dependencies earlier Handling overlapping allocations isn't just a detail of cluster allocation. It is rather one of three ways to get the host cluster offset for a write request: 1. If a request overlaps an in-flight allocations, the cluster offset can be taken from there (this is what handle_dependencies will evolve into) or the request must just wait until the allocation has completed. Accessing the L2 is not valid in this case, it has outdated information. 2. Outside overlapping areas, check the clusters that can be written to as they are, with no COW involved. 3. If a COW is required, allocate new clusters Changing the code to reflect this doesn't change the behaviour because overlaps cannot exist for clusters that are kept in step 2. It does however make it easier for later patches to work on clusters that belong to an allocation that is still in flight. Signed-off-by: Kevin Wolf <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
17a71e58238138c3f02be7e9f5dc8de5d72a9a9d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/17a71e58238138c3f02be7e9f5dc8de5d72a9a9d
2013-03-28 11:52:42+01:00
target-ppc: Rework get_physical_address() Currently get_physical_address() first checks to see if translation is enabled in the MSR, then in the translation on case switches on the mmu type. Except that for BookE MMUs, translation is always on, and so it has to switch in the "translation off" case as well and do the same thing as the translation on path for those MMUs. Plus, even translation off doesn't behave exactly the same on the various MMU types so there are further mmu type checks in the "translation off" path. As a first step to cleaning this up, this patch moves the switch on mmu type to the top level, then makes the translation on/off check just for those mmu types where it is meaningful. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
44bc910794eff956ceba0030f0751a26bed748b5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/44bc910794eff956ceba0030f0751a26bed748b5
2013-03-22 15:28:47+01:00
block: fix I/O throttling accounting blind spot I/O throttling relies on bdrv_acct_done() which is called when a request completes. This leaves a blind spot since we only charge for completed requests, not submitted requests. For example, if there is 1 operation remaining in this time slice the guest could submit 3 operations and they will all be submitted successfully since they don't actually get accounted for until they complete. Originally we probably thought this is okay since the requests will be accounted when the time slice is extended. In practice it causes fluctuations since the guest can exceed its I/O limit and it will be punished for this later on. Account for I/O upon submission so that I/O limits are enforced properly. Signed-off-by: Stefan Hajnoczi <[email protected]> Tested-By: Benoit Canet <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
5905fbc9c94ccd744c1b249472eafcc2d827548a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5905fbc9c94ccd744c1b249472eafcc2d827548a
2013-04-05 18:58:05+02:00
target-ppc: Drop nested TARGET_PPC64 guard for POWER7 It is within a large TARGET_PPC64 section from 970 to 620, so an #endif /* TARGET_PPC64 */ is confusing. Clean this up. Signed-off-by: Andreas Färber <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
9a1350539a69f465c14109605d6648572794ceda
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9a1350539a69f465c14109605d6648572794ceda
2013-03-08 21:04:45+01:00
PPC: xnu kernel expects FLUSH to be cleared on STOP otherwise it gets stuck in a loop so clear it when unsetting run when flush is set void IODBDMAStop( volatile IODBDMAChannelRegisters *registers) { IOSetDBDMAChannelControl( registers, IOClearDBDMAChannelControlBits( kdbdmaRun ) | IOSetDBDMAChannelControlBits( kdbdmaFlush )); DBDMA: writel 0x0000000000000b00 <= 0xa0002000 DBDMA: channel 0x16 reg 0x0 DBDMA: status 0x00002000 while( IOGetDBDMAChannelStatus( registers) & ( kdbdmaActive | kdbdmaFlush)) eieio(); DBDMA: readl 0x0000000000000b04 => 0x00002000 DBDMA: channel 0x16 reg 0x1 DBDMA: readl 0x0000000000000b04 => 0x00002000 DBDMA: channel 0x16 reg 0x1 DBDMA: readl 0x0000000000000b04 => 0x00002000 DBDMA: channel 0x16 reg 0x1 DBDMA: readl 0x0000000000000b04 => 0x00002000 DBDMA: channel 0x16 reg 0x1 it continues to get printed } Signed-off-by: Amadeusz Sławiński <[email protected]> [agraf: replace tabs with spaces] Signed-off-by: Alexander Graf <[email protected]>
987422bc4a4c6366ca6a7fbfa38a9920fd7ada2f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/987422bc4a4c6366ca6a7fbfa38a9920fd7ada2f
2013-03-08 21:04:53+01:00
linux-user: Fix layout of usage table to account for option text The linux-user usage message attempts to line up the columns in its table by calculating the maximum width of any item in them. However for the 'Argument' column it was only accounting for the length of the option switch (eg "-d"), not the additional example text (eg "item[,...]"). This currently has no adverse effects because the widest item in the column happens to be the argumentless "-singlestep" option, but improving the "-d" option help to read "-d item[,...]" exceeds that limit. Fix this by correctly calculating maxarglen as the width of the first column text including a possible option argument, and adjusting its uses to match. Signed-off-by: Peter Maydell <[email protected]> Signed-off-by: Riku Voipio <[email protected]>
63ec54d7b319824df8b60cfe25afdfb607ce3905
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/63ec54d7b319824df8b60cfe25afdfb607ce3905
2013-03-11 14:33:42+02:00
iscsi: retry read, write, flush and unmap on unit attention check conditions the storage might return a check condition status for various reasons. (e.g. bus reset, capacity change, thin-provisioning info etc.) currently all these informative status responses lead to an I/O error which is populated to the guest. this patch introduces a retry mechanism to avoid this. Signed-off-by: Peter Lieven <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1dde716ed6719c341c1bfa427781f0715af90cbc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1dde716ed6719c341c1bfa427781f0715af90cbc
2013-03-05 17:51:50+01:00
block: complete all IOs before .bdrv_truncate bdrv_truncate() invalidates the bdrv_check_request() result for in-flight requests, so there should better be none. Cc: [email protected] Signed-off-by: Peter Lieven <[email protected]> Reported-by: Kevin Wolf <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
9a665b2b8640e464f0a778216fc2dca8d02acf33
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9a665b2b8640e464f0a778216fc2dca8d02acf33
2013-02-22 21:21:10+01:00
target-i386: use gen_jcc1 to compile loopz Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
5bdb91b0dd66b7e0fdfc801601c433ad4752aeb0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5bdb91b0dd66b7e0fdfc801601c433ad4752aeb0
2013-02-18 15:03:56-08:00
slirp: slirp/slirp.c coding style cleanup The slirp glue code uses tabs in some places. Since the next patch will modify the file, convert tabs to spaces and fix checkpatch.pl issues. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
cf1d078e4ea094e516faab49678fbea3a34b7848
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cf1d078e4ea094e516faab49678fbea3a34b7848
2013-02-21 16:17:30-06:00
target-cris: Introduce CRISCPU subclasses Use class_init functions to initialize the VR in preparation for overriding v32+ behavior there. Move cpu_cris_init() to cpu.c and hook up a class_by_name callback. This change leads to unknown -cpu model names no longer falling back to a CPU with VR 32 but instead returning NULL. Acked-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
6ae064fc671f1c475b1371c067fa3100ec6daf80
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6ae064fc671f1c475b1371c067fa3100ec6daf80
2013-02-16 14:50:59+01:00
sheepdog: multiplex the rw FD to flush cache This will reduce sockfds connected to the sheep server to one, which simply the future hacks. Cc: MORITA Kazutaka <[email protected]> Cc: Kevin Wolf <[email protected]> Cc: Stefan Hajnoczi <[email protected]> Signed-off-by: Liu Yuan <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
477830727821e4bc337f4ac1fd222ffe0b900e1a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/477830727821e4bc337f4ac1fd222ffe0b900e1a
2013-01-15 11:18:49+01:00
block-migration: fix blk_mig_save_dirty_block() return value checking Commit 43be3a25c931a7f61a76fbfc9d35584cbfc5fb58 changed the blk_mig_save_dirty_block() return code handling. The function's doc comment says: /* return value: * 0: too much data for max_downtime * 1: few enough data for max_downtime */ Because of the 1 return value, callers must check for ret < 0 instead of just: if (ret) { ... } We do not want to bail when 1 is returned, only on error. Signed-off-by: Stefan Hajnoczi <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
9ee0cb201e6bfe03549a649fd165a85cfed34d05
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9ee0cb201e6bfe03549a649fd165a85cfed34d05
2013-02-11 08:14:04-06:00
qom: Make object_resolve_path_component() path argument const A usage with a hardcoded partial path such as object_resolve_path_component(obj, "foo") is totally valid but currently leads to a compilation error. Fix this. Signed-off-by: Andreas Färber <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
3e84b4832180db2aa6187b6b971054bc3ca68be0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3e84b4832180db2aa6187b6b971054bc3ca68be0
2013-01-15 10:54:23+01:00
raw-posix: fix bdrv_aio_ioctl When the raw-posix aio=thread code was moved from posix-aio-compat.c to block/raw-posix.c, there was an unintended change to the ioctl code. The code used to return the ioctl command, which posix_aio_read() would later morph into a zero. This hack is not necessary anymore, and in fact breaks scsi-generic (which expects a zero return code). Remove it. Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
b608c8dc02c78ee95455a0989bdf1b41c768b2ef
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b608c8dc02c78ee95455a0989bdf1b41c768b2ef
2013-01-14 10:06:56+01:00
slirp: switch to GPollFD Slirp uses rfds/wfds/xfds more extensively than other QEMU components. The rarely-used out-of-band TCP data feature is used. That means we need the full table of select(2) to g_poll(3) events: rfds -> G_IO_IN | G_IO_HUP | G_IO_ERR wfds -> G_IO_OUT | G_IO_ERR xfds -> G_IO_PRI I came up with this table by looking at Linux fs/select.c which maps select(2) to poll(2) internally. Another detail to watch out for are the global variables that reference rfds/wfds/xfds during slirp_select_poll(). sofcantrcvmore() and sofcantsendmore() use these globals to clear fd_set bits. When sofcantrcvmore() is called, the wfds bit is cleared so that the write handler will no longer be run for this iteration of the event loop. This actually seems buggy to me since TCP connections can be half-closed and we'd still want to handle data in half-duplex fashion. I think the real intention is to avoid running the read/write handler when the socket has been fully closed. This is indicated with the SS_NOFDREF state bit so we now check for it before invoking the TCP write handler. Note that UDP/ICMP code paths don't care because they are connectionless. Note that slirp/ has a lot of tabs and sometimes mixed tabs with spaces. I followed the style of the surrounding code. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Message-id: [email protected] Signed-off-by: Anthony Liguori <[email protected]>
8917c3bdba37d6fe4393db0fad3fabbde9530d6b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8917c3bdba37d6fe4393db0fad3fabbde9530d6b
2013-02-21 16:17:31-06:00
qemu-ga: qmp_guest_file_close(): fix fclose() error check fclose() returns EOF on error. Signed-off-by: Luiz Capitulino <[email protected]> Reviewed-by: Michael Roth <[email protected]> Signed-off-by: Michael Roth <[email protected]>
3ac4b7c51e3ba181a86983ba2601a595ed8f3b1d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/3ac4b7c51e3ba181a86983ba2601a595ed8f3b1d
2013-01-08 16:38:10-06:00
block: fix initialization in bdrv_io_limits_enable() bdrv_io_limits_enable() starts a new slice, but does not set io_base correctly for that slice. Here is how io_base is used: bytes_base = bs->nr_bytes[is_write] - bs->io_base.bytes[is_write]; bytes_res = (unsigned) nb_sectors * BDRV_SECTOR_SIZE; if (bytes_base + bytes_res <= bytes_limit) { /* no wait */ } else { /* operation needs to be throttled */ } As a result, any I/O operations that are triggered between now and bs->slice_end are incorrectly limited. If 10 MB of data has been written since the VM was started, QEMU thinks that 10 MB of data has been written in this slice. This leads to a I/O lockup in the guest. We fix this by delaying the start of a new slice to the next call of bdrv_exceed_io_limits(). Signed-off-by: Peter Lieven <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
029d091e4975af60ff9622717af19c5910f2f4e9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/029d091e4975af60ff9622717af19c5910f2f4e9
2013-01-15 09:24:38+01:00
target-i386: check/enforce: Check all feature words This adds the following feature words to the list of flags to be checked by kvm_check_features_against_host(): - cpuid_7_0_ebx_features - ext4_features - kvm_features - svm_features This will ensure the "enforce" flag works as it should: it won't allow QEMU to be started unless every flag that was requested by the user or defined in the CPU model is supported by the host. This patch may cause existing configurations where "enforce" wasn't preventing QEMU from being started to abort QEMU. But that's exactly the point of this patch: if a flag was not supported by the host and QEMU wasn't aborting, it was a bug in the "enforce" code. Signed-off-by: Eduardo Habkost <[email protected]> Reviewed-by: Gleb Natapov <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
07ca59450c9a0c5df65665ce46aa8487af59a1dd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/07ca59450c9a0c5df65665ce46aa8487af59a1dd
2013-01-15 04:09:14+01:00
msix: expose access to masked/pending state For use by poll handler. Signed-off-by: Michael S. Tsirkin <[email protected]>
70f8ee395afda6d96b15cb9a5b311af7720dded0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/70f8ee395afda6d96b15cb9a5b311af7720dded0
2012-12-26 11:49:29+02:00
qxl: save qemu_create_displaysurface_from result Spotted by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=885644 Cc: [email protected] Reported-by: Markus Armbruster <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
2f464b5a32b414adb545acc6d94b5c35c7d258ba
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2f464b5a32b414adb545acc6d94b5c35c7d258ba
2012-12-17 14:01:03+01:00
spice-qemu-char: register spicevmc ports during qemu_spice_init() Do the delayed registration of spicevmc ports after Spice server is initialized. Signed-off-by: Gerd Hoffmann <[email protected]>
afd0b4091fef7a1290cf76c6da8c9a24a3553d58
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/afd0b4091fef7a1290cf76c6da8c9a24a3553d58
2012-12-17 14:01:41+01:00
target-i386: check/enforce: Check SVM flag support as well When nested SVM is supported, the kernel returns the SVM flag on GET_SUPPORTED_CPUID[1], so we can check the SVM flag safely in kvm_check_features_against_host(). I don't know why the original code ignored the SVM flag. Maybe it was because kvm_cpu_fill_host() used the CPUID instruction directly instead of GET_SUPPORTED_CPUID [1] Older kernels (before v2.6.37) returned the SVM flag even if nested SVM was _not_ supported. So the only cases where this patch should change behavior is when SVM is being requested by the user or the CPU model, but not supported by the host. And on these cases we really want QEMU to abort if the "enforce" option is set. Signed-off-by: Eduardo Habkost <[email protected]> Reviewed-by: Gleb Natapov <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
396d2cfccdc1a46a8c66d9d9baaa59071a553b1c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/396d2cfccdc1a46a8c66d9d9baaa59071a553b1c
2013-01-08 21:03:44+01:00
openpic: remove irq_out The current openpic emulation contains half-ready code for bypass mode. Remove it, so that when someone wants to finish it they can start from a clean state. Signed-off-by: Alexander Graf <[email protected]>
5bac0701113f4de4fee053a3939b0f569a04b88c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5bac0701113f4de4fee053a3939b0f569a04b88c
2012-12-14 13:12:56+01:00
main-loop: use aio_notify for qemu_notify_event Reviewed-by: Anthony Liguori <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
4c8d0d27676778febad3802a95218d5ceaca171e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4c8d0d27676778febad3802a95218d5ceaca171e
2012-10-30 09:30:54+01:00
usb-serial: only expose device in guest when the chardev is open Signed-off-by: Gerd Hoffmann <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
da124e62de2109a312e21d85d6a3419774c58948
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/da124e62de2109a312e21d85d6a3419774c58948
2012-10-22 13:26:42-05:00
vl.c: check for qxl availability Check for qxl availability in vl.c. This will allow to remove #ifdef CONFIG_SPICE .. #endif later in this series Cc: Anthony Liguori <[email protected]> Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
879049a39724f91224f10c8d80b3cf70c9dc1c5e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/879049a39724f91224f10c8d80b3cf70c9dc1c5e
2012-10-06 18:48:38+02:00