From ec609656fc12573c35e2bca58d9b1451fb7e4cf2 Mon Sep 17 00:00:00 2001 From: Cao jin Date: Thu, 18 Feb 2016 16:18:56 +0800 Subject: remove comment for nonexistent structure member Signed-off-by: Cao jin Signed-off-by: Michael Tokarev --- include/sysemu/hostmem.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/sysemu/hostmem.h b/include/sysemu/hostmem.h index a19801d..4d6617e 100644 --- a/include/sysemu/hostmem.h +++ b/include/sysemu/hostmem.h @@ -44,7 +44,6 @@ struct HostMemoryBackendClass { * * @parent: opaque parent object container * @size: amount of memory backend provides - * @id: unique identification string in memdev namespace * @mr: MemoryRegion representing host memory belonging to backend */ struct HostMemoryBackend { -- cgit v1.1 From b996aed510219f4178a9169e41da3253b1789a45 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Tue, 23 Feb 2016 10:44:25 +0200 Subject: ipack: Update e-mail address I'm not really using the old one anymore. Signed-off-by: Alberto Garcia Signed-off-by: Michael Tokarev --- include/hw/ipack/ipack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/hw/ipack/ipack.h b/include/hw/ipack/ipack.h index e95ffe8..e33e032 100644 --- a/include/hw/ipack/ipack.h +++ b/include/hw/ipack/ipack.h @@ -2,7 +2,7 @@ * QEMU IndustryPack emulation * * Copyright (C) 2012 Igalia, S.L. - * Author: Alberto Garcia + * Author: Alberto Garcia * * This code is licensed under the GNU GPL v2 or (at your option) any * later version. -- cgit v1.1 From bdc3f61dec2f9c227235bb5f677a0272e1184c82 Mon Sep 17 00:00:00 2001 From: Wei Jiangang Date: Thu, 14 Apr 2016 11:58:02 +0800 Subject: accel: make configure_accelerator return void Return the negated value of accel_initialised is meaningless, and the caller vl doesn't check it. Signed-off-by: Wei Jiangang Signed-off-by: Michael Tokarev --- include/sysemu/accel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sysemu/accel.h b/include/sysemu/accel.h index a74b2fa..15944c1 100644 --- a/include/sysemu/accel.h +++ b/include/sysemu/accel.h @@ -56,6 +56,6 @@ typedef struct AccelClass { extern int tcg_tb_size; -int configure_accelerator(MachineState *ms); +void configure_accelerator(MachineState *ms); #endif -- cgit v1.1 From cc2324d03dbd098b80cfc482d9d29114db57d975 Mon Sep 17 00:00:00 2001 From: Cao jin Date: Tue, 29 Mar 2016 17:48:44 +0800 Subject: smbios: fix typo The spec says: "on paragraph (16-byte) boundaries" Signed-off-by: Cao jin Signed-off-by: Michael Tokarev --- include/hw/smbios/smbios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/hw/smbios/smbios.h b/include/hw/smbios/smbios.h index 76ccf70..ba36746 100644 --- a/include/hw/smbios/smbios.h +++ b/include/hw/smbios/smbios.h @@ -33,7 +33,7 @@ typedef enum SmbiosEntryPointType { /* SMBIOS Entry Point * There are two types of entry points defined in the SMBIOS specification - * (see below). BIOS must place the entry point(s) at a 16-bit-aligned + * (see below). BIOS must place the entry point(s) at a 16-byte-aligned * address between 0xf0000 and 0xfffff. Note that either entry point type * can be used in a 64-bit target system, except that SMBIOS 2.1 entry point * only allows the SMBIOS struct table to reside below 4GB address space. -- cgit v1.1 From cb8d4c8f54b8271f642f02382eec29d468bb1c77 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 23 Mar 2016 15:59:57 +0100 Subject: Fix some typos found by codespell Signed-off-by: Stefan Weil Reviewed-by: Peter Maydell Signed-off-by: Michael Tokarev --- include/crypto/random.h | 2 +- include/hw/xen/xen_common.h | 2 +- include/io/task.h | 2 +- include/qemu/osdep.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/crypto/random.h b/include/crypto/random.h index b3021c4..f9308f4 100644 --- a/include/crypto/random.h +++ b/include/crypto/random.h @@ -34,7 +34,7 @@ * Fill @buf with @buflen bytes of cryptographically strong * random data * - * Returns 0 on sucess, -1 on error + * Returns 0 on success, -1 on error */ int qcrypto_random_bytes(uint8_t *buf, size_t buflen, diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h index bd65e67..7b52e8f 100644 --- a/include/hw/xen/xen_common.h +++ b/include/hw/xen/xen_common.h @@ -26,7 +26,7 @@ * We don't support Xen prior to 4.2.0. */ -/* Xen 4.2 thru 4.6 */ +/* Xen 4.2 through 4.6 */ #if CONFIG_XEN_CTRL_INTERFACE_VERSION < 471 typedef xc_interface xenforeignmemory_handle; diff --git a/include/io/task.h b/include/io/task.h index 2e69d8a..a993212 100644 --- a/include/io/task.h +++ b/include/io/task.h @@ -219,7 +219,7 @@ void qio_task_run_in_thread(QIOTask *task, * qio_task_complete: * @task: the task struct * - * Mark the operation as succesfully completed + * Mark the operation as successfully completed * and free the memory for @task. */ void qio_task_complete(QIOTask *task); diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 1e3221c..2e930a9 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -313,7 +313,7 @@ static inline void qemu_timersub(const struct timeval *val1, void qemu_set_cloexec(int fd); /* QEMU "hardware version" setting. Used to replace code that exposed - * QEMU_VERSION to guests in the past and need to keep compatibilty. + * QEMU_VERSION to guests in the past and need to keep compatibility. * Do not use qemu_hw_version() in new code. */ void qemu_set_hw_version(const char *); -- cgit v1.1