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
seabios: update to 1.9.1 stable release git shortlog rel-1.9.0..rel-1.9.1 ================================= Cole Robinson (1): biostables: Support SMBIOS 2.6+ UUID format Kevin O'Connor (7): xhci: Check for device disconnects during USB2 reset polling xhci: Wait for port enable even for USB3 devices sdcard: Only enable error_irq_enable for bits defined in SDHCI v1 spec sdcard: fix typo causing 32bit write to 16bit block_size field nmi: Don't try to switch onto extra stack in NMI handler scsi: Do not call printf() from scsi_is_ready() coreboot: Check for unaligned cbfs header Marcel Apfelbaum (1): fw/pci: do not automatically allocate IO region for PCIe bridges Roger Pau Monne (1): build: fix typo in buildversion.py Signed-off-by: Gerd Hoffmann <[email protected]>
fee5b753ff0eb8b25685227804a60dbc4a2ce6ea
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fee5b753ff0eb8b25685227804a60dbc4a2ce6ea
2016-03-01 09:37:07+01:00
target-arm: Give CPSR setting on 32-bit exception return its own helper The rules for setting the CPSR on a 32-bit exception return are subtly different from those for setting the CPSR via an instruction like MSR or CPS. (In particular, in Hyp mode changing the mode bits is not valid via MSR or CPS.) Split the exception-return case into its own helper for setting CPSR, so we can eventually handle them differently in the helper function. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Sergey Fedorov <[email protected]> Message-id: [email protected]
235ea1f5c89abf30e452539b973b0dbe43d3fe2b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/235ea1f5c89abf30e452539b973b0dbe43d3fe2b
2016-02-26 15:09:41+00:00
hw/arm/sysbus-fdt: helpers for clock node generation Some passthrough'ed devices depend on clock nodes. Those need to be generated in the guest device tree. This patch introduces some helpers to build a clock node from information retrieved in the host device tree. - copy_properties_from_host copies properties from a host device tree node to a guest device tree node - fdt_build_clock_node builds a guest clock node and checks the host fellow clock is a fixed one. fdt_build_clock_node will become static as soon as it gets used. A dummy pre-declaration is needed for compilation of this patch. Signed-off-by: Eric Auger <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
9481cf2e5f2f2bb679d8bbda19f917a37a11034b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/9481cf2e5f2f2bb679d8bbda19f917a37a11034b
2016-02-19 09:42:31-07:00
qemu-nbd: add support for --object command line arg Allow creation of user creatable object types with qemu-nbd via a new --object command line arg. This will be used to supply passwords and/or encryption keys to the various block driver backends via the recently added 'secret' object type. # printf letmein > mypasswd.txt # qemu-nbd --object secret,id=sec0,file=mypasswd.txt \ ...other nbd args... Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
0ab3b3375b362e4ea53714e8448eaf60d311daac
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0ab3b3375b362e4ea53714e8448eaf60d311daac
2016-02-16 17:13:06+01:00
.travis.yml: reduce the test matrix a little As we are now running "make check" on more of the matrix it is worth making more of an effort to reduce the overall load on Travis. I've done a few things: - Combining a number of the targets - Building one target for each ancillary build Signed-off-by: Alex Bennée <[email protected]> Reviewed-by: David Gibson <[email protected]> Tested-by: David Gibson <[email protected]>
119721907df5306d40cb2f4c934408e1813f8cdd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/119721907df5306d40cb2f4c934408e1813f8cdd
2016-02-08 18:50:25+00:00
hw/sd: model a power-up delay, as a workaround for an EDK2 bug The SD spec for ACMD41 says that a zero argument is an "inquiry" ACMD41, which does not start initialisation and is used only for retrieving the OCR. However, Tianocore EDK2 (UEFI) has a bug [1]: it first sends an inquiry (zero) ACMD41. If that first request returns an OCR value with the power up bit (0x80000000) set, it assumes the card is ready and continues, leaving the card in the wrong state. (My assumption is that this works on hardware, because no real card is immediately powered up upon reset.) This change models a delay of 0.5ms from the first ACMD41 to the power being up. However, it also immediately sets the power on upon seeing a non-zero (non-enquiry) ACMD41. This speeds up UEFI boot, it should also account for guests that simply delay after card reset and then issue an ACMD41 that they expect will succeed. [1] https://github.com/tianocore/edk2/blob/master/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c#L279 (This is the loop starting with "We need to wait for the MMC or SD card is ready") Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Andrew Baumann <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
dd26eb43337adf53d22b3fda3591e3837bc08b8c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dd26eb43337adf53d22b3fda3591e3837bc08b8c
2016-02-18 14:50:50+00:00
virtio: optimize virtio_access_is_big_endian() for little-endian targets When adding cross-endian support, we introduced the TARGET_IS_BIENDIAN macro and the virtio_access_is_big_endian() helper to have a branchless fast path in the virtio memory accessors for targets that don't switch endian. This was considered as a strong requirement at the time. Now we have added a runtime check for virtio 1.0, which ruins the benefit of the virtio_access_is_big_endian() helper for always little-endian targets. With this patch, always little-endian targets stop checking for virtio 1.0, since the result is little-endian in all cases. Reviewed-by: Cornelia Huck <[email protected]> Reviewed-by: Laurent Vivier <[email protected]> Signed-off-by: Greg Kurz <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Laurent Vivier <[email protected]>
e5157e313cd9c2d57f28873318d0bb29c77a9b1a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e5157e313cd9c2d57f28873318d0bb29c77a9b1a
2016-02-16 12:05:18+02:00
spapr: Small fixes to rtas_ibm_get_system_parameter, remove rtas_st_buffer rtas_st_buffer() appears in spapr.h as though it were a widely used helper, but in fact it is only used for saving data in a format used by rtas_ibm_get_system_parameter(). This changes it to a local helper more specifically for that function. While we're there fix a couple of small defects in rtas_ibm_get_system_parameter: - For the string value SPLPAR_CHARACTERISTICS, it wasn't including the terminating \0 in the length which it should according to LoPAPR 7.3.16.1 - It now checks that the supplied buffer has at least enough space for the length of the returned data, and returns an error if it does not. Signed-off-by: David Gibson <[email protected]> Reviewed-by: Alexey Kardashevskiy <[email protected]>
c920f7b42fc7834bae73a5fd146f58db18bb3f58
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c920f7b42fc7834bae73a5fd146f58db18bb3f58
2016-01-30 23:37:36+11:00
iotests: 038: Use TEST_IMG override instead of "mv" Signed-off-by: Fam Zheng <[email protected]> Reviewed-by: Max Reitz <[email protected]> Message-id: [email protected] Signed-off-by: Max Reitz <[email protected]>
1b935e1dc915a853e3d96a58657143bfad8a4012
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1b935e1dc915a853e3d96a58657143bfad8a4012
2016-01-07 21:30:17+01:00
fix MSI injection on Xen On Xen MSIs can be remapped into pirqs, which are a type of event channels. It's mostly for the benefit of PCI passthrough devices, to avoid the overhead of interacting with the emulated lapic. However remapping interrupts and MSIs is also supported for emulated devices, such as the e1000 and virtio-net. When an interrupt or an MSI is remapped into a pirq, masking and unmasking is done by masking and unmasking the event channel. The masking bit on the PCI config space or MSI-X table should be ignored, but it isn't at the moment. As a consequence emulated devices which use MSI or MSI-X, such as virtio-net, don't work properly (the guest doesn't receive any notifications). The mechanism was working properly when xen_apic was introduced, but I haven't narrowed down which commit in particular is causing the regression. Fix the issue by ignoring the masking bit for MSI and MSI-X which have been remapped into pirqs. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
428c3ece97179557f2753071fb0ca97a03437267
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/428c3ece97179557f2753071fb0ca97a03437267
2016-02-06 20:44:10+02:00
acpi: add aml_sizeof Implement SizeOf term which is used by NVDIMM _DSM method in later patch Reviewed-by: Igor Mammedov <[email protected]> Signed-off-by: Xiao Guangrong <[email protected]> Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
52483d147bfe49e98aa76230f5f90f9f246f44ed
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/52483d147bfe49e98aa76230f5f90f9f246f44ed
2015-12-22 18:39:20+02:00
qapi: Improve generated event use of qapi visitor All other successful clients of visit_start_struct() were paired with an unconditional visit_end_struct(); but the generated code for events was relying on qmp_output_visitor_cleanup() to work on an incomplete visit. Alter the code to guarantee that the struct is completed, which will make a future patch to split visit_end_struct() easier to reason about. While at it, drop some assertions and comments that are not present in other uses of the qmp output visitor, and pass NULL rather than "" as the 'kind' parameter (matching most other uses where obj is NULL). The changes to the generated code look like: | qmp = qmp_event_build_dict("DEVICE_TRAY_MOVED"); | | qov = qmp_output_visitor_new(); |- g_assert(qov); |- | v = qmp_output_get_visitor(qov); |- g_assert(v); | |- /* Fake visit, as if all members are under a structure */ |- visit_start_struct(v, NULL, "", "DEVICE_TRAY_MOVED", 0, &err); |+ visit_start_struct(v, NULL, NULL, "DEVICE_TRAY_MOVED", 0, &err); | if (err) { | goto out; | } | visit_type_str(v, (char **)&device, "device", &err); | if (err) { |- goto out; |+ goto out_obj; | } | visit_type_bool(v, &tray_open, "tray-open", &err); | if (err) { |- goto out; |+ goto out_obj; | } |- visit_end_struct(v, &err); |+out_obj: |+ visit_end_struct(v, err ? NULL : &err); | if (err) { | goto out; | } | | obj = qmp_output_get_qobject(qov); |- g_assert(obj != NULL); |+ g_assert(obj); | | qdict_put_obj(qmp, "data", obj); | emit(QAPI_EVENT_DEVICE_TRAY_MOVED, qmp, &err); Note that the 'goto out_obj' with no intervening code before the label, as well as the construct of 'err ? NULL : &err', are both a bit unusual but also temporary; they get fixed in a later patch that splits visit_end_struct() to drop its errp parameter by moving some checking before the label. But until that time, this was the simplest way to avoid the appearance of passing a possibly-set error to visit_end_struct(), even though actual code inspection shows that visit_end_struct() for a QMP output visitor will never set an error. Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]> [Commit message's code diff tweaked] Signed-off-by: Markus Armbruster <[email protected]>
a16e3e5c5825c90887a863513916f93eeec16c55
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a16e3e5c5825c90887a863513916f93eeec16c55
2016-02-08 17:29:55+01:00
hw/pxb: introduce pxb-pcie expander for PCIe machines The pxb-pcie is the counterpart of pxb for PCI express machines. The new device re-uses the pxb code, but appears to the guests as a different device. The pxb-pcie device does not have an internal pci-pci bridge and exposes a PCIe root bus instead of a PCI one. Signed-off-by: Marcel Apfelbaum <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
02b07434bed8360715198b4cbfdfebd17f7cac32
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/02b07434bed8360715198b4cbfdfebd17f7cac32
2015-12-22 17:45:13+02:00
qemu-iotests: make check-block.sh work on out-of-tree builds Since check-block.sh, the "check" script has learnt to find the source path. On the other hand, it expects common.env to be in the build tree (both changes made in commit 76c7560, "configure: Enable out-of-tree iotests", 2014-05-24). So, it is wrong to invoke "check" from the source path like check-block.sh does. Fix it. Signed-off-by: Paolo Bonzini <[email protected]> Message-id: [email protected] Signed-off-by: Max Reitz <[email protected]>
7467d94cc43d3bea91160dba6ad42c07da217219
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/7467d94cc43d3bea91160dba6ad42c07da217219
2016-01-07 21:30:16+01:00
qga: convert to use error checked base64 decode Switch from using g_base64_decode over to qbase64_decode in order to get error checking of the base64 input data. Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Daniel P. Berrange <[email protected]>
920639cab0fe28d003c90b53bd8b66e8fb333bdd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/920639cab0fe28d003c90b53bd8b66e8fb333bdd
2015-12-18 16:25:08+00:00
qapi: Clean up after previous commit QAPISchemaObjectTypeVariants.check() parameter members and QAPISchemaObjectTypeVariant.check() parameter seen are no longer used, drop them. Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> [rebase to earlier changes that moved tag_member.check() of alternate types] Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]>
cdc5fa37eda2896d2b08f9215c963256eb859d3b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/cdc5fa37eda2896d2b08f9215c963256eb859d3b
2015-12-17 08:21:26+01:00
usb-mtp: add support for basic mtp events When the host polls for events, we check our events qlist and send one event at a time. Also, note that the event packet needs to be sent in one go, so I increased the max packet size to 64. Tested with a linux guest. Signed-off-by: Bandan Das <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
93d592e3d1a45e4c0b3969e1fbbc459d6df826aa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/93d592e3d1a45e4c0b3969e1fbbc459d6df826aa
2015-12-15 09:26:10+01:00
fw_cfg: avoid calculating invalid current entry pointer When calculating a pointer to the currently selected fw_cfg item, the following is used: FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; When s->cur_entry is FW_CFG_INVALID, we are calculating the address of a non-existent element in s->entries[arch][...], which is undefined. This patch ensures the resulting entry pointer is set to NULL whenever s->cur_entry is FW_CFG_INVALID. Reported-by: Laszlo Ersek <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Gabriel Somlo <[email protected]> Message-id: [email protected] Cc: Marc Marí <[email protected]> Signed-off-by: Gabriel Somlo <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
66f8fd9dda312191b78d2a2ba2848bcee76127a2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/66f8fd9dda312191b78d2a2ba2848bcee76127a2
2015-12-15 11:45:59+01:00
blkdebug: silence warning under qtest make check always outputs warnings, this is not nice. Disable blkdebug warnings under qtest. Signed-off-by: Michael S. Tsirkin <[email protected]> Message-id: [email protected] Signed-off-by: Max Reitz <[email protected]>
20873526a329e2145522c29775542dba2900ebe0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/20873526a329e2145522c29775542dba2900ebe0
2015-12-02 16:28:10+01:00
qapi: Simplify QAPISchemaObjectTypeMember.check() QAPISchemaObjectTypeMember.check() currently does four things: 1. Compute self.type 2. Accumulate members in all_members Only one caller cares: QAPISchemaObjectType.check() uses it to compute self.members. The other callers pass a throw-away accumulator. 3. Accumulate a map from names to members in seen Only one caller cares: QAPISchemaObjectType.check() uses it to compute its local variable seen, for self.variants.check(), which uses it to compute self.variants.tag_member from self.variants.tag_name. The other callers pass a throw-away accumulator. 4. Check for collisions This piggybacks on 3: before adding a new entry, we assert it's new. Only one caller cares: QAPISchemaObjectType.check() uses it to assert non-variant members don't clash. Simplify QAPISchemaObjectType.check(): move 2.-4. to QAPISchemaObjectType.check(), and drop parameters all_members and seen. Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> [rebase to earlier changes that moved tag_member.check() of alternate types, commit message typo fix] Signed-off-by: Eric Blake <[email protected]> Message-Id: <[email protected]>
e564e2dd5963a75f32bbb90ac8181ba9dca2f1aa
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e564e2dd5963a75f32bbb90ac8181ba9dca2f1aa
2015-12-17 08:21:26+01:00
nand: fix flash erase when oob is in memory For the "main area on file, oob in memory" case, fix the shifts so that we erase the correct number of pages. Signed-off-by: Ricard Wanderlöf <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
8e37ca6d0be8aae2887c167da783fd2d9536c962
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8e37ca6d0be8aae2887c167da783fd2d9536c962
2015-11-25 14:27:43+01:00
Postcopy: Fix TP!=HP zero case Where the target page size is different from the host page we special case it, but I messed up on the zero case check. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
a3b6ff6d0a7a964c5c7cd5f9a0d5e42752b6347a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a3b6ff6d0a7a964c5c7cd5f9a0d5e42752b6347a
2015-11-12 17:52:29+01:00
crypto: avoid passing NULL to access() syscall The qcrypto_tls_creds_x509_sanity_check() checks whether certs exist by calling access(). It is valid for this method to be invoked with certfile==NULL though, since for client credentials the cert is optional. This caused it to call access(NULL), which happens to be harmless on current Linux, but should none the less be avoided. Signed-off-by: Daniel P. Berrange <[email protected]>
08cb175a24d642a40e41db2fef2892b0a1ab504e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/08cb175a24d642a40e41db2fef2892b0a1ab504e
2015-11-18 15:42:26+00:00
xen_platform: switch to realize Use realize to initialize the xen_platform device Signed-off-by: Stefano Stabellini <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
4098d49db549e20a2d87ca3cced28ace6e5864bf
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4098d49db549e20a2d87ca3cced28ace6e5864bf
2015-10-26 11:32:24+00:00
arm: highbank: Defeature CPU override This board should not support CPU model override. This allows for easier patching of the board with being able to rely on the CPU type being correct. Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Peter Crosthwaite <[email protected]> Message-id: 471a61e049c7ca6e82f5ef6668889a1d518c7e00.1447007690.git.crosthwaite.peter@gmail.com Signed-off-by: Peter Maydell <[email protected]>
dca6eeed8c2a1c131d161139428dd18a35e58b03
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dca6eeed8c2a1c131d161139428dd18a35e58b03
2015-11-10 13:37:33+00:00
ivshmem: error on too many eventfd received The number of eventfd that can be handled per peer is limited by the number of vectors. Return an error when receiving too many of them. Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Claudio Fontana <[email protected]>
1ee57de444ac7dd0cdb091fec318ba056ed173fd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1ee57de444ac7dd0cdb091fec318ba056ed173fd
2015-10-24 18:02:49+02:00
block: Consider all child nodes in bdrv_requests_pending() The function manually recursed into bs->file and bs->backing to check whether there were any requests pending, but it ignored other children. There's no need to special case file and backing here, so just replace these two explicit recursions by a loop recursing for all child nodes. Reported-by: Max Reitz <[email protected]> Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
37a639a7fbc5c6b065c80e7e2de78d22af735496
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/37a639a7fbc5c6b065c80e7e2de78d22af735496
2015-10-29 17:59:27+00:00
block: Add "drained begin/end" for transactional backup This ensures the atomicity of the transaction by avoiding processing of external requests such as those from ioeventfd. Move the assignment to state->bs up right after bdrv_drained_begin, so that we can use it in the clean callback. The abort callback will still check bs->job and state->job, so it's OK. Signed-off-by: Fam Zheng <[email protected]> Reviewed-by: Jeff Cody <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
1fdd4b7be3655d39c3594bc215eb1df5ce225c7d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1fdd4b7be3655d39c3594bc215eb1df5ce225c7d
2015-10-23 18:18:24+02:00
cpu/apic: drop icc bus/bridge After CPU hotplug has been converted to BUS-less hot-plug infrastructure, the only function ICC bus performs is to propagate reset to LAPICs. However LAPIC could be reset by registering its reset handler after all device are initialized. Do so and drop ~30LOC of not needed anymore ICCBus related code. Signed-off-by: Chen Fan <[email protected]> Signed-off-by: Zhu Guihua <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
46232aaacb66733d3e16dcbd0d26c32ec388801d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/46232aaacb66733d3e16dcbd0d26c32ec388801d
2015-10-02 16:22:02-03:00
eepro100: Drop nic_can_receive nic_receive already checks the conditions and drop packets if false. Due to the new semantics since 6e99c63 ("net/socket: Drop net_socket_can_send"), having .can_receive returning 0 requires us to explicitly flush the queued packets when the conditions are becoming true, but queuing the packets when guest driver is not ready doesn't make much sense. Signed-off-by: Fam Zheng <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Jason Wang <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
363db4b249244f31d3c47fbd5a8b128c95ba8fe7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/363db4b249244f31d3c47fbd5a8b128c95ba8fe7
2015-07-27 14:12:18+01:00
qapi: Drop unused and useless parameters and variables gen_sync_call()'s parameter indent is useless: gen_sync_call() uses it only as optional argument for push_indent() and pop_indent(), their default is four, and gen_sync_call()'s only caller passes four. Drop the parameter. gen_visitor_input_containers_decl()'s parameter obj is always "QOBJECT(args)". Use that, and drop the parameter. Drop unused parameters of gen_marshal_output(), gen_marshal_input_decl(), generate_visit_struct_body(), generate_visit_list(), generate_visit_enum(), generate_declaration(), generate_enum_declaration(), generate_decl_enum(). Drop unused variables in generate_event_enum_lookup(), generate_enum_lookup(), generate_visit_struct_fields(), check_event(). Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Eric Blake <[email protected]>
5aa05d3f72e556752167f7005d6a3dea0f4432c5
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5aa05d3f72e556752167f7005d6a3dea0f4432c5
2015-09-04 15:47:13+02:00
configure: add configure check for ntdddisk.h This header file provides w32 ioctl definitions for working with disk devices. Older versions of mingw do not expose this in a useable way, so add a configure check and report it via CONFIG_QGA_NTDDSCSI. Subsequent patches will use this macro to stub out functionality that relies on this in cases where it's not available. Signed-off-by: Michael Roth <[email protected]>
50cbebb9a339f43cda2005785010361497151882
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/50cbebb9a339f43cda2005785010361497151882
2015-07-07 20:59:04-05:00
block: Initialize local_err in bdrv_append_temp_snapshot Cc: [email protected] Signed-off-by: Fam Zheng <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
c2e0dbbfd7265eb9a7170ab195d8f9f8a1cbd1af
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c2e0dbbfd7265eb9a7170ab195d8f9f8a1cbd1af
2015-07-07 14:27:14+01:00
spapr: Remove obsolete entry_point field from sPAPRMachineState The sPAPRMachineState structure includes an entry_point field containing the initial PC value for starting the machine, even though this always has the value 0x100. I think this is a hangover from very early versions which bypassed the firmware when using -kernel. In any case it has no function now, so remove it. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
1b71890729953825c57d52ace48a7671c295e899
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1b71890729953825c57d52ace48a7671c295e899
2015-07-07 17:44:50+02:00
net: drop if expression that is always true Both is_netdev and !is_netdev paths already check that net_client_init_func[opts->kind] is non-NULL so there is no need for the if statement. Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Message-id: [email protected]
4ef0defbad9bc8b195f3392d1b7dcb42cd7ebe11
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4ef0defbad9bc8b195f3392d1b7dcb42cd7ebe11
2015-06-24 16:33:27+01:00
check_section_footers: Check the correct section_id The section footers check was incorrectly checking the section_id in the SaveStateEntry not the LoadStateEntry. These can validly be different if the two QEMU instances have instantiated their devices in a different order. The test only cares that we're finishing the same section we started, and hence it's the LoadStateEntry that we care about. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reported-by: Christian Borntraeger <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
59f39a47411ab6007a592555dc639aa9753f8d23
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/59f39a47411ab6007a592555dc639aa9753f8d23
2015-07-07 14:54:55+02:00
linux-user: Add HWCAP for SH4 Only exposing FPU and LLSC as the only features supported by the translator. Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
e42fd944f02dda893fc8773959d6db75f2a49367
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e42fd944f02dda893fc8773959d6db75f2a49367
2015-06-12 12:02:47+02:00
monitor: Propagate errors through invalid_qmp_mode() Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Luiz Capitulino <[email protected]>
4086182fcd9b106345b5cc535d78bcc6d13a7683
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4086182fcd9b106345b5cc535d78bcc6d13a7683
2015-06-02 09:59:14+02:00
spapr: override default ram size to 512MB Signed-off-by: Nikunj A Dadhania <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Acked-by: David Gibson <[email protected]> Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
a34944fe2e2457309bde74c1ffe3a1c60c6da018
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a34944fe2e2457309bde74c1ffe3a1c60c6da018
2015-06-03 23:56:55+02:00
throttle: acquire the ThrottleGroup lock in bdrv_swap() bdrv_swap() touches the fields of a BlockDriverState that are protected by the ThrottleGroup lock. Although those fields end up in their original place, they are temporarily swapped in the process, so there's a chance that an operation on a member of the same group happening on a different thread can try to use them. Signed-off-by: Alberto Garcia <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Message-id: d92dc40d7c4f1fc5cda5cbbf4ffb7a4670b79d17.1433779731.git.berto@igalia.com Signed-off-by: Stefan Hajnoczi <[email protected]>
db6283385cb708b9d589e5b57e96eab4afd0269e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/db6283385cb708b9d589e5b57e96eab4afd0269e
2015-06-12 14:00:00+01:00
block-backend: Expose bdrv_write_zeroes() Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Max Reitz <[email protected]>
0df89e8e6f62aea32a7302e73a86b7bfe5821018
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0df89e8e6f62aea32a7302e73a86b7bfe5821018
2015-04-28 15:36:08+02:00
numa: Reject CPU indexes > max_cpus CPU index is always less than max_cpus, as documented at sysemu.h: > The following shall be true for all CPUs: > cpu->cpu_index < max_cpus <= MAX_CPUMASK_BITS Reject configuration which uses invalid CPU indexes. Reviewed-by: Igor Mammedov <[email protected]> Signed-off-by: Eduardo Habkost <[email protected]>
8979c945c1a7ffd20edbd5da2513c04baccfd7de
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/8979c945c1a7ffd20edbd5da2513c04baccfd7de
2015-03-19 16:01:22-03:00
spapr_events: event-scan RTAS interface We don't actually rely on this interface to surface hotplug events, and instead rely on the similar-but-interrupt-driven check-exception RTAS interface used for EPOW events. However, the existence of this interface is needed to ensure guest kernels initialize the event-reporting interfaces which will in turn be used by userspace tools to handle these events, so we implement this interface here. Since events surfaced by this call are mutually exclusive to those surfaced via check-exception, we also update the RTAS event queue code to accept a boolean to mark/filter for events accordingly. Events of this sort are not currently generated by QEMU, but the interface has been tested by surfacing hotplug events via event-scan in place of check-exception. Signed-off-by: Tyrel Datwyler <[email protected]> Signed-off-by: Michael Roth <[email protected]> Reviewed-by: David Gibson <[email protected]> Signed-off-by: David Gibson <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
79853e18d904b0a4bcef62701d48559688007c93
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/79853e18d904b0a4bcef62701d48559688007c93
2015-06-03 23:56:53+02:00
vnc: -readconfig fix Now that -vnc goes through QemuOpts we can get vnc configuration via -readconfig too. So setting display_remote in the command line parsing code doesn't cut it any more, we must check QemuOpts instead to see whenever any vnc display is configured. Reported-by: Markus Armbruster <[email protected]> Tested-by: Markus Armbruster <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
006decd448ae3ce04f12e2bbdd3079ba74d25c89
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/006decd448ae3ce04f12e2bbdd3079ba74d25c89
2015-03-10 11:33:39+01:00
s390x/ioinst: Rework memory access in TSCH instruction Change the TSCH handler to use the new logical memory access functions. Since the channel should not be updated in case of a protection or access exception while writing to the guest memory, the css_do_tsch() has to be split up into two parts, one for retrieving the IRB and one for the update. Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Jens Freimann <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
b7b6348ab433519f16c1500e3ea04805428be91e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b7b6348ab433519f16c1500e3ea04805428be91e
2015-02-18 09:37:15+01:00
s390x/mmu: Fix the check for the real-space designation bit The real-space designation bits live in the ASCEs, not in the table entries, so the check must be done before we start walking the MMU table. Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Jens Freimann <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
89a41e0a37f3c749f3038ac2544f74257bc7b94d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/89a41e0a37f3c749f3038ac2544f74257bc7b94d
2015-02-18 09:37:14+01:00
linux-user: support target-to-host SCM_CREDENTIALS When passing ancillary data through a unix socket, handle credentials properly instead of doing a simple copy and issuing a warning. Signed-off-by: Alex Suykov <[email protected]> Signed-off-by: Riku Voipio <[email protected]>
30b8b68eb574fd68060eebcc4da790fdfe18d668
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/30b8b68eb574fd68060eebcc4da790fdfe18d668
2015-01-27 22:33:57+02:00
qemu-nbd: only send a limited number of errno codes on the wire Right now, NBD includes potentially platform-specific error values in the wire protocol. Luckily, most common error values are more or less universal: in particular, of all errno values <= 34 (up to ERANGE), they are all the same on supported platforms except for 11 (which is EAGAIN on Windows and Linux, but EDEADLK on Darwin and the *BSDs). So, in order to guarantee some portability, only keep a handful of possible error codes and squash everything else to EINVAL. This patch defines a limited set of errno values that are valid for the NBD protocol, and specifies recommendations for what error to return in specific corner cases. The set of errno values is roughly based on the errors listed in the read(2) and write(2) man pages, with some exceptions: - ENOMEM is added for servers that implement copy-on-write or other formats that require dynamic allocation. - EDQUOT is not part of the universal set of errors; it can be changed to ENOSPC on the wire format. - EFBIG is part of the universal set of errors, but it is also changed to ENOSPC because it is pretty similar to ENOSPC or EDQUOT. Incoming values will in general match system errno values, but not on the Hurd which has different errno values (they have a "subsystem code" equal to 0x10 in bits 24-31). The Hurd is probably not something to which QEMU has been ported, but still do the right thing and reverse-map the NBD errno values to the system errno values. The corresponding patch to the NBD protocol description can be found at http://article.gmane.org/gmane.linux.drivers.nbd.general/3154. Signed-off-by: Paolo Bonzini <[email protected]>
ca4414804114fd0095b317785bc0b51862e62ebb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ca4414804114fd0095b317785bc0b51862e62ebb
2015-05-08 14:45:11+02:00
memory: protect current_map by RCU Replace the flat_view_mutex with RCU, avoiding futex contention for dataplane on large systems and many iothreads. Reviewed-by: Fam Zheng <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
374f2981d1f10bc4307f250f24b2a7ddb9b14be0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/374f2981d1f10bc4307f250f24b2a7ddb9b14be0
2015-02-02 16:55:10+01:00
atapi migration: Throw recoverable error to avoid recovery (With the previous atapi_dma flag recovery) If migration happens between the ATAPI command being written and the bmdma being started, the DMA is dropped. Eventually the guest times out and recovers, but that can take many seconds. (This is rare, on a pingpong reading the CD continuously I hit this about ~1/30-1/50 migrates) I don't think we've got enough state to be able to recover safely at this point, so I throw a 'medium error, no seek complete' that I'm assuming guests will try and recover from an apparently dirty CD. OK, it's a hack, the real solution is probably to push a lot of ATAPI state into the migration stream, but this is a fix that works with no stream changes. Tested only on Linux (both RHEL5 (pre-libata) and RHEL7). Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: John Snow <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
a71754e5b03fd3b8b8c6d3bc2a39f75bead729de
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a71754e5b03fd3b8b8c6d3bc2a39f75bead729de
2015-02-06 17:24:20+01:00
target-arm: Guest cpu endianness determination for virtio KVM ARM/ARM64 This patch implements a fucntion pointer "virtio_is_big_endian" from "CPUClass" structure for arm/arm64. Function arm_cpu_is_big_endian() is added to determine and return the guest cpu endianness to virtio. This is required for running cross endian guests with virtio on ARM/ARM64. Signed-off-by: Pranavkumar Sawargaonkar <[email protected]> Message-id: [email protected] [PMM: check CPSR_E in env->cpsr_uncached, not env->pstate.] Signed-off-by: Peter Maydell <[email protected]>
84f2bed3cf505f90b7918e2de32e11da27160563
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/84f2bed3cf505f90b7918e2de32e11da27160563
2015-02-05 13:37:25+00:00
qmp: Clean up qmp_query_spice() #ifndef !CONFIG_SPICE dummy QMP command query-spice exists only #ifdef CONFIG_SPICE. Due to QAPI limitations, we need a dummy function anyway, but it's unreachable. Our current dummy function goes out of its way to produce the exact same error as the QMP core does for unknown commands. Cute, but both unclean and unnecessary. Replace by straight abort(). Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Eric Blake <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]>
ad0ec14bad645d9c0402047e858ea323151c8e9b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/ad0ec14bad645d9c0402047e858ea323151c8e9b
2015-01-29 10:01:54+01:00
qemu-iotests: Speed up make check-block Using /tmp, which is usually mounted as tmpfs, the quick group can be quicker. On my laptop (Lenovo T430s with Fedora 20), this reduces the time from 50s to 30s. Signed-off-by: Fam Zheng <[email protected]> Reviewed-by: Max Reitz <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
b8aff7d6bfa1632d722f47a1a6bca679221b6db3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b8aff7d6bfa1632d722f47a1a6bca679221b6db3
2015-01-13 11:47:55+00:00
block: mirror - change string allocation to 2-bytes The backing_filename string in mirror_run() is only used to check for a NULL string, so we don't need to allocate 1024 bytes (or, later, PATH_MAX bytes), when we only need to copy the first 2 characters. We technically only need 1 byte, as we are just checking for NULL, but since backing_filename[] is populated by bdrv_get_backing_filename(), a string size of 1 will always only return '\0'; Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: John Snow <[email protected]> Signed-off-by: Jeff Cody <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
1d33936ea847693a6d69f9049691a0341d6e0b9f
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/1d33936ea847693a6d69f9049691a0341d6e0b9f
2015-01-23 18:17:06+01:00
target-i386: Disable HLE and RTM on Haswell & Broadwell All Haswell CPUs and some Broadwell CPUs were updated by Intel to have the HLE and RTM features disabled. This will prevent "-cpu Haswell,enforce" and "-cpu Broadwell,enforce" from running out of the box on those CPUs. Disable those features by default on Broadwell and Haswell CPU models, starting on pc-*-2.3. Users who want to use those features can enable them explicitly on the command-line. Signed-off-by: Eduardo Habkost <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
13704e4c455770d500d6b87b117e32f0d01252c9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/13704e4c455770d500d6b87b117e32f0d01252c9
2015-01-26 12:27:05+01:00
spapr: Fix stale HTAB during live migration (TCG) If a TCG guest reboots during a running migration HTAB entries are not marked dirty, and the destination boots with an invalid HTAB. When a reboot occurs, explicitly mark the current HTAB dirty after clearing it. Signed-off-by: Samuel Mendoza-Jonas <[email protected]> Reviewed-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
e6b8fd246c19701b05f5b65a56b0cc91bbd05ac6
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e6b8fd246c19701b05f5b65a56b0cc91bbd05ac6
2015-01-07 16:16:26+01:00
cpu: assert host pointer offset within block Make accesses safer in case we missed some check somewhere. Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Amos Kong <[email protected]> Signed-off-by: Amit Shah <[email protected]>
fd5f3b636788f79843d42188ed843c0416643326
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd5f3b636788f79843d42188ed843c0416643326
2014-12-16 17:47:35+05:30
valgrind/i386: avoid false positives on KVM_SET_PIT ioctl struct kvm_pit_state2 contains pad fields. Let's use a designated initializer to avoid false positives from valgrind/memcheck. Signed-off-by: Christian Borntraeger <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
b0a0551283076c6f3e57cf2bdd525334009b2677
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b0a0551283076c6f3e57cf2bdd525334009b2677
2014-12-15 12:21:01+01:00
target-arm: add cpu feature EL3 to CPUs with Security Extensions Set ARM_FEATURE_EL3 feature for CPUs that implement Security Extensions. Signed-off-by: Fabian Aggeler <[email protected]> Signed-off-by: Greg Bellows <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
c0ccb02db46c72b4b0fa8a475a6890c1e28064f0
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c0ccb02db46c72b4b0fa8a475a6890c1e28064f0
2014-12-22 23:12:28+00:00
valgrind/i386: avoid false positives on KVM_SET_CLOCK ioctl kvm_clock_data contains pad fields. Let's use a designated initializer to avoid false positives from valgrind/memcheck. Signed-off-by: Christian Borntraeger <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
5e0b7d8869a567d8f535f63510adf8f53ca438d3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5e0b7d8869a567d8f535f63510adf8f53ca438d3
2014-12-15 12:21:01+01:00
memory: expose alignment used for allocating RAM as MemoryRegion API introduce memory_region_get_alignment() that returns underlying memory block alignment or 0 if it's not relevant/implemented for backend. Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
a2b257d6212ade772473f86bf0637480b2578a7e
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a2b257d6212ade772473f86bf0637480b2578a7e
2014-11-23 12:11:30+02:00
block: drop unused bdrv_clear_incoming_migration_all() prototype The bdrv_clear_incoming_migration_all() function has not existed since commit 7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35 ("block/migration: Disable cache invalidate for incoming migration"). Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Max Reitz <[email protected]> Message-id: [email protected]
b5cf2c1b0897506a40e0c420391875acc484792b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b5cf2c1b0897506a40e0c420391875acc484792b
2014-12-12 16:55:16+00:00
block/nfs: Add create_opts The nfs protocol driver is capable of creating images, but did not specify any creation options. Fix it. A way to test this issue is the following: $ qemu-img create -f nfs nfs://127.0.0.1/foo.qcow2 64M Without this patch, it segfaults. With this patch, it does not. However, this is not something that should really work; qemu-img should check whether the parameter for the -f option (and -O for convert) is indeed a format, and error out if it is not. Therefore, I am not making it an iotest. Cc: [email protected] Signed-off-by: Max Reitz <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
fd752801ae1cc729359a37f29e32265de6948d37
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/fd752801ae1cc729359a37f29e32265de6948d37
2014-12-10 10:31:19+01:00
tests: virtio-serial: Check if hot-plug/unplug works Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
823a9987c99da3d2ee6249730f6cf5c4dcdc15cc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/823a9987c99da3d2ee6249730f6cf5c4dcdc15cc
2014-10-15 05:03:12+02:00
target-mips/dsp_helper.c: Add ifdef guards around various functions Add ifdef TARGET_MIPS64 guards around various functions that are only called from helpers for TARGET_MIPS64 CPUs; this avoids compiler warnings when building other configs. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Leon Alrae <[email protected]>
31efecccce53ead3197ce42c408033c5689499bb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/31efecccce53ead3197ce42c408033c5689499bb
2014-10-14 13:29:14+01:00
migration: catch unknown flag combinations in ram_load this patch extends commit db80fac by not only checking for unknown flags, but also filtering out unknown flag combinations. Suggested-by: Eric Blake <[email protected]> Signed-off-by: Peter Lieven <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
5b0e9dd46fbda5152566a4a26fd96bc0d0452bf7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5b0e9dd46fbda5152566a4a26fd96bc0d0452bf7
2014-10-14 11:24:20+02:00
qapi/block-core: Add "new" qcow2 options qcow2 supports more than four options by now, add the new options (overlap check mode and metadata cache size) Signed-off-by: Max Reitz <[email protected]> Reviewed-by: Eric Blake <[email protected]> Message-id: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]>
f658581130878905e7af001286b8514f28d23c43
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f658581130878905e7af001286b8514f28d23c43
2014-09-22 11:39:35+01:00
hmp: Guard against misuse of hmp_handle_error() Null errp argument makes no sense. Assert it's not null, to make this explicit, and guard against misuse. All current callers pass non-null errp. Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Luiz Capitulino <[email protected]>
415168e0c7bda5371a876914d4fdb68c4556f28d
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/415168e0c7bda5371a876914d4fdb68c4556f28d
2014-05-09 09:11:31-04:00
util: Emancipate id_wellformed() from QemuOpts IDs have long spread beyond QemuOpts: not everything with an ID necessarily goes through QemuOpts. Commit 9aebf3b is about such a case: block layer names are meant to be well-formed IDs, but some of them don't go through QemuOpts, and thus weren't checked. The commit fixed that the straightforward way: rename the internal QemuOpts helper id_wellformed() to qemu_opts_id_wellformed() and give it external linkage. Instead of using it directly in block.c, the commit adds wrapper bdrv_is_valid_name(), probably to hide the connection to QemuOpts. Go one logical step further: emancipate IDs from QemuOpts. Rename the function back to id_wellformed(), and put it in another file. While there, clean up its value to bool. Peel off the bdrv_is_valid_name() wrapper. [Replaced stray return 0 with return false to match bool returns used elsewhere in id_wellformed(). --Stefan] Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
f5bebbbb28dc7a149a891f0f1e112fb50bb72664
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f5bebbbb28dc7a149a891f0f1e112fb50bb72664
2014-10-03 10:30:33+01:00
pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b' For Linux upstream kernel (e.g. 3.17-rc7), the related compatible string 'xlnx,xps-ethernetlite-2.00.a' is supported, but 'b' is not supported, so change qemu dtb file to match kernel driver. The related operation for qemu (after this patch): yum install libvirt yum install tunctl tunctl -b ip link set tap0 up brctl addif virbr0 tap0 ./configure make ./microblaze-softmmu/qemu-system-microblaze -M petalogix-s3adsp1800 \ -kernel ../linux-stable.microblaze/arch/microblaze/boot/linux.bin \ -no-reboot -append "console=ttyUL0,115200 doreboot" -nographic \ -net nic,vlan=0,model=xlnx.xps-ethernetlite,macaddr=00:16:35:AF:94:00 \ -net tap,vlan=0,ifname=tap0,script=no,downscript=no in microblaze qemu bash (guest machine): ifconfig eth0 add 192.168.122.2 netmask 255.255.255.0 ifconfig eth0 up Then can telnet 192.168.122.2 directly without password from the host machine. The related operation for generating new dtb: building Linux kernel firstly, then get dts tool "./scripts/dts/dts". "./scripts/dtc/dtc -I dtb -O dts -o ../work.dts ../qemu/petalogix-s3adsp1800.dtb" edit work.dts (replace 'xlnx,xps-ethernetlite-2.00.b') "./scripts/dtc/dtc -I dts -O dtb -o ..qemu/petalogix-s3adsp1800.dtb ../work.dts" (Since I am not quite sure whether can read this patch or not, I put the related dtb file in attachment, please check, thanks). Signed-off-by: Chen Gang <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
c21fd2c79e1fcaf45582f2dd4deb491c257aa9f2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/c21fd2c79e1fcaf45582f2dd4deb491c257aa9f2
2014-11-11 09:04:13+03:00
spice: call qemu_spice_set_passwd() during init Don't call SPICE API directly to set password given in command line, but use the internal API, saving password for later calls. This solves losing password when changing expiration in qemu monitor. https://bugzilla.redhat.com/show_bug.cgi?id=1138639 Signed-off-by: Gerd Hoffmann <[email protected]>
07d49a53b6394941ed833486a3acb5c480d87db2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/07d49a53b6394941ed833486a3acb5c480d87db2
2014-09-16 08:09:03+02:00
target-i386: update fp status fix This patch introduces cpu_set_fpuc() function, which changes fpuc field of the CPU state and calls update_fp_status() function. These calls update status of softfloat library and prevent bugs caused by non-coherent rounding settings of the FPU and softfloat. v2 changes: * Added missed calls and intoduced setter function (as suggested by TeLeMan) Reviewed-by: TeLeMan <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Pavel Dovgalyuk <[email protected]>
5bde14078d181439a1170094d7774372242ab739
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5bde14078d181439a1170094d7774372242ab739
2014-09-18 17:06:12+02:00
qdev: Use error_abort instead of using local_err This error can not happen normally. If it happens, it indicates something very wrong, we should abort QEMU. Moreover, the user can only refer to /machine/peripheral or /objects, not /machine/unattached. While at it, remove superfluous check about local_err. Signed-off-by: Gonglei <[email protected]> Reviewed-by: Peter Crosthwaite <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
d578029e71311de1b1476229d88d4aca02b783a3
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d578029e71311de1b1476229d88d4aca02b783a3
2014-09-04 16:14:47+02:00
gdbstub: init mon_chr through qemu_chr_alloc This patch initializes monitor for gdbstub with the qemu_chr_alloc function instead of just allocating the memory. Initialization function call is required, because it also creates chr_write_lock mutex, which is used when writing to this character device. Signed-off-by: Pavel Dovgalyuk <[email protected]> Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
462efe9e530e22b1b60aaf01716e1423cd94302c
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/462efe9e530e22b1b60aaf01716e1423cd94302c
2014-09-11 12:20:33+02:00
virtio-serial: search for duplicate port names before adding new ports Before adding new ports to VirtIOSerial devices, check if there's a conflict in the 'name' parameter. This ensures two virtserialports with identical names are not initialized. Reported-by: <[email protected]> Signed-off-by: Amit Shah <[email protected]> Reviewed-by: Markus Armbruster <[email protected]>
d0a0bfe6729ef6044d76ea49fafa07e29fa598bd
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d0a0bfe6729ef6044d76ea49fafa07e29fa598bd
2014-08-18 22:42:49+05:30
block: Add bdrv_refresh_filename() Some block devices may not have a filename in their BDS; and for some, there may not even be a normal filename at all. To work around this, add a function which tries to construct a valid filename for the BDS.filename field. If a filename exists or a block driver is able to reconstruct a valid filename (which is placed in BDS.exact_filename), this can directly be used. If no filename can be constructed, we can still construct an options QDict which is then converted to a JSON object and prefixed with the "json:" pseudo protocol prefix. The QDict is placed in BDS.full_open_options. For most block drivers, this process can be done automatically; those that need special handling may define a .bdrv_refresh_filename() method to fill BDS.exact_filename and BDS.full_open_options themselves. Signed-off-by: Max Reitz <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
91af7014125895cc74141be6b60f3a3e882ed743
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/91af7014125895cc74141be6b60f3a3e882ed743
2014-08-20 14:31:56+02:00
tests: vmstate static checker: version mismatch inside a Description Signed-off-by: Amit Shah <[email protected]> Acked-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>
4efa6e1d6473dbd775a5dd7eb976fa11501a94d2
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4efa6e1d6473dbd775a5dd7eb976fa11501a94d2
2014-06-23 19:14:52+02:00
migration: Remove unneeded minimum_version_id_old Once there, make checkpatch happy. Signed-off-by: Juan Quintela <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]>
25feab2fc248628df318a09c4da06e972a01247a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/25feab2fc248628df318a09c4da06e972a01247a
2014-06-23 19:14:52+02:00
signal/sparc64_set_context: remove __get_user checks Remove checks of __get_user and the err variable used to control flow with it. Signed-off-by: Riku Voipio <[email protected]> Reviewed-by: Peter Maydell <[email protected]>
be3ef5c7faa780b205151cc8f818beba64809718
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/be3ef5c7faa780b205151cc8f818beba64809718
2014-06-17 08:52:08+03:00
memory: reorganize file-based allocation Split the internal interface in exec.c to a separate function, and push the check on mem_path up to memory_region_init_ram. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Hu Tao <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
e1c57ab86f3c4ea6532b51cfecf32770b45f5e7a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/e1c57ab86f3c4ea6532b51cfecf32770b45f5e7a
2014-06-19 18:44:19+03:00
usb-host: add range checks for usb-host parameters Signed-off-by: Gerd Hoffmann <[email protected]>
f3cda6e060c483dee1fa497699fd5f972e5031da
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/f3cda6e060c483dee1fa497699fd5f972e5031da
2014-06-13 12:34:57+02:00
virtio-scsi: scsi events must be converted to target endianness Virtio SCSI Events need to be byteswapped before being pushed when host and guest have a different endianness. Not doing so breaks hotplug of virtio scsi disks, with the following error message being printed in the guest console: virtio_scsi: Unsupport virtio scsi event 1000000 This issue got uncovered while testing disk hotplug with a PowerKVM ppc64le guest. I have checked that this issue also affects a x86_64 guest run on a ppc64 host. Signed-off-by: Cédric Le Goater <[email protected]> [ Ported from PowerKVM, Greg Kurz <[email protected]> ] Signed-off-by: Greg Kurz <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
424baff549a9c8a7b5e814ce2bcb857d25163468
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/424baff549a9c8a7b5e814ce2bcb857d25163468
2014-07-01 09:40:38+02:00
virtio-blk: Allow config-wce in dataplane Dataplane now uses block layer. Protect bdrv_set_enable_write_cache with aio_context_acquire and aio_context_release, so we can enable config-wce to allow guest to modify the write cache online. Signed-off-by: Fam Zheng <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]>
6d7e73d62fa32813b6f6a3575db2e9b5e0d43387
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/6d7e73d62fa32813b6f6a3575db2e9b5e0d43387
2014-06-04 09:56:12+02:00
vscclient: use glib thread primitives not qemu Use glib-provided thread primitives in vscclient instead of qemu ones, and do not use qemu sockets in there (open-code call to WSAStartup() for windows to initialize things). This way, vscclient becomes more stand-alone, independent on qemu internals. Signed-off-by: Michael Tokarev <[email protected]> Reviewed-by: Alon Levy <[email protected]> Tested-by: Alon Levy <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
2a0c46da967e5dc8cfe73b1b6fe7a1600c04f461
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/2a0c46da967e5dc8cfe73b1b6fe7a1600c04f461
2014-06-10 07:44:01+02:00
tcg-s390: Don't force -march=z990 While we still require the LONG DISPLACEMENT facility, defaults have moved on since then. Don't override the system compiler, whose default may be set to z9-109 or later. Acked-by: Christian Borntraeger <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
061cdd818251307d82dc8d4d7416ff34ddce49bc
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/061cdd818251307d82dc8d4d7416ff34ddce49bc
2014-05-15 09:20:47-07:00
spapr_pci: fix MSI limit At the moment XICS does not support interrupts reuse so sPAPR PHB implements this. sPAPRPHBState holds array of 32 spapr_pci_msi to describe PCI config address, first MSI and number of MSIs. Once allocated for a device, QEMU tries reusing this config until the number of MSIs changes. Existing SPAPR guests call ibm,change-msi in a loop until the handler returns the requested number of vectors. Recently introduced check for the maximum number of MSI/MSIX vectors supported by a device only works for a device which is new for PHB's MSI cache. If it is already there, the check is not performed which leads to new IRQ block allocation. This happens during PCI hotplug even when the user hot plug the same device which he just hot unplugged. This moves the check earlier. Signed-off-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
28668b5f31b05f6413826e110ff909522759f7d9
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/28668b5f31b05f6413826e110ff909522759f7d9
2014-06-16 13:24:32+02:00
target-alpha: Introduce REQUIRE_REG_31 We were missing quite a few checks for Ra or Rb required to be 31. Further, the one place we did check we also checked for no literal operand and the Handbook says nothing about that. Signed-off-by: Richard Henderson <[email protected]>
64f45e49911abb1b40095fc4cbf1e42172d267e7
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/64f45e49911abb1b40095fc4cbf1e42172d267e7
2014-04-17 11:47:40-07:00
savevm: Remove all the unneeded version_minimum_id_old (rest) After previous Peter patch, they are redundant. This way we don't assign them except when needed. Once there, there were lots of case where the ".fields" indentation was wrong: .fields = (VMStateField []) { and .fields = (VMStateField []) { Change all the combinations to: .fields = (VMStateField[]){ The biggest problem (appart from aesthetics) was that checkpatch complained when we copy&pasted the code from one place to another. Signed-off-by: Juan Quintela <[email protected]> Reviewed-by: Peter Maydell <[email protected]>
35d08458a9ee5fb9c8518207cc85d0a4f2ef3165
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/35d08458a9ee5fb9c8518207cc85d0a4f2ef3165
2014-05-14 15:24:51+02:00
input: mouse_set should check input device type. Otherwise, the index of an input device like a usb-kbd is silently accepted. (qemu) info mice Mouse #2: QEMU PS/2 Mouse * Mouse #3: QEMU HID Mouse (qemu) mouse_set 1 (qemu) info mice Mouse #2: QEMU PS/2 Mouse * Mouse #3: QEMU HID Mouse Also replace monitor_printf() call in do_mouse_set() with error_report() and adjust error message. Signed-off-by: Hani Benhabiles <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
0419f78fae1d70bb5de0d44be62ec9741c5a742b
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0419f78fae1d70bb5de0d44be62ec9741c5a742b
2014-04-01 10:17:45+02:00
gtk: Implement grab-on-click behavior in relative mode This patch changes the behavior in the relative mode to be compatible with other UIs, namely, grabbing the input at the first left click. It improves the usability a lot; otherwise you have to press ctl-alt-G or select from menu at each time you want to move the pointer. Also, the input grab is cleared when the current mode is switched to the absolute mode. The automatic reset of the implicit grabbing is needed since the switching to the absolute mode happens always after the click even on Gtk. That is, we cannot check whether the absolute mode is already available at the first click time even though it should have been switched in X11 input driver side. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
800b0e814bef7cd14ae2bce149c09d70676e93fb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/800b0e814bef7cd14ae2bce149c09d70676e93fb
2014-04-08 13:57:34+02:00
target-arm: Don't expose wildcard ID register definitions for ARMv8 In ARMv8 the 32 bit coprocessor ID register space is tidied up to remove the wildcarded aliases of the MIDR and the RAZ behaviour for the unassigned space where crm = 3..7. Make sure we don't expose thes wildcards for v8 cores. This means we need to have a specific implementation for REVIDR, an IMPDEF register which may be the same as the MIDR (and which we always implement as such). Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Peter Crosthwaite <[email protected]>
00a29f3ddcd506f2fdba4d115e6c8df676f203db
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/00a29f3ddcd506f2fdba4d115e6c8df676f203db
2014-04-17 21:34:05+01:00
pci: Move VMState registration/unregistration to QOM realize/unrealize Use the realize and unrealize hooks to register and unregister vmstate_pcibus respectively. Relocate some stuff to avoid forward declarations. Signed-off-by: Bandan Das <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> [AF: Keep using PCI_BUS() cast macro] Signed-off-by: Andreas Färber <[email protected]>
d2f69df746f06d785ffbf6cc9711f7df9d014e35
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/d2f69df746f06d785ffbf6cc9711f7df9d014e35
2014-03-13 01:21:57+01:00
sasl: Avoid 'Could not find keytab file' in syslog The "keytab" specification in "qemu.sasl" only makes sense if "gssapi" is selected in "mech_list". Even if the latter is not done (ie. "gssapi" is not selected), the cyrus-sasl library tries to open the specified keytab file, although nothing has a use for it outside the gssapi backend. Since the default keytab file "/etc/qemu/krb5.tab" is usually absent, the cyrus-sasl library emits a warning to syslog at startup, which tends to annoy users (who didn't ask for gssapi in the first place). Comment out the keytab specification per default. "qemu-doc.texi" already correctly explains how to use "mech_list: gssapi" together with "keytab:". See also: - upstream libvirt commit fe772f24, - Red Hat Bugzilla <https://bugzilla.redhat.com/show_bug.cgi?id=1018434>. Signed-off-by: Laszlo Ersek <[email protected]> ACKed-By: Cole Robinson <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
dfb3804d478bce02350bdf87534dc7dd3d1ded51
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/dfb3804d478bce02350bdf87534dc7dd3d1ded51
2014-03-15 13:54:18+04:00
sun4m: Add Sun CG3 framebuffer initialisation function In order to allow the user to choose the framebuffer for sparc-softmmu, add -vga tcx and -vga cg3 options to the QEMU command line. If no option is specified, the default TCX framebuffer is used. Since proprietary FCode ROMs use a resolution of 1152x900, slightly relax the validation rules to allow both displays to be initiated at the higher resolution used by these ROMs upon request (OpenBIOS FCode ROMs default to the normal QEMU sun4m default resolution of 1024x768). Finally move any fprintf(stderr ...) statements in the areas affected by this patch over to the new error_report() function. Signed-off-by: Mark Cave-Ayland <[email protected]> CC: Blue Swirl <[email protected]> CC: Anthony Liguori <[email protected]> CC: Peter Maydell <[email protected]> CC: Bob Breuer <[email protected]> CC: Artyom Tarasenko <[email protected]>
af87bf290f31d8ef0aaf8f20259fa34e51ed1e7a
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/af87bf290f31d8ef0aaf8f20259fa34e51ed1e7a
2014-02-27 10:01:41+00:00
nbd: move socket wrappers to qemu-nbd qemu-nbd is one of the few valid users of qerror_report_err. Move the error-reporting socket wrappers there. Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Fam Zheng <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
537b41f5013e1951fa15e8f18855b18d76124ce4
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/537b41f5013e1951fa15e8f18855b18d76124ce4
2014-02-21 21:02:23+01:00
configure: Always build with -fno-common MacOSX doesn't pull .o files from .a archives if the symbol that it requires is one which the .o file defines as a common symbol. (Common symbols are those declared without "extern"; the linker will merge together common symbols with the same name, so redeclaring the same variable in two compilation units results in them referring to the same symbol rather than a compilation error). This MacOSX difference from traditional linker behaviour means that "make check" produces link errors: Undefined symbols for architecture x86_64: "_cur_mon", referenced from: _error_vprintf in libqemuutil.a(qemu-error.o) _error_printf in libqemuutil.a(qemu-error.o) _error_printf_unless_qmp in libqemuutil.a(qemu-error.o) _error_print_loc in libqemuutil.a(qemu-error.o) _error_report in libqemuutil.a(qemu-error.o) ld: symbol(s) not found for architecture x86_64 in this case because "cur_mon" is a common symbol in libqemustub.a(mon-set-error.o). In QEMU we don't make any use at all of the common symbol functionality, so we can avoid this problem entirely simply by compiling with -fno-common. Enable this option for all builds, not just MacOSX, so that if we ever inadvertently introduce multiple definitions of some variable that will be immediately spotted as a build error rather than only breaking the MacOSX build. Suggested-by: Markus Armbruster <[email protected]> Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-id: [email protected]
4c288acbd6b9eccb13076103e59a426af3d15030
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/4c288acbd6b9eccb13076103e59a426af3d15030
2014-03-06 21:26:44+00:00
target-arm: A64: Add SIMD ZIP/UZP/TRN Add support for the SIMD ZIP/UZIP/TRN instruction group (C3.6.3). Signed-off-by: Michael Matz <[email protected]> [PMM: use new do_vec_get/set etc functions and generally update to new codebase standards; refactor to pull per-element loop outside switch] Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
5fa5469c08f6e51eed26d6d54e0be8682723d3df
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/5fa5469c08f6e51eed26d6d54e0be8682723d3df
2014-01-31 14:47:31+00:00
target-i386: kvm_cpu_fill_host(): No need to check CPU vendor There's no need to check CPU vendor before calling kvm_arch_get_supported_cpuid(s, 0xC0000000, 0, R_EAX), because: * The kernel won't return any entry for 0xC0000000 if host CPU vendor is not Centaur (See kvm_dev_ioctl_get_cpuid() on the kernel code); * kvm_arch_get_supported_cpuid() will return 0 if no entry is returned by the kernel for the requested leaf. This will simplify the kvm_cpu_fill_host() code a little. Signed-off-by: Eduardo Habkost <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
b73dcfb16fc894041de553ac9f98b9e1640fcf06
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/b73dcfb16fc894041de553ac9f98b9e1640fcf06
2014-02-03 17:33:54+01:00
xenfb: map framebuffer read-only and handle unmap errors The framebuffer is needlessly mapped (PROT_READ | PROT_WRITE), map it PROT_READ instead. The framebuffer is unmapped by replacing the framebuffer pages with anonymous shared memory, calling mmap. Check for return errors and print a warning. Signed-off-by: Stefano Stabellini <[email protected]>
0193c62c94643a837832f2b5ccc133434ee740cb
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/0193c62c94643a837832f2b5ccc133434ee740cb
2014-01-17 15:28:18+00:00
memory: fix limiting of translation at a page boundary Commit 360e607 (address_space_translate: do not cross page boundaries, 2014-01-30) broke MMIO accesses in cases where the section is shorter than the full register width. This can happen for example with the Bochs DISPI registers, which are 16 bits wide but have only a 1-byte long MemoryRegion (if you write to the "second byte" of the register your access is discarded; it doesn't write only to half of the register). Restrict the action of commit 360e607 to direct RAM accesses. This is enough for Xen, since MMIO will not go through the mapcache. Reported-by: Mark Cave-Ayland <[email protected]> Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]> Tested-by: Mark Cave-Ayland <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
a87f39543a9259f671c5413723311180ee2ad2a8
qemu
devign
0
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/a87f39543a9259f671c5413723311180ee2ad2a8
2014-02-10 18:10:43+00:00