SHA256
1
0
forked from pool/xen
OBS User unknown
2008-03-14 23:07:14 +00:00
committed by Git OBS Bridge
parent 0ef5182655
commit 9c16971e0e
65 changed files with 3459 additions and 1613 deletions

View File

@@ -1,7 +1,7 @@
Index: xen-3.2-testing/tools/ioemu/hw/ide.c
Index: xen-3.2.1-testing/tools/ioemu/hw/ide.c
===================================================================
--- xen-3.2-testing.orig/tools/ioemu/hw/ide.c
+++ xen-3.2-testing/tools/ioemu/hw/ide.c
--- xen-3.2.1-testing.orig/tools/ioemu/hw/ide.c
+++ xen-3.2.1-testing/tools/ioemu/hw/ide.c
@@ -395,6 +395,9 @@ typedef struct PCIIDEState {
int type; /* see IDE_TYPE_xxx */
} PCIIDEState;
@@ -12,7 +12,7 @@ Index: xen-3.2-testing/tools/ioemu/hw/ide.c
#if defined(__ia64__)
#include <xen/hvm/ioreq.h>
@@ -2245,6 +2248,27 @@ static void ide_reset(IDEState *s)
@@ -2248,6 +2251,27 @@ static void ide_reset(IDEState *s)
ide_dummy_transfer_stop(s);
}
@@ -40,7 +40,7 @@ Index: xen-3.2-testing/tools/ioemu/hw/ide.c
struct partition {
uint8_t boot_ind; /* 0x80 - active */
uint8_t head; /* starting head */
@@ -2646,6 +2670,9 @@ void pci_cmd646_ide_init(PCIBus *bus, Bl
@@ -2649,6 +2673,9 @@ void pci_cmd646_ide_init(PCIBus *bus, Bl
sizeof(PCIIDEState),
-1,
NULL, NULL);
@@ -50,7 +50,7 @@ Index: xen-3.2-testing/tools/ioemu/hw/ide.c
d->type = IDE_TYPE_CMD646;
pci_conf = d->dev.config;
pci_conf[0x00] = 0x95; // CMD646
@@ -2820,6 +2847,9 @@ void pci_piix_ide_init(PCIBus *bus, Bloc
@@ -2823,6 +2850,9 @@ void pci_piix_ide_init(PCIBus *bus, Bloc
NULL, NULL);
d->type = IDE_TYPE_PIIX3;
@@ -60,7 +60,7 @@ Index: xen-3.2-testing/tools/ioemu/hw/ide.c
pci_conf = d->dev.config;
pci_conf[0x00] = 0x86; // Intel
pci_conf[0x01] = 0x80;
@@ -2866,6 +2896,9 @@ void pci_piix3_ide_init(PCIBus *bus, Blo
@@ -2869,6 +2899,9 @@ void pci_piix3_ide_init(PCIBus *bus, Blo
NULL, NULL);
d->type = IDE_TYPE_PIIX3;
@@ -70,10 +70,10 @@ Index: xen-3.2-testing/tools/ioemu/hw/ide.c
pci_conf = d->dev.config;
pci_conf[0x00] = 0x86; // Intel
pci_conf[0x01] = 0x80;
Index: xen-3.2-testing/tools/ioemu/hw/pci.c
Index: xen-3.2.1-testing/tools/ioemu/hw/pci.c
===================================================================
--- xen-3.2-testing.orig/tools/ioemu/hw/pci.c
+++ xen-3.2-testing/tools/ioemu/hw/pci.c
--- xen-3.2.1-testing.orig/tools/ioemu/hw/pci.c
+++ xen-3.2.1-testing/tools/ioemu/hw/pci.c
@@ -573,6 +573,28 @@ void pci_nic_init(PCIBus *bus, NICInfo *
}
}
@@ -103,10 +103,10 @@ Index: xen-3.2-testing/tools/ioemu/hw/pci.c
typedef struct {
PCIDevice dev;
PCIBus *bus;
Index: xen-3.2-testing/tools/ioemu/hw/xen_platform.c
Index: xen-3.2.1-testing/tools/ioemu/hw/xen_platform.c
===================================================================
--- xen-3.2-testing.orig/tools/ioemu/hw/xen_platform.c
+++ xen-3.2-testing/tools/ioemu/hw/xen_platform.c
--- xen-3.2.1-testing.orig/tools/ioemu/hw/xen_platform.c
+++ xen-3.2.1-testing/tools/ioemu/hw/xen_platform.c
@@ -23,15 +23,53 @@
* THE SOFTWARE.
*/
@@ -162,10 +162,10 @@ Index: xen-3.2-testing/tools/ioemu/hw/xen_platform.c
}
static uint32_t platform_mmio_read(void *opaque, target_phys_addr_t addr)
Index: xen-3.2-testing/tools/ioemu/vl.c
Index: xen-3.2.1-testing/tools/ioemu/vl.c
===================================================================
--- xen-3.2-testing.orig/tools/ioemu/vl.c
+++ xen-3.2-testing/tools/ioemu/vl.c
--- xen-3.2.1-testing.orig/tools/ioemu/vl.c
+++ xen-3.2.1-testing/tools/ioemu/vl.c
@@ -197,6 +197,20 @@ int xc_handle;
char domain_name[64] = "Xen-no-name";
extern int domid;
@@ -187,7 +187,7 @@ Index: xen-3.2-testing/tools/ioemu/vl.c
/***********************************************************/
/* x86 ISA bus support */
@@ -3404,6 +3418,7 @@ void net_slirp_smb(const char *exported_
@@ -3424,6 +3438,7 @@ void net_slirp_smb(const char *exported_
typedef struct TAPState {
VLANClientState *vc;
int fd;
@@ -195,7 +195,7 @@ Index: xen-3.2-testing/tools/ioemu/vl.c
} TAPState;
static void tap_receive(void *opaque, const uint8_t *buf, int size)
@@ -3431,6 +3446,36 @@ static void tap_send(void *opaque)
@@ -3451,6 +3466,36 @@ static void tap_send(void *opaque)
}
}
@@ -232,7 +232,7 @@ Index: xen-3.2-testing/tools/ioemu/vl.c
/* fd support */
static TAPState *net_tap_fd_init(VLANState *vlan, int fd)
@@ -3442,6 +3487,8 @@ static TAPState *net_tap_fd_init(VLANSta
@@ -3462,6 +3507,8 @@ static TAPState *net_tap_fd_init(VLANSta
return NULL;
s->fd = fd;
s->vc = qemu_new_vlan_client(vlan, tap_receive, NULL, s);
@@ -241,7 +241,7 @@ Index: xen-3.2-testing/tools/ioemu/vl.c
qemu_set_fd_handler(s->fd, tap_send, NULL, s);
snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);
return s;
@@ -4412,20 +4459,6 @@ void dumb_display_init(DisplayState *ds)
@@ -4432,20 +4479,6 @@ void dumb_display_init(DisplayState *ds)
#define MAX_IO_HANDLERS 64
@@ -262,11 +262,11 @@ Index: xen-3.2-testing/tools/ioemu/vl.c
/* XXX: fd_read_poll should be suppressed, but an API change is
necessary in the character devices to suppress fd_can_read(). */
int qemu_set_fd_handler2(int fd,
Index: xen-3.2-testing/tools/ioemu/vl.h
Index: xen-3.2.1-testing/tools/ioemu/vl.h
===================================================================
--- xen-3.2-testing.orig/tools/ioemu/vl.h
+++ xen-3.2-testing/tools/ioemu/vl.h
@@ -1497,6 +1497,8 @@ void kqemu_record_dump(void);
--- xen-3.2.1-testing.orig/tools/ioemu/vl.h
+++ xen-3.2.1-testing/tools/ioemu/vl.h
@@ -1499,6 +1499,8 @@ void kqemu_record_dump(void);
extern char domain_name[];
void destroy_hvm_domain(void);