Skip to content

Commit

Permalink
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
Browse files Browse the repository at this point in the history
pc,pci,virtio fixes and cleanups

This includes pc and pci cleanups and enhancements,
and a virtio bugfix for level interrupts.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

# gpg: Signature made Sun 01 Sep 2013 03:15:36 AM CDT using RSA key ID D28D5469
# gpg: Can't check signature: public key not found

# By Michael S. Tsirkin (3) and others
# Via Michael S. Tsirkin
* mst/tags/for_anthony:
  virtio_pci: fix level interrupts with irqfd
  pc: reduce duplication, fix PIIX descriptions
  hw: Clean up bogus default boot order
  pci: add config space access traces
  pc: fix regression for 64 bit PCI memory
  pci: Introduce helper to retrieve a PCI device's DMA address space

Message-id: 1378023590-11109-1-git-send-email-mst@redhat.com
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
  • Loading branch information
aliguori committed Sep 3, 2013
2 parents 5cff81f + 23fe2b3 commit 9889e04
Show file tree
Hide file tree
Showing 67 changed files with 144 additions and 180 deletions.
1 change: 0 additions & 1 deletion hw/alpha/dp264.c
Expand Up @@ -173,7 +173,6 @@ static QEMUMachine clipper_machine = {
.init = clipper_init,
.max_cpus = 4,
.is_default = 1,
DEFAULT_MACHINE_OPTIONS,
};

static void clipper_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/collie.c
Expand Up @@ -62,7 +62,6 @@ static QEMUMachine collie_machine = {
.name = "collie",
.desc = "Collie PDA (SA-1110)",
.init = collie_init,
DEFAULT_MACHINE_OPTIONS,
};

static void collie_machine_init(void)
Expand Down
2 changes: 0 additions & 2 deletions hw/arm/exynos4_boards.c
Expand Up @@ -150,14 +150,12 @@ static QEMUMachine exynos4_machines[EXYNOS4_NUM_OF_BOARDS] = {
.desc = "Samsung NURI board (Exynos4210)",
.init = nuri_init,
.max_cpus = EXYNOS4210_NCPUS,
DEFAULT_MACHINE_OPTIONS,
},
[EXYNOS4_BOARD_SMDKC210] = {
.name = "smdkc210",
.desc = "Samsung SMDKC210 board (Exynos4210)",
.init = smdkc210_init,
.max_cpus = EXYNOS4210_NCPUS,
DEFAULT_MACHINE_OPTIONS,
},
};

