mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Use #include "..." for our own headers, <...> for others
Tracked down with an ugly, brittle and probably buggy Perl script. Also move includes converted to <...> up so they get included before ours where that's obviously okay. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Tested-by: Eric Blake <eblake@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
|
||||
#ifdef __linux__
|
||||
#include <scsi/sg.h>
|
||||
#include <block/scsi.h>
|
||||
#endif
|
||||
|
||||
typedef struct IscsiLun {
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <gcrypt.h>
|
||||
#include "qapi/error.h"
|
||||
#include "crypto/hash.h"
|
||||
#include "gcrypt.h"
|
||||
|
||||
|
||||
static int qcrypto_hash_alg_map[QCRYPTO_HASH_ALG__MAX] = {
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <gcrypt.h>
|
||||
#include "qapi/error.h"
|
||||
#include "crypto/pbkdf.h"
|
||||
#include "gcrypt.h"
|
||||
|
||||
bool qcrypto_pbkdf2_supports(QCryptoHashAlgorithm hash)
|
||||
{
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <nettle/pbkdf2.h>
|
||||
#include "qapi/error.h"
|
||||
#include "crypto/pbkdf.h"
|
||||
#include "nettle/pbkdf2.h"
|
||||
|
||||
|
||||
bool qcrypto_pbkdf2_supports(QCryptoHashAlgorithm hash)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "qemu/config-file.h"
|
||||
#include "qemu/error-report.h"
|
||||
#if defined(CONFIG_USER_ONLY)
|
||||
#include <qemu.h>
|
||||
#include "qemu.h"
|
||||
#else /* !CONFIG_USER_ONLY */
|
||||
#include "hw/hw.h"
|
||||
#include "exec/memory.h"
|
||||
|
||||
+4
-4
@@ -21,10 +21,10 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/block/block.h>
|
||||
#include <hw/hw.h>
|
||||
#include <hw/pci/msix.h>
|
||||
#include <hw/pci/pci.h>
|
||||
#include "hw/block/block.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/msix.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/visitor.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/qdev.h>
|
||||
#include "hw/qdev.h"
|
||||
#include "qemu/thread.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifndef HW_VGA_INT_H
|
||||
#define HW_VGA_INT_H 1
|
||||
|
||||
#include <hw/hw.h>
|
||||
#include "hw/hw.h"
|
||||
#include "exec/memory.h"
|
||||
|
||||
#define ST01_V_RETRACE 0x08
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#ifdef CONFIG_VIRGL
|
||||
|
||||
#include "virglrenderer.h"
|
||||
#include <virglrenderer.h>
|
||||
|
||||
static struct virgl_renderer_callbacks virtio_gpu_3d_cbs;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ static struct virtio_gpu_simple_resource*
|
||||
virtio_gpu_find_resource(VirtIOGPU *g, uint32_t resource_id);
|
||||
|
||||
#ifdef CONFIG_VIRGL
|
||||
#include "virglrenderer.h"
|
||||
#include <virglrenderer.h>
|
||||
#define VIRGL(_g, _virgl, _simple, ...) \
|
||||
do { \
|
||||
if (_g->use_virgl_renderer) { \
|
||||
|
||||
+2
-1
@@ -22,14 +22,15 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <linux/kvm.h>
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/timer/i8254.h"
|
||||
#include "hw/timer/i8254_internal.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "linux/kvm.h"
|
||||
|
||||
#define KVM_PIT_REINJECT_BIT 0
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
* Copyright (C) 2008, Red Hat, Amit Shah (amit.shah@redhat.com)
|
||||
* Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <linux/kvm.h>
|
||||
#include "qapi/error.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i386/pc.h"
|
||||
@@ -32,7 +34,6 @@
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "linux/kvm.h"
|
||||
#include "kvm_i386.h"
|
||||
#include "hw/pci/pci-assign.h"
|
||||
|
||||
|
||||
+7
-7
@@ -22,17 +22,17 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/hw.h>
|
||||
#include <hw/pci/msi.h>
|
||||
#include <hw/i386/pc.h>
|
||||
#include <hw/pci/pci.h>
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
||||
#include "qemu/error-report.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include <hw/ide/internal.h>
|
||||
#include <hw/ide/pci.h>
|
||||
#include <hw/ide/ahci.h>
|
||||
#include "hw/ide/internal.h"
|
||||
#include "hw/ide/pci.h"
|
||||
#include "hw/ide/ahci.h"
|
||||
|
||||
#define DEBUG_AHCI 0
|
||||
|
||||
|
||||
+5
-5
@@ -23,15 +23,15 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/hw.h>
|
||||
#include <hw/i386/pc.h>
|
||||
#include <hw/pci/pci.h>
|
||||
#include <hw/isa/isa.h>
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include <hw/ide/pci.h>
|
||||
#include "hw/ide/pci.h"
|
||||
|
||||
/* CMD646 specific */
|
||||
#define CFR 0x50
|
||||
|
||||
+5
-5
@@ -23,10 +23,10 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/hw.h>
|
||||
#include <hw/i386/pc.h>
|
||||
#include <hw/pci/pci.h>
|
||||
#include <hw/isa/isa.h>
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "qemu/cutils.h"
|
||||
|
||||
#include <hw/ide/internal.h>
|
||||
#include "hw/ide/internal.h"
|
||||
|
||||
/* These values were based on a Seagate ST3500418AS but have been modified
|
||||
to make more sense in QEMU */
|
||||
|
||||
+7
-7
@@ -61,15 +61,15 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/hw.h>
|
||||
#include <hw/pci/msi.h>
|
||||
#include <hw/i386/pc.h>
|
||||
#include <hw/pci/pci.h>
|
||||
#include <hw/isa/isa.h>
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include <hw/ide/pci.h>
|
||||
#include <hw/ide/ahci.h>
|
||||
#include "hw/ide/pci.h"
|
||||
#include "hw/ide/ahci.h"
|
||||
|
||||
#define ICH9_MSI_CAP_OFFSET 0x80
|
||||
#define ICH9_SATA_CAP_OFFSET 0xA8
|
||||
|
||||
+4
-4
@@ -23,13 +23,13 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/hw.h>
|
||||
#include <hw/i386/pc.h>
|
||||
#include <hw/isa/isa.h>
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include <hw/ide/internal.h>
|
||||
#include "hw/ide/internal.h"
|
||||
|
||||
/***********************************************************/
|
||||
/* ISA IDE definitions */
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include <hw/ide/internal.h>
|
||||
#include "hw/ide/internal.h"
|
||||
|
||||
/* debug MACIO */
|
||||
// #define DEBUG_MACIO
|
||||
|
||||
+4
-4
@@ -23,13 +23,13 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include <hw/hw.h>
|
||||
#include <hw/i386/pc.h>
|
||||
#include <hw/pcmcia.h>
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/pcmcia.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include <hw/ide/internal.h>
|
||||
#include "hw/ide/internal.h"
|
||||
|
||||
#define TYPE_MICRODRIVE "microdrive"
|
||||
#define MICRODRIVE(obj) OBJECT_CHECK(MicroDriveState, (obj), TYPE_MICRODRIVE)
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include <hw/ide/internal.h>
|
||||
#include "hw/ide/internal.h"
|
||||
|
||||
/***********************************************************/
|
||||
/* MMIO based ide port
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user