mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
hw: include hw header files with full paths
Done with this script: cd hw for i in `find . -name '*.h' | sed 's/^..//'`; do echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,' done | sed -i -f - `find . -type f` This is so that paths remain valid as files are moved. Instead, files in hw/dataplane are referenced with the relative path. We know they are not going to move to include/, and they are the only include files that are in subdirectories _and_ move. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7948b4b009
commit
83c9f4ca79
487 changed files with 1604 additions and 1604 deletions
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/epoll.h>
|
||||
#include "hw/dataplane/event-poll.h"
|
||||
#include "event-poll.h"
|
||||
|
||||
/* Add an event notifier and its callback for polling */
|
||||
void event_poll_add(EventPoll *poll, EventHandler *handler,
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "hw/dataplane/ioq.h"
|
||||
#include "ioq.h"
|
||||
|
||||
void ioq_init(IOQueue *ioq, int fd, unsigned int max_reqs)
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "migration/migration.h"
|
||||
#include "block/block.h"
|
||||
#include "hw/virtio-blk.h"
|
||||
#include "hw/dataplane/virtio-blk.h"
|
||||
#include "virtio-blk.h"
|
||||
|
||||
enum {
|
||||
SEG_MAX = 126, /* maximum number of I/O segments */
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
#include "trace.h"
|
||||
#include "hw/dataplane/vring.h"
|
||||
#include "vring.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
/* Map the guest's vring to host memory */
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <linux/virtio_ring.h>
|
||||
#include "qemu-common.h"
|
||||
#include "hw/dataplane/hostmem.h"
|
||||
#include "hostmem.h"
|
||||
#include "hw/virtio.h"
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue