Skip to contentSkip to conversation

Patch Round-up for stable 1.7.2, freeze on 2014-07-14

Qemu-devel In review Michael Roth 3 participants 160 messages Jul 8, 2014 – Jul 15, 2014 Page 2 of 2

Subsystems (2)
lore
Share & tools
lore
#155 lore raw

PATCH 154/156 sdhci: Fix misuse of qemu_free_irqs()

In reply to Michael Roth

From: Andreas Färber <[email protected]>

It does a g_free() on the pointer, so don't pass a local &foo reference.

(cherry picked from commit 127a4e1a51c038ec9167083b65d376dddcc64530)
---
 hw/sd/sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/sd/sdhci.c +2 -2
index 0906a1d..9e8a236 100644
@@ -1185,8 +1185,8 @@ static void sdhci_uninitfn(Object *obj)
     timer_free(s->insert_timer);
     timer_del(s->transfer_timer);
     timer_free(s->transfer_timer);
-    qemu_free_irqs(&s->eject_cb);
-    qemu_free_irqs(&s->ro_cb);
+    qemu_free_irq(s->eject_cb);
+    qemu_free_irq(s->ro_cb);
 
     if (s->fifo_buffer) {
         g_free(s->fifo_buffer);
Signature · 1 line
1.9.1
#156 lore raw

PATCH 155/156 hw: Fix qemu_allocate_irqs() leaks

In reply to Michael Roth

From: Andreas Färber <[email protected]>

Replace qemu_allocate_irqs(foo, bar, 1)[0]
with qemu_allocate_irq(foo, bar, 0).

This avoids leaking the dereferenced qemu_irq *.

[PC Changes:
* Applied change to instance in sh4/sh7750.c
]

(cherry picked from commit f3c7d0389fe8a2792fd4c1cf151b885de03c8f62)
---
 hw/arm/omap1.c          | 14 +++++++-------
 hw/arm/omap2.c          |  2 +-
 hw/arm/pxa2xx.c         |  4 ++--
 hw/arm/spitz.c          |  4 ++--
 hw/arm/z2.c             |  2 +-
 hw/core/irq.c           |  4 ++--
 hw/dma/omap_dma.c       |  4 ++--
 hw/ide/microdrive.c     |  2 +-
 hw/misc/cbus.c          |  6 +++---
 hw/pcmcia/pxa2xx.c      |  2 +-
 hw/sd/omap_mmc.c        |  2 +-
 hw/sd/sdhci.c           |  4 ++--
 hw/sh4/sh7750.c         |  3 +--
 hw/timer/omap_gptimer.c |  4 ++--
 14 files changed, 28 insertions(+), 29 deletions(-)
hw/arm/omap1.c +7 -7
index 47511d2..e97eacd 100644
@@ -172,7 +172,7 @@ static void omap_timer_clk_update(void *opaque, int line, int on)
 static void omap_timer_clk_setup(struct omap_mpu_timer_s *timer)
 {
     omap_clk_adduser(timer->clk,
-                    qemu_allocate_irqs(omap_timer_clk_update, timer, 1)[0]);
+                    qemu_allocate_irq(omap_timer_clk_update, timer, 0));
     timer->rate = omap_clk_getrate(timer->clk);
 }
 
@@ -2094,7 +2094,7 @@ static struct omap_mpuio_s *omap_mpuio_init(MemoryRegion *memory,
                           "omap-mpuio", 0x800);
     memory_region_add_subregion(memory, base, &s->iomem);
 
-    omap_clk_adduser(clk, qemu_allocate_irqs(omap_mpuio_onoff, s, 1)[0]);
+    omap_clk_adduser(clk, qemu_allocate_irq(omap_mpuio_onoff, s, 0));
 
     return s;
 }
@@ -2397,7 +2397,7 @@ static struct omap_pwl_s *omap_pwl_init(MemoryRegion *system_memory,
                           "omap-pwl", 0x800);
     memory_region_add_subregion(system_memory, base, &s->iomem);
 
-    omap_clk_adduser(clk, qemu_allocate_irqs(omap_pwl_clk_update, s, 1)[0]);
+    omap_clk_adduser(clk, qemu_allocate_irq(omap_pwl_clk_update, s, 0));
     return s;
 }
 
@@ -3481,8 +3481,8 @@ static void omap_mcbsp_i2s_start(void *opaque, int line, int level)
 void omap_mcbsp_i2s_attach(struct omap_mcbsp_s *s, I2SCodec *slave)
 {
     s->codec = slave;
-    slave->rx_swallow = qemu_allocate_irqs(omap_mcbsp_i2s_swallow, s, 1)[0];
-    slave->tx_start = qemu_allocate_irqs(omap_mcbsp_i2s_start, s, 1)[0];
+    slave->rx_swallow = qemu_allocate_irq(omap_mcbsp_i2s_swallow, s, 0);
+    slave->tx_start = qemu_allocate_irq(omap_mcbsp_i2s_start, s, 0);
 }
 
 /* LED Pulse Generators */
@@ -3630,7 +3630,7 @@ static struct omap_lpg_s *omap_lpg_init(MemoryRegion *system_memory,
     memory_region_init_io(&s->iomem, NULL, &omap_lpg_ops, s, "omap-lpg", 0x800);
     memory_region_add_subregion(system_memory, base, &s->iomem);
 
-    omap_clk_adduser(clk, qemu_allocate_irqs(omap_lpg_clk_update, s, 1)[0]);
+    omap_clk_adduser(clk, qemu_allocate_irq(omap_lpg_clk_update, s, 0));
 
     return s;
 }
@@ -3844,7 +3844,7 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory,
     s->sdram_size = sdram_size;
     s->sram_size = OMAP15XX_SRAM_SIZE;
 
-    s->wakeup = qemu_allocate_irqs(omap_mpu_wakeup, s, 1)[0];
+    s->wakeup = qemu_allocate_irq(omap_mpu_wakeup, s, 0);
 
     /* Clocks */
     omap_clk_init(s);
hw/arm/omap2.c +1 -1
index 36efde0..dc53a7a 100644
@@ -2260,7 +2260,7 @@ struct omap_mpu_state_s *omap2420_mpu_init(MemoryRegion *sysmem,
     s->sdram_size = sdram_size;
     s->sram_size = OMAP242X_SRAM_SIZE;
 
-    s->wakeup = qemu_allocate_irqs(omap_mpu_wakeup, s, 1)[0];
+    s->wakeup = qemu_allocate_irq(omap_mpu_wakeup, s, 0);
 
     /* Clocks */
     omap_clk_init(s);
hw/arm/pxa2xx.c +2 -2
index daec57d..30cf71f 100644
@@ -2057,7 +2057,7 @@ PXA2xxState *pxa270_init(MemoryRegion *address_space,
         fprintf(stderr, "Unable to find CPU definition\n");
         exit(1);
     }
-    s->reset = qemu_allocate_irqs(pxa2xx_reset, s, 1)[0];
+    s->reset = qemu_allocate_irq(pxa2xx_reset, s, 0);
 
     /* SDRAM & Internal Memory Storage */
     memory_region_init_ram(&s->sdram, NULL, "pxa270.sdram", sdram_size);
@@ -2188,7 +2188,7 @@ PXA2xxState *pxa255_init(MemoryRegion *address_space, unsigned int sdram_size)
         fprintf(stderr, "Unable to find CPU definition\n");
         exit(1);
     }
