mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2019-05-13' into staging
Miscellaneous patches for 2019-05-13 # gpg: Signature made Mon 13 May 2019 08:04:02 BST # gpg: using RSA key 3870B400EB918653 # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full] # gpg: aka "Markus Armbruster <armbru@pond.sub.org>" [full] # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * remotes/armbru/tags/pull-misc-2019-05-13: Clean up decorations and whitespace around header guards Normalize header guard symbol definition. Clean up ill-advised or unusual header guards Clean up header guards that don't match their file name target/xtensa: Clean up core-isa.h header guards linux-user/nios2 linux-user/riscv: Clean up header guards authz: Normalize #include "authz/trace.h" to "trace.h" Use #include "..." for our own headers, <...> for others Clean up includes Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "authz/base.h"
|
||||
#include "authz/trace.h"
|
||||
#include "trace.h"
|
||||
|
||||
bool qauthz_is_allowed(QAuthZ *authz,
|
||||
const char *identity,
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "authz/list.h"
|
||||
#include "authz/trace.h"
|
||||
#include "trace.h"
|
||||
#include "qom/object_interfaces.h"
|
||||
#include "qapi/qapi-visit-authz.h"
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "authz/listfile.h"
|
||||
#include "authz/trace.h"
|
||||
#include "trace.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/sockets.h"
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "authz/pamacct.h"
|
||||
#include "authz/trace.h"
|
||||
#include "trace.h"
|
||||
#include "qom/object_interfaces.h"
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "authz/simple.h"
|
||||
#include "authz/trace.h"
|
||||
#include "trace.h"
|
||||
#include "qom/object_interfaces.h"
|
||||
|
||||
static bool qauthz_simple_is_allowed(QAuthZ *authz,
|
||||
|
||||
+3
-3
@@ -18,8 +18,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef BLOCK_CRYPTO_H__
|
||||
#define BLOCK_CRYPTO_H__
|
||||
#ifndef BLOCK_CRYPTO_H
|
||||
#define BLOCK_CRYPTO_H
|
||||
|
||||
#define BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, helpstr) \
|
||||
{ \
|
||||
@@ -94,4 +94,4 @@ block_crypto_create_opts_init(QDict *opts, Error **errp);
|
||||
QCryptoBlockOpenOptions *
|
||||
block_crypto_open_opts_init(QDict *opts, Error **errp);
|
||||
|
||||
#endif /* BLOCK_CRYPTO_H__ */
|
||||
#endif /* BLOCK_CRYPTO_H */
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "err.h"
|
||||
#include "addrspace.h"
|
||||
#include "pe.h"
|
||||
|
||||
@@ -18,9 +18,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "pdb.h"
|
||||
#include "err.h"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ELF2DMP_ELF_H
|
||||
#define ELF2DMP_ELF_H
|
||||
#ifndef EMPF2DMP_QEMU_ELF_H
|
||||
#define EMPF2DMP_QEMU_ELF_H
|
||||
|
||||
#include "elf.h"
|
||||
|
||||
@@ -47,4 +47,4 @@ void QEMU_Elf_exit(QEMU_Elf *qe);
|
||||
Elf64_Phdr *elf64_getphdr(void *map);
|
||||
Elf64_Half elf_getphdrnum(void *map);
|
||||
|
||||
#endif /* ELF2DMP_ELF_H */
|
||||
#endif /* ELF2DMP_QEMU_ELF_H */
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "sys/poll.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "pthread.h"
|
||||
#include "syslog.h"
|
||||
#include <sys/poll.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <pthread.h>
|
||||
#include <syslog.h>
|
||||
|
||||
#include "infiniband/verbs.h"
|
||||
#include "infiniband/umad.h"
|
||||
#include "infiniband/umad_types.h"
|
||||
#include "infiniband/umad_sa.h"
|
||||
#include "infiniband/umad_cm.h"
|
||||
#include <infiniband/verbs.h>
|
||||
#include <infiniband/umad.h>
|
||||
#include <infiniband/umad_types.h>
|
||||
#include <infiniband/umad_sa.h>
|
||||
#include <infiniband/umad_cm.h>
|
||||
|
||||
#include "rdmacm-mux.h"
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
#define RDMACM_MUX_H
|
||||
|
||||
#include "linux/if.h"
|
||||
#include "infiniband/verbs.h"
|
||||
#include "infiniband/umad.h"
|
||||
#include "rdma/rdma_user_cm.h"
|
||||
#include <infiniband/verbs.h>
|
||||
#include <infiniband/umad.h>
|
||||
#include <rdma/rdma_user_cm.h>
|
||||
|
||||
typedef enum RdmaCmMuxMsgType {
|
||||
RDMACM_MUX_MSG_TYPE_REQ = 0,
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef NANOMIPS_DISASSEMBLER_H
|
||||
#define NANOMIPS_DISASSEMBLER_H
|
||||
#ifndef DISAS_NANOMIPS_H
|
||||
#define DISAS_NANOMIPS_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _FSDEV_THROTTLE_H
|
||||
#define _FSDEV_THROTTLE_H
|
||||
#ifndef QEMU_FSDEV_THROTTLE_H
|
||||
#define QEMU_FSDEV_THROTTLE_H
|
||||
|
||||
#include "block/aio.h"
|
||||
#include "qemu/main-loop.h"
|
||||
@@ -35,4 +35,5 @@ void coroutine_fn fsdev_co_throttle_request(FsThrottle *, bool ,
|
||||
struct iovec *, int);
|
||||
|
||||
void fsdev_throttle_cleanup(FsThrottle *);
|
||||
#endif /* _FSDEV_THROTTLE_H */
|
||||
|
||||
#endif /* QEMU_FSDEV_THROTTLE_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_ARM_SMMU_V3_INTERNAL_H
|
||||
#define HW_ARM_SMMU_V3_INTERNAL_H
|
||||
#ifndef HW_ARM_SMMUV3_INTERNAL_H
|
||||
#define HW_ARM_SMMUV3_INTERNAL_H
|
||||
|
||||
#include "hw/arm/smmu-common.h"
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* No 3D at all yet (maybe after 2D works, but feel free to improve it)
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "ati_int.h"
|
||||
#include "ati_regs.h"
|
||||
#include "vga_regs.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* This work is licensed under the GNU GPL license version 2 or later.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "ati_int.h"
|
||||
#include "ati_regs.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "ati_int.h"
|
||||
|
||||
#ifdef DEBUG_ATI
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef ATI_INT_H
|
||||
#define ATI_INT_H
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "vga_int.h"
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LINUX_VIDEO_VGA_H
|
||||
#define LINUX_VIDEO_VGA_H
|
||||
#ifndef HW_VGA_REGS_H
|
||||
#define HW_VGA_REGS_H
|
||||
|
||||
/* Some of the code below is taken from SVGAlib. The original,
|
||||
unmodified copyright notice for that code is below. */
|
||||
@@ -156,4 +156,4 @@
|
||||
/* VGA graphics controller bit masks */
|
||||
#define VGA_GR06_GRAPHICS_MODE 0x01
|
||||
|
||||
#endif /* LINUX_VIDEO_VGA_H */
|
||||
#endif /* HW_VGA_REGS_H */
|
||||
|
||||
+2
-2
@@ -18,8 +18,8 @@
|
||||
* with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef AMD_IOMMU_H_
|
||||
#define AMD_IOMMU_H_
|
||||
#ifndef AMD_IOMMU_H
|
||||
#define AMD_IOMMU_H
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user