qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/11] Use qemu-common.h or qemu-timer.h in place of


From: Blue Swirl
Subject: [Qemu-devel] [PATCH 03/11] Use qemu-common.h or qemu-timer.h in place of sysemu.h
Date: Fri, 8 Apr 2011 23:45:05 +0300

In some cases qemu-common.h or qemu-timer.h can be used in place
of sysemu.h.

Signed-off-by: Blue Swirl <address@hidden>
---
 hw/pcie.c    |    3 +--
 hw/usb-hid.c |    2 +-
 net/dump.c   |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/hw/pcie.c b/hw/pcie.c
index 6a113a9..9de6149 100644
--- a/hw/pcie.c
+++ b/hw/pcie.c
@@ -18,8 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */

-#include "sysemu.h"
-#include "range.h"
+#include "qemu-common.h"
 #include "pci_bridge.h"
 #include "pcie.h"
 #include "msix.h"
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index c25362c..89c293c 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -26,7 +26,7 @@
 #include "console.h"
 #include "usb.h"
 #include "usb-desc.h"
-#include "sysemu.h"
+#include "qemu-timer.h"

 /* HID interface requests */
 #define GET_REPORT   0xa101
diff --git a/net/dump.c b/net/dump.c
index 83eda0f..0d0cbb2 100644
--- a/net/dump.c
+++ b/net/dump.c
@@ -24,9 +24,9 @@

 #include "dump.h"
 #include "qemu-common.h"
-#include "sysemu.h"
 #include "qemu-error.h"
 #include "qemu-log.h"
+#include "qemu-timer.h"

 typedef struct DumpState {
     VLANClientState nc;
-- 
1.7.2.5

Attachment: 0003-Use-qemu-common.h-or-qemu-timer.h-in-place-of-sysemu.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]