-    s->reset = qemu_allocate_irqs(pxa2xx_reset, s, 1)[0];
+    s->reset = qemu_allocate_irq(pxa2xx_reset, s, 0);
 
     /* SDRAM & Internal Memory Storage */
     memory_region_init_ram(&s->sdram, NULL, "pxa255.sdram", sdram_size);
hw/arm/spitz.c +2 -2
index ba17283..54f2166 100644
@@ -743,7 +743,7 @@ static void spitz_i2c_setup(PXA2xxState *cpu)
 
     spitz_wm8750_addr(wm, 0, 0);
     qdev_connect_gpio_out(cpu->gpio, SPITZ_GPIO_WM,
-                    qemu_allocate_irqs(spitz_wm8750_addr, wm, 1)[0]);
+                          qemu_allocate_irq(spitz_wm8750_addr, wm, 0));
     /* .. and to the sound interface.  */
     cpu->i2s->opaque = wm;
     cpu->i2s->codec_out = wm8750_dac_dat;
@@ -849,7 +849,7 @@ static void spitz_gpio_setup(PXA2xxState *cpu, int slots)
      * wouldn't guarantee that a guest ever exits the loop.
      */
     spitz_hsync = 0;
-    lcd_hsync = qemu_allocate_irqs(spitz_lcd_hsync_handler, cpu, 1)[0];
+    lcd_hsync = qemu_allocate_irq(spitz_lcd_hsync_handler, cpu, 0);
     pxa2xx_gpio_read_notifier(cpu->gpio, lcd_hsync);
     pxa2xx_lcd_vsync_notifier(cpu->lcd, lcd_hsync);
 
hw/arm/z2.c +1 -1
index d52c501..d662130 100644
@@ -359,7 +359,7 @@ static void z2_init(QEMUMachineInitArgs *args)
     wm8750_data_req_set(wm, mpu->i2s->data_req, mpu->i2s);
 
     qdev_connect_gpio_out(mpu->gpio, Z2_GPIO_LCD_CS,
-        qemu_allocate_irqs(z2_lcd_cs, z2_lcd, 1)[0]);
+                          qemu_allocate_irq(z2_lcd_cs, z2_lcd, 0));
 
     z2_binfo.kernel_filename = kernel_filename;
     z2_binfo.kernel_cmdline = kernel_cmdline;
hw/core/irq.c +2 -2
index 03c8cb3..3d284c6 100644
@@ -102,7 +102,7 @@ qemu_irq qemu_irq_invert(qemu_irq irq)
 {
     /* The default state for IRQs is low, so raise the output now.  */
     qemu_irq_raise(irq);
-    return qemu_allocate_irqs(qemu_notirq, irq, 1)[0];
+    return qemu_allocate_irq(qemu_notirq, irq, 0);
 }
 
 static void qemu_splitirq(void *opaque, int line, int level)
@@ -117,7 +117,7 @@ qemu_irq qemu_irq_split(qemu_irq irq1, qemu_irq irq2)
     qemu_irq *s = g_malloc0(2 * sizeof(qemu_irq));
     s[0] = irq1;
     s[1] = irq2;
-    return qemu_allocate_irqs(qemu_splitirq, s, 1)[0];
+    return qemu_allocate_irq(qemu_splitirq, s, 0);
 }
 
 static void proxy_irq_handler(void *opaque, int n, int level)
hw/dma/omap_dma.c +2 -2
index 0e8cccd..bb02279 100644
@@ -1660,7 +1660,7 @@ struct soc_dma_s *omap_dma_init(hwaddr base, qemu_irq *irqs,
     }
 
     omap_dma_setcaps(s);
-    omap_clk_adduser(s->clk, qemu_allocate_irqs(omap_dma_clk_update, s, 1)[0]);
+    omap_clk_adduser(s->clk, qemu_allocate_irq(omap_dma_clk_update, s, 0));
     omap_dma_reset(s->dma);
     omap_dma_clk_update(s, 0, 1);
 
@@ -2082,7 +2082,7 @@ struct soc_dma_s *omap_dma4_init(hwaddr base, qemu_irq *irqs,
     s->intr_update = omap_dma_interrupts_4_update;
 
     omap_dma_setcaps(s);
-    omap_clk_adduser(s->clk, qemu_allocate_irqs(omap_dma_clk_update, s, 1)[0]);
+    omap_clk_adduser(s->clk, qemu_allocate_irq(omap_dma_clk_update, s, 0));
     omap_dma_reset(s->dma);
     omap_dma_clk_update(s, 0, !!s->dma->freq);
 
hw/ide/microdrive.c +1 -1
index 21d6495..c73c5a7 100644
@@ -594,7 +594,7 @@ static void microdrive_realize(DeviceState *dev, Error **errp)
 {
     MicroDriveState *md = MICRODRIVE(dev);
 
-    ide_init2(&md->bus, qemu_allocate_irqs(md_set_irq, md, 1)[0]);
+    ide_init2(&md->bus, qemu_allocate_irq(md_set_irq, md, 0));
 }
 
 static void microdrive_init(Object *obj)
hw/misc/cbus.c +3 -3
index 29b467b..495d507 100644
@@ -135,9 +135,9 @@ CBus *cbus_init(qemu_irq dat)
     CBusPriv *s = (CBusPriv *) g_malloc0(sizeof(*s));
 
     s->dat_out = dat;
-    s->cbus.clk = qemu_allocate_irqs(cbus_clk, s, 1)[0];
-    s->cbus.dat = qemu_allocate_irqs(cbus_dat, s, 1)[0];
-    s->cbus.sel = qemu_allocate_irqs(cbus_sel, s, 1)[0];
+    s->cbus.clk = qemu_allocate_irq(cbus_clk, s, 0);
+    s->cbus.dat = qemu_allocate_irq(cbus_dat, s, 0);
+    s->cbus.sel = qemu_allocate_irq(cbus_sel, s, 0);
 
     s->sel = 1;
     s->clk = 0;
hw/pcmcia/pxa2xx.c +1 -1
index 8f17596..4a126b3 100644
@@ -195,7 +195,7 @@ static void pxa2xx_pcmcia_initfn(Object *obj)
     memory_region_add_subregion(&s->container_mem, 0x0c000000,
                                 &s->common_iomem);
 
-    s->slot.irq = qemu_allocate_irqs(pxa2xx_pcmcia_set_irq, s, 1)[0];
+    s->slot.irq = qemu_allocate_irq(pxa2xx_pcmcia_set_irq, s, 0);
 
     object_property_add_link(obj, "card", TYPE_PCMCIA_CARD,
                              (Object **)&s->card, NULL);
hw/sd/omap_mmc.c +1 -1
index 937a478..6c92149 100644
@@ -625,7 +625,7 @@ struct omap_mmc_s *omap2_mmc_init(struct omap_target_agent_s *ta,
         exit(1);
     }
 
-    s->cdet = qemu_allocate_irqs(omap_mmc_cover_cb, s, 1)[0];
+    s->cdet = qemu_allocate_irq(omap_mmc_cover_cb, s, 0);
     sd_set_cb(s->card, NULL, s->cdet);
 
     return s;
hw/sd/sdhci.c +2 -2
index 9e8a236..79a2b1d 100644
@@ -1169,8 +1169,8 @@ static void sdhci_initfn(Object *obj)
     if (s->card == NULL) {
         exit(1);
     }
-    s->eject_cb = qemu_allocate_irqs(sdhci_insert_eject_cb, s, 1)[0];
-    s->ro_cb = qemu_allocate_irqs(sdhci_card_readonly_cb, s, 1)[0];
+    s->eject_cb = qemu_allocate_irq(sdhci_insert_eject_cb, s, 0);
+    s->ro_cb = qemu_allocate_irq(sdhci_card_readonly_cb, s, 0);
     sd_set_cb(s->card, s->ro_cb, s->eject_cb);
 
     s->insert_timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, sdhci_raise_insertion_irq, s);