Expand Down
2 changes: 0 additions & 2 deletions hw/arm/gumstix.c
Expand Up @@ -122,14 +122,12 @@ static QEMUMachine connex_machine = {
.name = "connex",
.desc = "Gumstix Connex (PXA255)",
.init = connex_init,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine verdex_machine = {
.name = "verdex",
.desc = "Gumstix Verdex (PXA270)",
.init = verdex_init,
DEFAULT_MACHINE_OPTIONS,
};

static void gumstix_machine_init(void)
Expand Down
2 changes: 0 additions & 2 deletions hw/arm/highbank.c
Expand Up @@ -363,7 +363,6 @@ static QEMUMachine highbank_machine = {
.init = highbank_init,
.block_default_type = IF_SCSI,
.max_cpus = 4,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine midway_machine = {
Expand All @@ -372,7 +371,6 @@ static QEMUMachine midway_machine = {
.init = midway_init,
.block_default_type = IF_SCSI,
.max_cpus = 4,
DEFAULT_MACHINE_OPTIONS,
};

static void calxeda_machines_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/integratorcp.c
Expand Up @@ -526,7 +526,6 @@ static QEMUMachine integratorcp_machine = {
.desc = "ARM Integrator/CP (ARM926EJ-S)",
.init = integratorcp_init,
.is_default = 1,
DEFAULT_MACHINE_OPTIONS,
};

static void integratorcp_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/kzm.c
Expand Up @@ -144,7 +144,6 @@ static QEMUMachine kzm_machine = {
.name = "kzm",
.desc = "ARM KZM Emulation Baseboard (ARM1136)",
.init = kzm_init,
DEFAULT_MACHINE_OPTIONS,
};

static void kzm_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/mainstone.c
Expand Up @@ -179,7 +179,6 @@ static QEMUMachine mainstone2_machine = {
.name = "mainstone",
.desc = "Mainstone II (PXA27x)",
.init = mainstone_init,
DEFAULT_MACHINE_OPTIONS,
};

static void mainstone_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/musicpal.c
Expand Up @@ -1729,7 +1729,6 @@ static QEMUMachine musicpal_machine = {
.name = "musicpal",
.desc = "Marvell 88w8618 / MusicPal (ARM926EJ-S)",
.init = musicpal_init,
DEFAULT_MACHINE_OPTIONS,
};

static void musicpal_machine_init(void)
Expand Down
6 changes: 3 additions & 3 deletions hw/arm/nseries.c
Expand Up @@ -1340,7 +1340,7 @@ static void n8x0_init(QEMUMachineInitArgs *args,
}

if (option_rom[0].name &&
(args->boot_device[0] == 'n' || !args->kernel_filename)) {
(args->boot_order[0] == 'n' || !args->kernel_filename)) {
uint8_t nolo_tags[0x10000];
/* No, wait, better start at the ROM. */
s->mpu->cpu->env.regs[15] = OMAP2_Q2_BASE + 0x400000;
Expand Down Expand Up @@ -1396,14 +1396,14 @@ static QEMUMachine n800_machine = {
.name = "n800",
.desc = "Nokia N800 tablet aka. RX-34 (OMAP2420)",
.init = n800_init,
DEFAULT_MACHINE_OPTIONS,
.default_boot_order = "",
};

static QEMUMachine n810_machine = {
.name = "n810",
.desc = "Nokia N810 tablet aka. RX-44 (OMAP2420)",
.init = n810_init,
DEFAULT_MACHINE_OPTIONS,
.default_boot_order = "",
};

static void nseries_machine_init(void)
Expand Down
2 changes: 0 additions & 2 deletions hw/arm/omap_sx1.c
Expand Up @@ -219,14 +219,12 @@ static QEMUMachine sx1_machine_v2 = {
.name = "sx1",
.desc = "Siemens SX1 (OMAP310) V2",
.init = sx1_init_v2,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine sx1_machine_v1 = {
.name = "sx1-v1",
.desc = "Siemens SX1 (OMAP310) V1",
.init = sx1_init_v1,
DEFAULT_MACHINE_OPTIONS,
};

static void sx1_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/palm.c
Expand Up @@ -273,7 +273,6 @@ static QEMUMachine palmte_machine = {
.name = "cheetah",
.desc = "Palm Tungsten|E aka. Cheetah PDA (OMAP310)",
.init = palmte_init,
DEFAULT_MACHINE_OPTIONS,
};

static void palmte_machine_init(void)
Expand Down
4 changes: 0 additions & 4 deletions hw/arm/realview.c
Expand Up @@ -369,7 +369,6 @@ static QEMUMachine realview_eb_machine = {
.desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)",
.init = realview_eb_init,
.block_default_type = IF_SCSI,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine realview_eb_mpcore_machine = {
Expand All @@ -378,14 +377,12 @@ static QEMUMachine realview_eb_mpcore_machine = {
.init = realview_eb_mpcore_init,
.block_default_type = IF_SCSI,
.max_cpus = 4,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine realview_pb_a8_machine = {
.name = "realview-pb-a8",
.desc = "ARM RealView Platform Baseboard for Cortex-A8",
.init = realview_pb_a8_init,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine realview_pbx_a9_machine = {
Expand All @@ -394,7 +391,6 @@ static QEMUMachine realview_pbx_a9_machine = {
.init = realview_pbx_a9_init,
.block_default_type = IF_SCSI,
.max_cpus = 4,
DEFAULT_MACHINE_OPTIONS,
};

static void realview_machine_init(void)
Expand Down
4 changes: 0 additions & 4 deletions hw/arm/spitz.c
Expand Up @@ -966,28 +966,24 @@ static QEMUMachine akitapda_machine = {
.name = "akita",
.desc = "Akita PDA (PXA270)",
.init = akita_init,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine spitzpda_machine = {
.name = "spitz",
.desc = "Spitz PDA (PXA270)",
.init = spitz_init,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine borzoipda_machine = {
.name = "borzoi",
.desc = "Borzoi PDA (PXA270)",
.init = borzoi_init,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine terrierpda_machine = {
.name = "terrier",
.desc = "Terrier PDA (PXA270)",
.init = terrier_init,
DEFAULT_MACHINE_OPTIONS,
};

static void spitz_machine_init(void)
Expand Down
2 changes: 0 additions & 2 deletions hw/arm/stellaris.c
Expand Up @@ -1348,14 +1348,12 @@ static QEMUMachine lm3s811evb_machine = {
.name = "lm3s811evb",
.desc = "Stellaris LM3S811EVB",
.init = lm3s811evb_init,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine lm3s6965evb_machine = {
.name = "lm3s6965evb",
.desc = "Stellaris LM3S6965EVB",
.init = lm3s6965evb_init,
DEFAULT_MACHINE_OPTIONS,
};

static void stellaris_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/tosa.c
Expand Up @@ -251,7 +251,6 @@ static QEMUMachine tosapda_machine = {
.name = "tosa",
.desc = "Tosa PDA (PXA255)",
.init = tosa_init,
DEFAULT_MACHINE_OPTIONS,
};

static void tosapda_machine_init(void)
Expand Down
2 changes: 0 additions & 2 deletions hw/arm/versatilepb.c
Expand Up @@ -367,15 +367,13 @@ static QEMUMachine versatilepb_machine = {
.desc = "ARM Versatile/PB (ARM926EJ-S)",
.init = vpb_init,
.block_default_type = IF_SCSI,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine versatileab_machine = {
.name = "versatileab",
.desc = "ARM Versatile/AB (ARM926EJ-S)",
.init = vab_init,
.block_default_type = IF_SCSI,
DEFAULT_MACHINE_OPTIONS,
};

static void versatile_machine_init(void)
Expand Down
2 changes: 0 additions & 2 deletions hw/arm/vexpress.c
Expand Up @@ -647,7 +647,6 @@ static QEMUMachine vexpress_a9_machine = {
.init = vexpress_a9_init,
.block_default_type = IF_SCSI,
.max_cpus = 4,
DEFAULT_MACHINE_OPTIONS,
};

static QEMUMachine vexpress_a15_machine = {
Expand All @@ -656,7 +655,6 @@ static QEMUMachine vexpress_a15_machine = {
.init = vexpress_a15_init,
.block_default_type = IF_SCSI,
.max_cpus = 4,
DEFAULT_MACHINE_OPTIONS,
};

static void vexpress_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/xilinx_zynq.c
Expand Up @@ -233,7 +233,6 @@ static QEMUMachine zynq_machine = {
.block_default_type = IF_SCSI,
.max_cpus = 1,
.no_sdcard = 1,
DEFAULT_MACHINE_OPTIONS,
};

static void zynq_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/arm/z2.c
Expand Up @@ -373,7 +373,6 @@ static QEMUMachine z2_machine = {
.name = "z2",
.desc = "Zipit Z2 (PXA27x)",
.init = z2_init,
DEFAULT_MACHINE_OPTIONS,
};

static void z2_machine_init(void)
Expand Down
1 change: 0 additions & 1 deletion hw/core/null-machine.c
Expand Up @@ -24,7 +24,6 @@ static QEMUMachine machine_none = {
.desc = "empty machine",
.init = machine_none_init,
.max_cpus = 0,
DEFAULT_MACHINE_OPTIONS,
};

static void register_machines(void)
Expand Down
1 change: 0 additions & 1 deletion hw/cris/axis_dev88.c
Expand Up @@ -355,7 +355,6 @@ static QEMUMachine axisdev88_machine = {
.desc = "AXIS devboard 88",
.init = axisdev88_init,
.is_default = 1,
DEFAULT_MACHINE_OPTIONS,
};

static void axisdev88_machine_init(void)
Expand Down

0 comments on commit 9889e04

Please sign in to comment.