mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2016-05-18' into staging
trivial patches for 2016-05-18 # gpg: Signature made Wed 18 May 2016 13:04:43 BST using RSA key ID A4C3D7DB # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>" # gpg: aka "Michael Tokarev <mjt@corpit.ru>" # gpg: aka "Michael Tokarev <mjt@debian.org>" * remotes/mjt/tags/pull-trivial-patches-2016-05-18: Fix some typos found by codespell 9p: drop unused declaration from coth.h smbios: fix typo accel: make configure_accelerator return void configure: Use uniform description for devel packages ipack: Update e-mail address util: fix comment typos qdict: fix unbounded stack warning for qdict_array_entries Fix typo in variable name (found and fixed by codespell) vl: fix comment about when parsing cpu definitions loader: fix potential memory leak remove comment for nonexistent structure member s390: remove misleading comment Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -77,7 +77,7 @@ static int accel_init_machine(AccelClass *acc, MachineState *ms)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int configure_accelerator(MachineState *ms)
|
||||
void configure_accelerator(MachineState *ms)
|
||||
{
|
||||
const char *p;
|
||||
char buf[10];
|
||||
@@ -128,8 +128,6 @@ int configure_accelerator(MachineState *ms)
|
||||
if (init_failed) {
|
||||
fprintf(stderr, "Back to %s accelerator.\n", acc->name);
|
||||
}
|
||||
|
||||
return !accel_initialised;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -270,7 +270,7 @@ f_sample *mixeng_clip[2][2][2][3] = {
|
||||
* August 21, 1998
|
||||
* Copyright 1998 Fabrice Bellard.
|
||||
*
|
||||
* [Rewrote completly the code of Lance Norskog And Sundry
|
||||
* [Rewrote completely the code of Lance Norskog And Sundry
|
||||
* Contributors with a more efficient algorithm.]
|
||||
*
|
||||
* This source code is freely redistributable and may be used for
|
||||
|
||||
+1
-1
@@ -898,7 +898,7 @@ static struct audio_option oss_options[] = {
|
||||
.name = "EXCLUSIVE",
|
||||
.tag = AUD_OPT_BOOL,
|
||||
.valp = &glob_conf.exclusive,
|
||||
.descr = "Open device in exclusive mode (vmix wont work)"
|
||||
.descr = "Open device in exclusive mode (vmix won't work)"
|
||||
},
|
||||
#ifdef USE_DSP_POLICY
|
||||
{
|
||||
|
||||
@@ -4611,7 +4611,7 @@ if test "$softmmu" = yes ; then
|
||||
tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)"
|
||||
else
|
||||
if test "$virtfs" = yes; then
|
||||
error_exit "VirtFS is supported only on Linux and requires libcap-devel and libattr-devel"
|
||||
error_exit "VirtFS is supported only on Linux and requires libcap devel and libattr devel"
|
||||
fi
|
||||
virtfs=no
|
||||
fi
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* unix socket. For each client, the server will create some eventfd
|
||||
* (see EVENTFD(2)), one per vector. These fd are transmitted to all
|
||||
* clients using the SCM_RIGHTS cmsg message. Therefore, each client is
|
||||
* able to send a notification to another client without beeing
|
||||
* able to send a notification to another client without being
|
||||
* "profixied" by the server.
|
||||
*
|
||||
* We use this mechanism to send interruptions between guests.
|
||||
|
||||
@@ -303,7 +303,7 @@ Endianness
|
||||
----------
|
||||
|
||||
Device registers are hard-coded to little-endian (LE). The driver should
|
||||
convert to/from host endianess to LE for device register accesses.
|
||||
convert to/from host endianness to LE for device register accesses.
|
||||
|
||||
Descriptors are LE. Descriptor buffer TLVs will have LE type and length
|
||||
fields, but the value field can either be LE or network-byte-order, depending
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ Introduction
|
||||
------------
|
||||
QEMU includes a throttling module that can be used to set limits to
|
||||
I/O operations. The code itself is generic and independent of the I/O
|
||||
units, but it is currenly used to limit the number of bytes per second
|
||||
units, but it is currently used to limit the number of bytes per second
|
||||
and operations per second (IOPS) when performing disk I/O.
|
||||
|
||||
This document explains how to use the throttling code in QEMU, and how
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
} while (0)
|
||||
|
||||
extern void co_run_in_worker_bh(void *);
|
||||
extern int v9fs_init_worker_threads(void);
|
||||
extern int v9fs_co_readlink(V9fsPDU *, V9fsPath *, V9fsString *);
|
||||
extern int v9fs_co_readdir_r(V9fsPDU *, V9fsFidState *,
|
||||
struct dirent *, struct dirent **result);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* QEMU GE IP-Octal 232 IndustryPack emulation
|
||||
*
|
||||
* Copyright (C) 2012 Igalia, S.L.
|
||||
* Author: Alberto Garcia <agarcia@igalia.com>
|
||||
* Author: Alberto Garcia <berto@igalia.com>
|
||||
*
|
||||
* This code is licensed under the GNU GPL v2 or (at your option) any
|
||||
* later version.
|
||||
|
||||
@@ -914,10 +914,16 @@ int rom_add_file(const char *file, const char *fw_dir,
|
||||
err:
|
||||
if (fd != -1)
|
||||
close(fd);
|
||||
|
||||
g_free(rom->data);
|
||||
g_free(rom->path);
|
||||
g_free(rom->name);
|
||||
if (fw_dir) {
|
||||
g_free(rom->fw_dir);
|
||||
g_free(rom->fw_file);
|
||||
}
|
||||
g_free(rom);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -247,7 +247,7 @@ static void imx_i2c_write(void *opaque, hwaddr offset,
|
||||
if (s->address == ADDR_RESET) {
|
||||
if (i2c_start_transfer(s->bus, extract32(s->i2dr_write, 1, 7),
|
||||
extract32(s->i2dr_write, 0, 1))) {
|
||||
/* if non zero is returned, the adress is not valid */
|
||||
/* if non zero is returned, the address is not valid */
|
||||
s->i2sr |= I2SR_RXAK;
|
||||
} else {
|
||||
s->address = s->i2dr_write;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* QEMU IndustryPack emulation
|
||||
*
|
||||
* Copyright (C) 2012 Igalia, S.L.
|
||||
* Author: Alberto Garcia <agarcia@igalia.com>
|
||||
* Author: Alberto Garcia <berto@igalia.com>
|
||||
*
|
||||
* This code is licensed under the GNU GPL v2 or (at your option) any
|
||||
* later version.
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* QEMU TEWS TPCI200 IndustryPack carrier emulation
|
||||
*
|
||||
* Copyright (C) 2012 Igalia, S.L.
|
||||
* Author: Alberto Garcia <agarcia@igalia.com>
|
||||
* Author: Alberto Garcia <berto@igalia.com>
|
||||
*
|
||||
* This code is licensed under the GNU GPL v2 or (at your option) any
|
||||
* later version.
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@
|
||||
#define VMXNET3_MSIX_BAR_SIZE 0x2000
|
||||
#define MIN_BUF_SIZE 60
|
||||
|
||||
/* Compatability flags for migration */
|
||||
/* Compatibility flags for migration */
|
||||
#define VMXNET3_COMPAT_FLAG_OLD_MSI_OFFSETS_BIT 0
|
||||
#define VMXNET3_COMPAT_FLAG_OLD_MSI_OFFSETS \
|
||||
(1 << VMXNET3_COMPAT_FLAG_OLD_MSI_OFFSETS_BIT)
|
||||
@@ -341,7 +341,7 @@ typedef struct {
|
||||
uint32_t mcast_list_len;
|
||||
uint32_t mcast_list_buff_size; /* needed for live migration. */
|
||||
|
||||
/* Compatability flags for migration */
|
||||
/* Compatibility flags for migration */
|
||||
uint32_t compat_flags;
|
||||
} VMXNET3State;
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
*
|
||||
* Setting this flag to false will remove MSI/MSI-X capability from all devices.
|
||||
*
|
||||
* It is preferrable for controllers to set this to true (non-broken) even if
|
||||
* It is preferable for controllers to set this to true (non-broken) even if
|
||||
* they do not actually support MSI/MSI-X: guests normally probe the controller
|
||||
* type and do not attempt to enable MSI/MSI-X with interrupt controllers not
|
||||
* supporting such, so removing the capability is not required, and
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ pcibus_t pci_bridge_get_base(const PCIDevice *bridge, uint8_t type)
|
||||
return base;
|
||||
}
|
||||
|
||||
/* accessor funciton to get bridge filtering limit */
|
||||
/* accessor function to get bridge filtering limit */
|
||||
pcibus_t pci_bridge_get_limit(const PCIDevice *bridge, uint8_t type)
|
||||
{
|
||||
pcibus_t limit;
|
||||
|
||||
+1
-1
@@ -129,7 +129,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)
|
||||
/* Adjust ELF start address to final location */
|
||||
ipl->bios_start_addr += fwbase;
|
||||
} else {
|
||||
/* Try to load non-ELF file (e.g. s390-ccw.img) */
|
||||
/* Try to load non-ELF file */
|
||||
bios_size = load_image_targphys(bios_filename, ZIPL_IMAGE_START,
|
||||
4096);
|
||||
ipl->bios_start_addr = ZIPL_IMAGE_START;
|
||||
|
||||
@@ -698,7 +698,7 @@ static void vscsi_inquiry_no_target(VSCSIState *s, vscsi_req *req)
|
||||
uint8_t resp_data[36];
|
||||
int rc, len, alen;
|
||||
|
||||
/* We dont do EVPD. Also check that page_code is 0 */
|
||||
/* We don't do EVPD. Also check that page_code is 0 */
|
||||
if ((cdb[1] & 0x01) || cdb[2] != 0) {
|
||||
/* Send INVALID FIELD IN CDB */
|
||||
vscsi_makeup_sense(s, req, ILLEGAL_REQUEST, 0x24, 0);
|
||||
|
||||
@@ -63,7 +63,7 @@ typedef struct PVSCSIClass {
|
||||
#define PVSCSI_DEVICE_GET_CLASS(obj) \
|
||||
OBJECT_GET_CLASS(PVSCSIClass, (obj), TYPE_PVSCSI)
|
||||
|
||||
/* Compatability flags for migration */
|
||||
/* Compatibility flags for migration */
|
||||
#define PVSCSI_COMPAT_OLD_PCI_CONFIGURATION_BIT 0
|
||||
#define PVSCSI_COMPAT_OLD_PCI_CONFIGURATION \
|
||||
(1 << PVSCSI_COMPAT_OLD_PCI_CONFIGURATION_BIT)
|
||||
|
||||
+1
-1
@@ -184,7 +184,7 @@ static void a9_gtimer_write(void *opaque, hwaddr addr, uint64_t value,
|
||||
case R_COUNTER_LO:
|
||||
/*
|
||||
* Keep it simple - ARM docco explicitly says to disable timer before
|
||||
* modding it, so dont bother trying to do all the difficult on the fly
|
||||
* modding it, so don't bother trying to do all the difficult on the fly
|
||||
* timer modifications - (if they even work in real hardware??).
|
||||
*/
|
||||
if (s->control & R_CONTROL_TIMER_ENABLE) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user