hw/sh4/sh7750.c +1 -2
index 1439ba4..6ad66c9 100644
@@ -838,6 +838,5 @@ SH7750State *sh7750_init(SuperHCPU *cpu, MemoryRegion *sysmem)
 qemu_irq sh7750_irl(SH7750State *s)
 {
     sh_intc_toggle_source(sh_intc_source(&s->intc, IRL), 1, 0); /* enable */
-    return qemu_allocate_irqs(sh_intc_set_irl, sh_intc_source(&s->intc, IRL),
-                               1)[0];
+    return qemu_allocate_irq(sh_intc_set_irl, sh_intc_source(&s->intc, IRL), 0);
 }
hw/timer/omap_gptimer.c +2 -2
index 016207f..b7f3d49 100644
@@ -227,7 +227,7 @@ static void omap_gp_timer_clk_update(void *opaque, int line, int on)
 static void omap_gp_timer_clk_setup(struct omap_gp_timer_s *timer)
 {
     omap_clk_adduser(timer->clk,
-                    qemu_allocate_irqs(omap_gp_timer_clk_update, timer, 1)[0]);
+                     qemu_allocate_irq(omap_gp_timer_clk_update, timer, 0));
     timer->rate = omap_clk_getrate(timer->clk);
 }
 
@@ -476,7 +476,7 @@ struct omap_gp_timer_s *omap_gp_timer_init(struct omap_target_agent_s *ta,
     s->clk = fclk;
     s->timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, omap_gp_timer_tick, s);
     s->match = timer_new_ns(QEMU_CLOCK_VIRTUAL, omap_gp_timer_match, s);
-    s->in = qemu_allocate_irqs(omap_gp_timer_input, s, 1)[0];
+    s->in = qemu_allocate_irq(omap_gp_timer_input, s, 0);
     omap_gp_timer_reset(s);
     omap_gp_timer_clk_setup(s);
 
Signature · 1 line
1.9.1
#157 lore raw

PATCH 156/156 pci: assign devfn to pci_dev before calling pci_device_iommu_address_space()

In reply to Michael Roth

From: Le Tan <[email protected]>

In function do_pci_register_device() in file hw/pci/pci.c, move the assignment of pci_dev->devfn to the position before the call to pci_device_iommu_address_space(pci_dev) which will use the value of pci_dev->devfn.

Fixes 9eda7d373e9c691c070eddcbe3467b991f67f6bd

pci: Introduce helper to retrieve a PCI device's DMA address space

(cherry picked from commit efc8188e9398e54567b238b756eec2cc746cd2a4)
---
 hw/pci/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/pci/pci.c +1 -1
index 347d0c0..e1bc1e3 100644
@@ -820,6 +820,7 @@ static PCIDevice *do_pci_register_device(PCIDevice *pci_dev, PCIBus *bus,
     }
 
     pci_dev->bus = bus;
+    pci_dev->devfn = devfn;
     dma_as = pci_device_iommu_address_space(pci_dev);
 
     memory_region_init_alias(&pci_dev->bus_master_enable_region,
@@ -829,7 +830,6 @@ static PCIDevice *do_pci_register_device(PCIDevice *pci_dev, PCIBus *bus,
     address_space_init(&pci_dev->bus_master_as, &pci_dev->bus_master_enable_region,
                        name);
 
-    pci_dev->devfn = devfn;
     pstrcpy(pci_dev->name, sizeof(pci_dev->name), name);
     pci_dev->irq_state = 0;
     pci_config_alloc(pci_dev);
Signature · 1 line
1.9.1
#158 lore raw
In reply to Michael Roth
Quoted 4 lines · * Michael Roth ([email protected]) wrote:

Hi everyone,

The following new patches are queued for QEMU stable v1.7.2:

Quoted 8 lines

https://github.com/mdroth/qemu/commits/stable-1.7-staging

The release is planned for 2014-07-21:

http://wiki.qemu.org/Planning/1.7

Please respond here or CC [email protected] on any patches you think should be included in the release.

You might want to include:
a890a2f9137ac3cf5b607649e66a6f3a5512d8dc - virtio: validate config_len on load

which guards against a mismatched config len on the migration stream overwriting things.

however, if you do you should also include:
2f5732e9648fcddc8759a8fd25c0b41a38352be6 - Allow mismatched virtio config-len which instead of erroring, just discards the data to cope with changes in the config len.

Dave

Quoted 397 lines

Testing/feedback is greatly appreciated.

As you maybe have noticed, the 1.7.2 stable release is late by almost an entire release cycle. There were some important fixes planned for 1.7.2 however, so hopefully better late than never. Due to the delay the patch queue for this release is quite a bit longer than usual, so anyone interested in this release is highly encouraged to review/test.

2.0.1 has similarly slipped by half a release cycle, so 2.0.1 will be going out during the originally planned date release date for 2.0.2, and is the only planned stable release for the 2.0 series:

http://wiki.qemu.org/Planning/2.0

My apologies for the delays. For 2.1.x, we should be back on track for the normal stable release schedule (2.1.1 midway through 2.2 development, and 2.1.2 roughly coinciding with 2.2 release).

Thanks!

----------------------------------------------------------------
Alexander Graf (3):
kvmclock: Ensure time in migration never goes backward
KVM: Fix GSI number space limit
virtio-serial: don't migrate the config space

Alexey Kardashevskiy (1):
spapr_pci: Fix number of returned vectors in ibm, change-msi

Andreas Färber (2):
sdhci: Fix misuse of qemu_free_irqs()
hw: Fix qemu_allocate_irqs() leaks

Benoît Canet (2):
ide: Correct improper smart self test counter reset in ide core.
block: Prevent coroutine stack overflow when recursing in bdrv_open_backing_file.

ChenLiang (1):
migration: remove duplicate code

Cornelia Huck (1):

      s390x/css: handle emw correctly for tsch

Cédric Le Goater (1):
virtio-net: byteswap virtio-net header

David Hildenbrand (1):

      s390x: empty function stubs in preparation for __KVM_HAVE_GUEST_DEBUG

Dmitry Fleytman (4):
vmxnet3: validate interrupt indices coming from guest
vmxnet3: validate queues configuration coming from guest
vmxnet3: validate interrupt indices read on migration
vmxnet3: validate queues configuration read on migration

Dr. David Alan Gilbert (1):
Fix vmstate_info_int32_le comparison/assign

Edgar E. Iglesias (1):
target-arm: Make vbar_write 64bit friendly on 32bit hosts

Eduardo Habkost (1):
target-i386: Filter FEAT_7_0_EBX TCG features too

Fam Zheng (2):
scsi: Change scsi sense buf size to 252
curl: check data size before memcpy to local buffer. (CVE-2014-0144)

Gal Hammer (1):
char: restore read callback on a reattached (hotplug) chardev

Gonglei (1):
qga: Fix handle fd leak in acquire_privilege()

Hani Benhabiles (5):
usb: Fix usb-bt-dongle initialization.
nbd: Don't export a block device with no medium.
nbd: Don't validate from and len in NBD_CMD_DISC.
nbd: Close socket on negotiation failure.
nbd: Shutdown socket before closing.

Hannes Reinecke (1):
megasas: Implement LD_LIST_QUERY

Hu Tao (1):
qcow2: fix offset overflow in qcow2_alloc_clusters_at()

Jeff Cody (3):
vpc/vhd: add bounds check for max_table_entries and block_size (CVE-2014-0144)
vdi: add bounds checks for blocks_in_image and disk_size header fields (CVE-2014-0144)
vhdx: Bounds checking for block_size and logical_sector_size (CVE-2014-0148)

Kevin Wolf (35):
qcow2: Flush metadata during read-only reopen
block: Use BDRV_O_NO_BACKING where appropriate
qemu-iotests: Support for bochs format
bochs: Unify header structs and make them QEMU_PACKED
bochs: Use unsigned variables for offsets and sizes (CVE-2014-0147)
bochs: Check catalog_size header field (CVE-2014-0143)
bochs: Check extent_size header field (CVE-2014-0142)
bochs: Fix bitmap offset calculation
vpc: Validate block size (CVE-2014-0142)
qcow2: Check header_length (CVE-2014-0144)
qcow2: Check backing_file_offset (CVE-2014-0144)
qcow2: Check refcount table size (CVE-2014-0144)
qcow2: Validate refcount table offset
qcow2: Validate snapshot table offset/size (CVE-2014-0144)
qcow2: Validate active L1 table offset and size (CVE-2014-0144)
qcow2: Fix backing file name length check
qcow2: Zero-initialise first cluster for new images
qcow2: Don't rely on free_cluster_index in alloc_refcount_block() (CVE-2014-0147)
qcow2: Avoid integer overflow in get_refcount (CVE-2014-0143)
qcow2: Check new refcount table size on growth
qcow2: Fix types in qcow2_alloc_clusters and alloc_clusters_noref
qcow2: Protect against some integer overflows in bdrv_check
qcow2: Fix new L1 table size check (CVE-2014-0143)
block: Limit request size (CVE-2014-0143)
qcow2: Fix NULL dereference in qcow2_open() error path (CVE-2014-0146)
qcow2: Fix copy_sectors() with VM state
qcow2: Fix L1 allocation size in qcow2_snapshot_load_tmp() (CVE-2014-0145)
qcow2: Check maximum L1 size in qcow2_snapshot_load_tmp() (CVE-2014-0143)
parallels: Fix catalog size integer overflow (CVE-2014-0143)
parallels: Sanity check for s->tracks (CVE-2014-0142)
qcow1: Make padding in the header explicit
qcow1: Check maximum cluster size
qcow1: Validate L2 table size (CVE-2014-0222)
qcow1: Validate image size (CVE-2014-0223)
qcow1: Stricter backing file length check

Le Tan (1):
pci: assign devfn to pci_dev before calling pci_device_iommu_address_space()

Marcelo Tosatti (1):

      kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculation

Markus Armbruster (10):
scsi-bus: Fix transfer length for VERIFY with BYTCHK=11b
virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path
blockdev: Plug memory leak in blockdev_init()
blockdev: Plug memory leak in drive_init()
block/qapi: Plug memory leak in dump_qobject() case QTYPE_QERROR block/vvfat: Plug memory leak in check_directory_consistency() block/vvfat: Plug memory leak in read_directory() block/sheepdog: Plug memory leak in sd_snapshot_create()
qemu-img: Plug memory leak in convert command
vnc: Fix tight_detect_smooth_image() for lossless case

Max Filippov (1):
target-xtensa: fix cross-page jumps/calls at the end of TB

Max Reitz (1):
block-commit: speed is an optional parameter

Michael R. Hines (1):
rdma: bug fixes

Michael Roth (3):
virtio: avoid buffer overrun on incoming migration
openpic: avoid buffer overrun on incoming migration
qapi: zero-initialize all QMP command parameters

Michael S. Tsirkin (27):
acpi: fix tables for no-hpet configuration
vmstate: reduce code duplication
vmstate: add VMS_MUST_EXIST
vmstate: add VMSTATE_VALIDATE
virtio-net: fix buffer overflow on invalid state load
virtio-net: out-of-bounds buffer write on invalid state load
virtio-net: out-of-bounds buffer write on load
virtio: out-of-bounds buffer write on invalid state load
ahci: fix buffer overrun on invalid state load
hpet: fix buffer overrun on invalid state load hw/pci/pcie_aer.c: fix buffer overruns on invalid state load
pl022: fix buffer overun on invalid state load
vmstate: fix buffer overflow in target-arm/machine.c
virtio: validate num_sg when mapping
pxa2xx: avoid buffer overrun on incoming migration
ssi-sd: fix buffer overrun on invalid state load
ssd0323: fix buffer overun on invalid state load
tsc210x: fix buffer overrun on invalid state load
zaurus: fix buffer overrun on invalid state load
virtio-scsi: fix buffer overrun on invalid state load
vmstate: s/VMSTATE_INT32_LE/VMSTATE_INT32_POSITIVE_LE/
usb: sanity check setup_index+setup_len in post_load
virtio: validate config_len on load
stellaris_enet: block migration
pci-assign: limit # of msix vectors
virtio: allow mapping up to max queue size
vhost: fix resource leak in error handling

Michael Tokarev (1):
po/Makefile: fix $SRC_PATH reference

Paolo Bonzini (2):
mirror: fix throttling delay calculation
target-i386: fix set of registers zeroed on reset

Peter Crosthwaite (1):
arm: translate.c: Fix smlald Instruction

Peter Lieven (2):
block/iscsi: fix deadlock on scsi check condition
migration: catch unknown flags in ram_load

Peter Maydell (9):
hw/net/stellaris_enet: Restructure tx_fifo code to avoid buffer overrun hw/net/stellaris_enet: Correct handling of packet padding
savevm: Ignore minimum_version_id_old if there is no load_state_old linux-user/elfload.c: Fix incorrect ARM HWCAP bits linux-user/elfload.c: Update ARM HWCAP bits linux-user/elfload.c: Fix A64 code which was incorrectly acting like A32
linux-user: Don't overrun guest buffer in sched_getaffinity
target-arm: Fix errors in writes to generic timer control registers coroutine-win32.c: Add noinline attribute to work around gcc bug

Richard Henderson (3):
target-i386: Fix CC_OP_CLR vs PF
target-i386: Fix ucomis and comis memory access
tcg-i386: Fix win64 qemu store

Stefan Fritsch (1):
virtio-net: Do not filter VLANs without F_CTRL_VLAN

Stefan Hajnoczi (18):
qom: Avoid leaking str and bool properties on failure
tap: avoid deadlocking rx
mirror: fix early wake from sleep due to aio
qemu-iotests: add ./check -cloop support
qemu-iotests: add cloop input validation tests block/cloop: validate block_size header field (CVE-2014-0144) block/cloop: prevent offsets_size integer overflow (CVE-2014-0143) block/cloop: refuse images with huge offsets arrays (CVE-2014-0144) block/cloop: refuse images with bogus offsets (CVE-2014-0144) block/cloop: fix offsets[] size off-by-one
dmg: coding style and indentation cleanup
dmg: prevent out-of-bounds array access on terminator
dmg: drop broken bdrv_pread() loop
dmg: use appropriate types when reading chunks
dmg: sanitize chunk length and sectorcount (CVE-2014-0145)
dmg: use uint64_t consistently for sectors and lengths
dmg: prevent chunk buffer overflow (CVE-2014-0145)
aio: fix qemu_bh_schedule() bh->ctx race condition

Stefan Weil (3):
tests: Fix 'make test' for i686 hosts (build regression)
configure: Don't use __int128_t for clang versions before 3.2
cputlb: Fix regression with TCG interpreter (bug 1310324)

Thomas Huth (2):

      s390x/virtio-hcall: Add range check for hypervisor call
      s390x/helper: Added format control bit to MMU translation

Ulrich Obergfell (1):
scsi-disk: fix bug in scsi_block_new_request() introduced by commit 137745c

 arch_init.c                                            |  96 ++++----
 async.c                                                |  14 +-
 block.c                                                |  40 ++--
 block/bochs.c                                          | 109 +++++----
 block/cloop.c                                          |  81 ++++++-
 block/curl.c                                           |   5 +
 block/dmg.c                                            | 275 +++++++++++++---------
 block/iscsi.c                                          |   5 +-
 block/mirror.c                                         |  37 +--
 block/parallels.c                                      |  14 +-
 block/qapi.c                                           |   1 +
 block/qcow.c                                           |  43 +++-
 block/qcow2-cluster.c                                  |  11 +-
 block/qcow2-refcount.c                                 | 119 ++++++----
 block/qcow2-snapshot.c                                 |  35 +--
 block/qcow2.c                                          | 198 ++++++++++++----
 block/qcow2.h                                          |  48 +++-
 block/sheepdog.c                                       |   4 +-
 block/vdi.c                                            |  31 ++-
 block/vhdx.c                                           |  12 +-
 block/vmdk.c                                           |   2 +-
 block/vpc.c                                            |  32 ++-
 block/vvfat.c                                          |   6 +-
 blockdev-nbd.c                                         |   9 +-
 blockdev.c                                             |  11 +-
 configure                                              |   5 +
 coroutine-win32.c                                      |  13 +-
 cputlb.c                                               |   6 +-
 docs/migration.txt                                     |  12 +-
 hw/arm/omap1.c                                         |  14 +-
 hw/arm/omap2.c                                         |   2 +-
 hw/arm/pxa2xx.c                                        |  12 +-
 hw/arm/spitz.c                                         |   4 +-
 hw/arm/z2.c                                            |   2 +-
 hw/char/virtio-serial-bus.c                            |  16 +-
 hw/core/irq.c                                          |   4 +-
 hw/display/ssd0323.c                                   |  24 ++
 hw/dma/omap_dma.c                                      |   4 +-
 hw/gpio/zaurus.c                                       |  10 +
 hw/i386/acpi-build.c                                   |   7 +-
 hw/i386/kvm/clock.c                                    |  52 ++++
 hw/i386/kvm/pci-assign.c                               |  12 +-
 hw/ide/ahci.c                                          |   2 +-
 hw/ide/core.c                                          |   2 +-
 hw/ide/microdrive.c                                    |   2 +-
 hw/input/tsc210x.c                                     |  12 +
 hw/intc/openpic.c                                      |  16 +-
 hw/misc/cbus.c                                         |   6 +-
 hw/net/stellaris_enet.c                                |  23 +-
 hw/net/virtio-net.c                                    |  43 +++-
 hw/net/vmxnet3.c                                       |  58 ++++-
 hw/pci/pci.c                                           |   6 +-
 hw/pci/pcie_aer.c                                      |  10 +-
 hw/pcmcia/pxa2xx.c                                     |   2 +-
 hw/ppc/spapr_pci.c                                     |  16 ++
 hw/s390x/css.c                                         |  24 +-
 hw/s390x/s390-virtio-hcall.c                           |  11 +-
 hw/scsi/megasas.c                                      |  17 ++
 hw/scsi/mfi.h                                          |   9 +
 hw/scsi/scsi-bus.c                                     |   2 +-
 hw/scsi/scsi-disk.c                                    |   2 +-
 hw/scsi/scsi-generic.c                                 |   2 -
 hw/scsi/spapr_vscsi.c                                  |   1 -
 hw/scsi/virtio-scsi.c                                  |  12 +-
 hw/sd/omap_mmc.c                                       |   2 +-
 hw/sd/sdhci.c                                          |   8 +-
 hw/sd/ssi-sd.c                                         |   9 +
 hw/sh4/sh7750.c                                        |   3 +-
 hw/ssi/pl022.c                                         |  14 ++
 hw/timer/hpet.c                                        |  13 +
 hw/timer/omap_gptimer.c                                |   4 +-
 hw/usb/bus.c                                           |   4 +-
 hw/usb/dev-bluetooth.c                                 |  24 +-
 hw/virtio/vhost.c                                      |  10 +-
 hw/virtio/virtio.c                                     |  25 +-
 include/hw/scsi/scsi.h                                 |   2 +-
 include/hw/virtio/virtio-net.h                         |   4 +-
 include/migration/vmstate.h                            |  11 +-
 kvm-all.c                                              |   2 +-
 linux-user/elfload.c                                   | 115 +++++++--
 linux-user/syscall.c                                   |  16 ++
 migration-rdma.c                                       |  20 +-
 migration.c                                            |   2 +-
 nbd.c                                                  |   7 +-
 net/tap.c                                              |   7 +-
 po/Makefile                                            |   4 +-
 qemu-char.c                                            |  17 +-
 qemu-img.c                                             |   2 +-
 qemu-nbd.c                                             |   5 +-
 qga/commands-win32.c                                   |   6 +-
 qom/object.c                                           |  14 +-
 savevm.c                                               | 136 ++++++-----
 scripts/qapi-commands.py                               |   2 +-
 target-arm/helper.c                                    |   8 +-
 target-arm/machine.c                                   |   2 +-
 target-arm/translate.c                                 |  34 ++-
 target-i386/cc_helper.c                                |   2 +-
 target-i386/cpu.c                                      |   5 +-
 target-i386/cpu.h                                      |   4 +-
 target-i386/translate.c                                |  46 +++-
 target-s390x/cpu.h                                     |   4 +
 target-s390x/helper.c                                  |  70 ++++--
 target-s390x/kvm.c                                     |  28 +++
 target-xtensa/translate.c                              |   4 +-
 tcg/i386/tcg-target.c                                  |   3 +-
 tests/qemu-iotests/026.out                             |   6 +-
 tests/qemu-iotests/029                                 |  40 +++-
 tests/qemu-iotests/029.out                             |  17 ++
 tests/qemu-iotests/039                                 |  20 ++
 tests/qemu-iotests/039.out                             |  11 +
 tests/qemu-iotests/044.out                             |   2 +-
 tests/qemu-iotests/075                                 | 106 +++++++++
 tests/qemu-iotests/075.out                             |  38 +++
 tests/qemu-iotests/076                                 |  76 ++++++
 tests/qemu-iotests/076.out                             |  18 ++
 tests/qemu-iotests/078                                 |  87 +++++++
 tests/qemu-iotests/078.out                             |  26 ++
 tests/qemu-iotests/080                                 | 180 ++++++++++++++
 tests/qemu-iotests/080.out                             |  83 +++++++
 tests/qemu-iotests/088                                 |  64 +++++
 tests/qemu-iotests/088.out                             |  17 ++
 tests/qemu-iotests/092                                 |  98 ++++++++
 tests/qemu-iotests/092.out                             |  38 +++
 tests/qemu-iotests/common                              |  21 ++
 tests/qemu-iotests/common.rc                           |   3 +
 tests/qemu-iotests/group                               |   6 +
 tests/qemu-iotests/sample_images/empty.bochs.bz2       | Bin 0 -> 118 bytes
 tests/qemu-iotests/sample_images/fake.parallels.bz2    | Bin 0 -> 141 bytes
 .../sample_images/simple-pattern.cloop.bz2             | Bin 0 -> 488 bytes
 tests/tcg/test_path.c                                  |  13 +-
 trace-events                                           |   3 +-
 ui/vnc-enc-tight.c                                     |   2 +-
 132 files changed, 2692 insertions(+), 696 deletions(-)
 create mode 100755 tests/qemu-iotests/075
 create mode 100644 tests/qemu-iotests/075.out
 create mode 100755 tests/qemu-iotests/076
 create mode 100644 tests/qemu-iotests/076.out
 create mode 100755 tests/qemu-iotests/078
 create mode 100644 tests/qemu-iotests/078.out
 create mode 100755 tests/qemu-iotests/080
Quoted 10 lines
 create mode 100644 tests/qemu-iotests/080.out
 create mode 100755 tests/qemu-iotests/088
 create mode 100644 tests/qemu-iotests/088.out
 create mode 100755 tests/qemu-iotests/092
 create mode 100644 tests/qemu-iotests/092.out
 create mode 100644 tests/qemu-iotests/sample_images/empty.bochs.bz2
 create mode 100644 tests/qemu-iotests/sample_images/fake.parallels.bz2
 create mode 100644 tests/qemu-iotests/sample_images/simple-pattern.cloop.bz2

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

#159 lore raw

Quoting Dr. David Alan Gilbert (2014-07-09 12:43:49)

Quoted 17 lines · * Michael Roth ([email protected]) wrote:
Quoted 4 lines

Hi everyone,

The following new patches are queued for QEMU stable v1.7.2:

Quoted 8 lines

https://github.com/mdroth/qemu/commits/stable-1.7-staging

The release is planned for 2014-07-21:

http://wiki.qemu.org/Planning/1.7

Please respond here or CC [email protected] on any patches you think should be included in the release.

You might want to include:
a890a2f9137ac3cf5b607649e66a6f3a5512d8dc - virtio: validate config_len on load

Quoted 7 lines

which guards against a mismatched config len on the migration stream overwriting things.

however, if you do you should also include:
2f5732e9648fcddc8759a8fd25c0b41a38352be6 - Allow mismatched virtio config-len which instead of erroring, just discards the data to cope with changes in the config len.

Thanks, first one was already in, but just pushed the 2nd to avoid compat issues.

Quoted 413 lines

Dave

Quoted 397 lines

Testing/feedback is greatly appreciated.

As you maybe have noticed, the 1.7.2 stable release is late by almost an entire release cycle. There were some important fixes planned for 1.7.2 however, so hopefully better late than never. Due to the delay the patch queue for this release is quite a bit longer than usual, so anyone interested in this release is highly encouraged to review/test.

2.0.1 has similarly slipped by half a release cycle, so 2.0.1 will be going out during the originally planned date release date for 2.0.2, and is the only planned stable release for the 2.0 series:

http://wiki.qemu.org/Planning/2.0

My apologies for the delays. For 2.1.x, we should be back on track for the normal stable release schedule (2.1.1 midway through 2.2 development, and 2.1.2 roughly coinciding with 2.2 release).

Thanks!

----------------------------------------------------------------
Alexander Graf (3):
kvmclock: Ensure time in migration never goes backward
KVM: Fix GSI number space limit
virtio-serial: don't migrate the config space

Alexey Kardashevskiy (1):
spapr_pci: Fix number of returned vectors in ibm, change-msi

Andreas Färber (2):
sdhci: Fix misuse of qemu_free_irqs()
hw: Fix qemu_allocate_irqs() leaks

Benoît Canet (2):
ide: Correct improper smart self test counter reset in ide core.
block: Prevent coroutine stack overflow when recursing in bdrv_open_backing_file.

ChenLiang (1):
migration: remove duplicate code

Cornelia Huck (1):

      s390x/css: handle emw correctly for tsch

Cédric Le Goater (1):
virtio-net: byteswap virtio-net header

David Hildenbrand (1):

      s390x: empty function stubs in preparation for __KVM_HAVE_GUEST_DEBUG

Dmitry Fleytman (4):
vmxnet3: validate interrupt indices coming from guest
vmxnet3: validate queues configuration coming from guest
vmxnet3: validate interrupt indices read on migration
vmxnet3: validate queues configuration read on migration

Dr. David Alan Gilbert (1):
Fix vmstate_info_int32_le comparison/assign

Edgar E. Iglesias (1):
target-arm: Make vbar_write 64bit friendly on 32bit hosts

Eduardo Habkost (1):
target-i386: Filter FEAT_7_0_EBX TCG features too

Fam Zheng (2):
scsi: Change scsi sense buf size to 252
curl: check data size before memcpy to local buffer. (CVE-2014-0144)

Gal Hammer (1):
char: restore read callback on a reattached (hotplug) chardev

Gonglei (1):
qga: Fix handle fd leak in acquire_privilege()

Hani Benhabiles (5):
usb: Fix usb-bt-dongle initialization.
nbd: Don't export a block device with no medium.
nbd: Don't validate from and len in NBD_CMD_DISC.
nbd: Close socket on negotiation failure.
nbd: Shutdown socket before closing.

Hannes Reinecke (1):
megasas: Implement LD_LIST_QUERY

Hu Tao (1):
qcow2: fix offset overflow in qcow2_alloc_clusters_at()

Jeff Cody (3):
vpc/vhd: add bounds check for max_table_entries and block_size (CVE-2014-0144)
vdi: add bounds checks for blocks_in_image and disk_size header fields (CVE-2014-0144)
vhdx: Bounds checking for block_size and logical_sector_size (CVE-2014-0148)

Kevin Wolf (35):
qcow2: Flush metadata during read-only reopen
block: Use BDRV_O_NO_BACKING where appropriate
qemu-iotests: Support for bochs format
bochs: Unify header structs and make them QEMU_PACKED
bochs: Use unsigned variables for offsets and sizes (CVE-2014-0147)
bochs: Check catalog_size header field (CVE-2014-0143)
bochs: Check extent_size header field (CVE-2014-0142)
bochs: Fix bitmap offset calculation
vpc: Validate block size (CVE-2014-0142)
qcow2: Check header_length (CVE-2014-0144)
qcow2: Check backing_file_offset (CVE-2014-0144)
qcow2: Check refcount table size (CVE-2014-0144)
qcow2: Validate refcount table offset
qcow2: Validate snapshot table offset/size (CVE-2014-0144)
qcow2: Validate active L1 table offset and size (CVE-2014-0144)
qcow2: Fix backing file name length check
qcow2: Zero-initialise first cluster for new images
qcow2: Don't rely on free_cluster_index in alloc_refcount_block() (CVE-2014-0147)
qcow2: Avoid integer overflow in get_refcount (CVE-2014-0143)
qcow2: Check new refcount table size on growth
qcow2: Fix types in qcow2_alloc_clusters and alloc_clusters_noref
qcow2: Protect against some integer overflows in bdrv_check
qcow2: Fix new L1 table size check (CVE-2014-0143)
block: Limit request size (CVE-2014-0143)
qcow2: Fix NULL dereference in qcow2_open() error path (CVE-2014-0146)
qcow2: Fix copy_sectors() with VM state
qcow2: Fix L1 allocation size in qcow2_snapshot_load_tmp() (CVE-2014-0145)
qcow2: Check maximum L1 size in qcow2_snapshot_load_tmp() (CVE-2014-0143)
parallels: Fix catalog size integer overflow (CVE-2014-0143)
parallels: Sanity check for s->tracks (CVE-2014-0142)
qcow1: Make padding in the header explicit
qcow1: Check maximum cluster size
qcow1: Validate L2 table size (CVE-2014-0222)
qcow1: Validate image size (CVE-2014-0223)
qcow1: Stricter backing file length check

Le Tan (1):
pci: assign devfn to pci_dev before calling pci_device_iommu_address_space()

Marcelo Tosatti (1):

      kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculation

Markus Armbruster (10):
scsi-bus: Fix transfer length for VERIFY with BYTCHK=11b
virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path
blockdev: Plug memory leak in blockdev_init()
blockdev: Plug memory leak in drive_init()
block/qapi: Plug memory leak in dump_qobject() case QTYPE_QERROR block/vvfat: Plug memory leak in check_directory_consistency() block/vvfat: Plug memory leak in read_directory() block/sheepdog: Plug memory leak in sd_snapshot_create()
qemu-img: Plug memory leak in convert command
vnc: Fix tight_detect_smooth_image() for lossless case

Max Filippov (1):
target-xtensa: fix cross-page jumps/calls at the end of TB

Max Reitz (1):
block-commit: speed is an optional parameter

Michael R. Hines (1):
rdma: bug fixes

Michael Roth (3):
virtio: avoid buffer overrun on incoming migration
openpic: avoid buffer overrun on incoming migration
qapi: zero-initialize all QMP command parameters

Michael S. Tsirkin (27):
acpi: fix tables for no-hpet configuration
vmstate: reduce code duplication
vmstate: add VMS_MUST_EXIST
vmstate: add VMSTATE_VALIDATE
virtio-net: fix buffer overflow on invalid state load
virtio-net: out-of-bounds buffer write on invalid state load
virtio-net: out-of-bounds buffer write on load
virtio: out-of-bounds buffer write on invalid state load
ahci: fix buffer overrun on invalid state load
hpet: fix buffer overrun on invalid state load hw/pci/pcie_aer.c: fix buffer overruns on invalid state load
pl022: fix buffer overun on invalid state load
vmstate: fix buffer overflow in target-arm/machine.c
virtio: validate num_sg when mapping
pxa2xx: avoid buffer overrun on incoming migration
ssi-sd: fix buffer overrun on invalid state load
ssd0323: fix buffer overun on invalid state load
tsc210x: fix buffer overrun on invalid state load
zaurus: fix buffer overrun on invalid state load
virtio-scsi: fix buffer overrun on invalid state load
vmstate: s/VMSTATE_INT32_LE/VMSTATE_INT32_POSITIVE_LE/
usb: sanity check setup_index+setup_len in post_load
virtio: validate config_len on load
stellaris_enet: block migration
pci-assign: limit # of msix vectors
virtio: allow mapping up to max queue size
vhost: fix resource leak in error handling

Michael Tokarev (1):
po/Makefile: fix $SRC_PATH reference

Paolo Bonzini (2):
mirror: fix throttling delay calculation
target-i386: fix set of registers zeroed on reset

Peter Crosthwaite (1):
arm: translate.c: Fix smlald Instruction

Peter Lieven (2):
block/iscsi: fix deadlock on scsi check condition
migration: catch unknown flags in ram_load

Peter Maydell (9):
hw/net/stellaris_enet: Restructure tx_fifo code to avoid buffer overrun hw/net/stellaris_enet: Correct handling of packet padding
savevm: Ignore minimum_version_id_old if there is no load_state_old linux-user/elfload.c: Fix incorrect ARM HWCAP bits linux-user/elfload.c: Update ARM HWCAP bits linux-user/elfload.c: Fix A64 code which was incorrectly acting like A32
linux-user: Don't overrun guest buffer in sched_getaffinity
target-arm: Fix errors in writes to generic timer control registers coroutine-win32.c: Add noinline attribute to work around gcc bug

Richard Henderson (3):
target-i386: Fix CC_OP_CLR vs PF
target-i386: Fix ucomis and comis memory access
tcg-i386: Fix win64 qemu store

Stefan Fritsch (1):
virtio-net: Do not filter VLANs without F_CTRL_VLAN

Stefan Hajnoczi (18):
qom: Avoid leaking str and bool properties on failure
tap: avoid deadlocking rx
mirror: fix early wake from sleep due to aio
qemu-iotests: add ./check -cloop support
qemu-iotests: add cloop input validation tests block/cloop: validate block_size header field (CVE-2014-0144) block/cloop: prevent offsets_size integer overflow (CVE-2014-0143) block/cloop: refuse images with huge offsets arrays (CVE-2014-0144) block/cloop: refuse images with bogus offsets (CVE-2014-0144) block/cloop: fix offsets[] size off-by-one
dmg: coding style and indentation cleanup
dmg: prevent out-of-bounds array access on terminator
dmg: drop broken bdrv_pread() loop
dmg: use appropriate types when reading chunks
dmg: sanitize chunk length and sectorcount (CVE-2014-0145)
dmg: use uint64_t consistently for sectors and lengths
dmg: prevent chunk buffer overflow (CVE-2014-0145)
aio: fix qemu_bh_schedule() bh->ctx race condition

Stefan Weil (3):
tests: Fix 'make test' for i686 hosts (build regression)
configure: Don't use __int128_t for clang versions before 3.2
cputlb: Fix regression with TCG interpreter (bug 1310324)

Thomas Huth (2):

      s390x/virtio-hcall: Add range check for hypervisor call
      s390x/helper: Added format control bit to MMU translation

Ulrich Obergfell (1):
scsi-disk: fix bug in scsi_block_new_request() introduced by commit 137745c

 arch_init.c                                            |  96 ++++----
 async.c                                                |  14 +-
 block.c                                                |  40 ++--
 block/bochs.c                                          | 109 +++++----
 block/cloop.c                                          |  81 ++++++-
 block/curl.c                                           |   5 +
 block/dmg.c                                            | 275 +++++++++++++---------
 block/iscsi.c                                          |   5 +-
 block/mirror.c                                         |  37 +--
 block/parallels.c                                      |  14 +-
 block/qapi.c                                           |   1 +
 block/qcow.c                                           |  43 +++-
 block/qcow2-cluster.c                                  |  11 +-
 block/qcow2-refcount.c                                 | 119 ++++++----
 block/qcow2-snapshot.c                                 |  35 +--
 block/qcow2.c                                          | 198 ++++++++++++----
 block/qcow2.h                                          |  48 +++-
 block/sheepdog.c                                       |   4 +-
 block/vdi.c                                            |  31 ++-
 block/vhdx.c                                           |  12 +-
 block/vmdk.c                                           |   2 +-
 block/vpc.c                                            |  32 ++-
 block/vvfat.c                                          |   6 +-
 blockdev-nbd.c                                         |   9 +-
 blockdev.c                                             |  11 +-
 configure                                              |   5 +
 coroutine-win32.c                                      |  13 +-
 cputlb.c                                               |   6 +-
 docs/migration.txt                                     |  12 +-
 hw/arm/omap1.c                                         |  14 +-
 hw/arm/omap2.c                                         |   2 +-
 hw/arm/pxa2xx.c                                        |  12 +-
 hw/arm/spitz.c                                         |   4 +-
 hw/arm/z2.c                                            |   2 +-
 hw/char/virtio-serial-bus.c                            |  16 +-
 hw/core/irq.c                                          |   4 +-
 hw/display/ssd0323.c                                   |  24 ++
 hw/dma/omap_dma.c                                      |   4 +-
 hw/gpio/zaurus.c                                       |  10 +
 hw/i386/acpi-build.c                                   |   7 +-
 hw/i386/kvm/clock.c                                    |  52 ++++
 hw/i386/kvm/pci-assign.c                               |  12 +-
 hw/ide/ahci.c                                          |   2 +-
 hw/ide/core.c                                          |   2 +-
 hw/ide/microdrive.c                                    |   2 +-
 hw/input/tsc210x.c                                     |  12 +
 hw/intc/openpic.c                                      |  16 +-
 hw/misc/cbus.c                                         |   6 +-
 hw/net/stellaris_enet.c                                |  23 +-
 hw/net/virtio-net.c                                    |  43 +++-
 hw/net/vmxnet3.c                                       |  58 ++++-
 hw/pci/pci.c                                           |   6 +-
 hw/pci/pcie_aer.c                                      |  10 +-
 hw/pcmcia/pxa2xx.c                                     |   2 +-
 hw/ppc/spapr_pci.c                                     |  16 ++
 hw/s390x/css.c                                         |  24 +-
 hw/s390x/s390-virtio-hcall.c                           |  11 +-
 hw/scsi/megasas.c                                      |  17 ++
 hw/scsi/mfi.h                                          |   9 +
 hw/scsi/scsi-bus.c                                     |   2 +-
 hw/scsi/scsi-disk.c                                    |   2 +-
 hw/scsi/scsi-generic.c                                 |   2 -
 hw/scsi/spapr_vscsi.c                                  |   1 -
 hw/scsi/virtio-scsi.c                                  |  12 +-
 hw/sd/omap_mmc.c                                       |   2 +-
 hw/sd/sdhci.c                                          |   8 +-
 hw/sd/ssi-sd.c                                         |   9 +
 hw/sh4/sh7750.c                                        |   3 +-
 hw/ssi/pl022.c                                         |  14 ++
 hw/timer/hpet.c                                        |  13 +
 hw/timer/omap_gptimer.c                                |   4 +-
 hw/usb/bus.c                                           |   4 +-
 hw/usb/dev-bluetooth.c                                 |  24 +-
 hw/virtio/vhost.c                                      |  10 +-
 hw/virtio/virtio.c                                     |  25 +-
 include/hw/scsi/scsi.h                                 |   2 +-
 include/hw/virtio/virtio-net.h                         |   4 +-
 include/migration/vmstate.h                            |  11 +-
 kvm-all.c                                              |   2 +-
 linux-user/elfload.c                                   | 115 +++++++--
 linux-user/syscall.c                                   |  16 ++
 migration-rdma.c                                       |  20 +-
 migration.c                                            |   2 +-
 nbd.c                                                  |   7 +-
 net/tap.c                                              |   7 +-
 po/Makefile                                            |   4 +-
 qemu-char.c                                            |  17 +-
 qemu-img.c                                             |   2 +-
 qemu-nbd.c                                             |   5 +-
 qga/commands-win32.c                                   |   6 +-
 qom/object.c                                           |  14 +-
 savevm.c                                               | 136 ++++++-----
 scripts/qapi-commands.py                               |   2 +-
 target-arm/helper.c                                    |   8 +-
 target-arm/machine.c                                   |   2 +-
 target-arm/translate.c                                 |  34 ++-
 target-i386/cc_helper.c                                |   2 +-
 target-i386/cpu.c                                      |   5 +-
 target-i386/cpu.h                                      |   4 +-
 target-i386/translate.c                                |  46 +++-
 target-s390x/cpu.h                                     |   4 +
 target-s390x/helper.c                                  |  70 ++++--
 target-s390x/kvm.c                                     |  28 +++
 target-xtensa/translate.c                              |   4 +-
 tcg/i386/tcg-target.c                                  |   3 +-
 tests/qemu-iotests/026.out                             |   6 +-
 tests/qemu-iotests/029                                 |  40 +++-
 tests/qemu-iotests/029.out                             |  17 ++
 tests/qemu-iotests/039                                 |  20 ++
 tests/qemu-iotests/039.out                             |  11 +
 tests/qemu-iotests/044.out                             |   2 +-
 tests/qemu-iotests/075                                 | 106 +++++++++
 tests/qemu-iotests/075.out                             |  38 +++
 tests/qemu-iotests/076                                 |  76 ++++++
 tests/qemu-iotests/076.out                             |  18 ++
 tests/qemu-iotests/078                                 |  87 +++++++
 tests/qemu-iotests/078.out                             |  26 ++
 tests/qemu-iotests/080                                 | 180 ++++++++++++++
 tests/qemu-iotests/080.out                             |  83 +++++++
 tests/qemu-iotests/088                                 |  64 +++++
 tests/qemu-iotests/088.out                             |  17 ++
 tests/qemu-iotests/092                                 |  98 ++++++++
 tests/qemu-iotests/092.out                             |  38 +++
 tests/qemu-iotests/common                              |  21 ++
 tests/qemu-iotests/common.rc                           |   3 +
 tests/qemu-iotests/group                               |   6 +
 tests/qemu-iotests/sample_images/empty.bochs.bz2       | Bin 0 -> 118 bytes
 tests/qemu-iotests/sample_images/fake.parallels.bz2    | Bin 0 -> 141 bytes
 .../sample_images/simple-pattern.cloop.bz2             | Bin 0 -> 488 bytes
 tests/tcg/test_path.c                                  |  13 +-
 trace-events                                           |   3 +-
 ui/vnc-enc-tight.c                                     |   2 +-
 132 files changed, 2692 insertions(+), 696 deletions(-)
 create mode 100755 tests/qemu-iotests/075
 create mode 100644 tests/qemu-iotests/075.out
 create mode 100755 tests/qemu-iotests/076
 create mode 100644 tests/qemu-iotests/076.out
 create mode 100755 tests/qemu-iotests/078
 create mode 100644 tests/qemu-iotests/078.out
 create mode 100755 tests/qemu-iotests/080
Quoted 10 lines
 create mode 100644 tests/qemu-iotests/080.out
 create mode 100755 tests/qemu-iotests/088
 create mode 100644 tests/qemu-iotests/088.out
 create mode 100755 tests/qemu-iotests/092
 create mode 100644 tests/qemu-iotests/092.out
 create mode 100644 tests/qemu-iotests/sample_images/empty.bochs.bz2
 create mode 100644 tests/qemu-iotests/sample_images/fake.parallels.bz2
 create mode 100644 tests/qemu-iotests/sample_images/simple-pattern.cloop.bz2

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK