Patch Round-up for stable 1.7.2, freeze on 2014-07-14
Subsystems (2)
PATCH 154/156 sdhci: Fix misuse of qemu_free_irqs()
In reply to Michael RothFrom: Andreas Färber <[email protected]>
It does a g_free() on the pointer, so don't pass a local &foo reference.
--- hw/sd/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hw/sd/sdhci.c +2 -2
@@ -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
PATCH 155/156 hw: Fix qemu_allocate_irqs() leaks
In reply to Michael RothFrom: 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
]
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
PATCH 156/156 pci: assign devfn to pci_dev before calling pci_device_iommu_address_space()
In reply to Michael RothFrom: 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.
pci: Introduce helper to retrieve a PCI device's DMA address space
--- hw/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/pci/pci.c +1 -1
@@ -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
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 spaceAlexey Kardashevskiy (1):
spapr_pci: Fix number of returned vectors in ibm, change-msiAndreas Färber (2):
sdhci: Fix misuse ofqemu_free_irqs()
hw: Fixqemu_allocate_irqs()leaksBenoît Canet (2):
ide: Correct improper smart self test counter reset in ide core.
block: Prevent coroutine stack overflow when recursing inbdrv_open_backing_file.ChenLiang (1):
migration: remove duplicate codeCornelia Huck (1):
s390x/css: handle emw correctly for tschCédric Le Goater (1):
virtio-net: byteswap virtio-net headerDavid Hildenbrand (1):
s390x: empty function stubs in preparation for __KVM_HAVE_GUEST_DEBUGDmitry 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 migrationDr. David Alan Gilbert (1):
Fixvmstate_info_int32_lecomparison/assignEdgar E. Iglesias (1):
target-arm: Makevbar_write64bit friendly on 32bit hostsEduardo Habkost (1):
target-i386: FilterFEAT_7_0_EBXTCG features tooFam 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) chardevGonglei (1):
qga: Fix handle fd leak inacquire_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 inNBD_CMD_DISC.
nbd: Close socket on negotiation failure.
nbd: Shutdown socket before closing.Hannes Reinecke (1):
megasas: ImplementLD_LIST_QUERYHu Tao (1):
qcow2: fix offset overflow inqcow2_alloc_clusters_at()Jeff Cody (3):
vpc/vhd: add bounds check formax_table_entriesandblock_size(CVE-2014-0144)
vdi: add bounds checks forblocks_in_imageanddisk_sizeheader fields (CVE-2014-0144)
vhdx: Bounds checking forblock_sizeandlogical_sector_size(CVE-2014-0148)Kevin Wolf (35):
qcow2: Flush metadata during read-only reopen
block: UseBDRV_O_NO_BACKINGwhere appropriate
qemu-iotests: Support for bochs format
bochs: Unify header structs and make themQEMU_PACKED
bochs: Use unsigned variables for offsets and sizes (CVE-2014-0147)
bochs: Checkcatalog_sizeheader field (CVE-2014-0143)
bochs: Checkextent_sizeheader field (CVE-2014-0142)
bochs: Fix bitmap offset calculation
vpc: Validate block size (CVE-2014-0142)
qcow2: Checkheader_length(CVE-2014-0144)
qcow2: Checkbacking_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 onfree_cluster_indexinalloc_refcount_block()(CVE-2014-0147)
qcow2: Avoid integer overflow inget_refcount(CVE-2014-0143)
qcow2: Check new refcount table size on growth
qcow2: Fix types inqcow2_alloc_clustersandalloc_clusters_noref
qcow2: Protect against some integer overflows inbdrv_check
qcow2: Fix new L1 table size check (CVE-2014-0143)
block: Limit request size (CVE-2014-0143)
qcow2: Fix NULL dereference inqcow2_open()error path (CVE-2014-0146)
qcow2: Fixcopy_sectors()with VM state
qcow2: Fix L1 allocation size inqcow2_snapshot_load_tmp()(CVE-2014-0145)
qcow2: Check maximum L1 size inqcow2_snapshot_load_tmp()(CVE-2014-0143)
parallels: Fix catalog size integer overflow (CVE-2014-0143)
parallels: Sanity check fors->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 checkLe Tan (1):
pci: assign devfn topci_devbefore callingpci_device_iommu_address_space()Marcelo Tosatti (1):
kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculationMarkus Armbruster (10):
scsi-bus: Fix transfer length for VERIFY with BYTCHK=11b
virtio-scsi: Plug memory leak onvirtio_scsi_push_event()error path
blockdev: Plug memory leak inblockdev_init()
blockdev: Plug memory leak indrive_init()
block/qapi: Plug memory leak indump_qobject()caseQTYPE_QERRORblock/vvfat: Plug memory leak incheck_directory_consistency()block/vvfat: Plug memory leak inread_directory()block/sheepdog: Plug memory leak insd_snapshot_create()
qemu-img: Plug memory leak in convert command
vnc: Fixtight_detect_smooth_image()for lossless caseMax Filippov (1):
target-xtensa: fix cross-page jumps/calls at the end of TBMax Reitz (1):
block-commit: speed is an optional parameterMichael R. Hines (1):
rdma: bug fixesMichael Roth (3):
virtio: avoid buffer overrun on incoming migration
openpic: avoid buffer overrun on incoming migration
qapi: zero-initialize all QMP command parametersMichael S. Tsirkin (27):
acpi: fix tables for no-hpet configuration
vmstate: reduce code duplication
vmstate: addVMS_MUST_EXIST
vmstate: addVMSTATE_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 loadhw/pci/pcie_aer.c: fix buffer overruns on invalid state load
pl022: fix buffer overun on invalid state load
vmstate: fix buffer overflow intarget-arm/machine.c
virtio: validatenum_sgwhen 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 inpost_load
virtio: validateconfig_lenon 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 handlingMichael Tokarev (1):
po/Makefile: fix $SRC_PATH referencePaolo Bonzini (2):
mirror: fix throttling delay calculation
target-i386: fix set of registers zeroed on resetPeter Crosthwaite (1):
arm:translate.c: Fix smlald InstructionPeter Lieven (2):
block/iscsi: fix deadlock on scsi check condition
migration: catch unknown flags inram_loadPeter Maydell (9):
hw/net/stellaris_enet: Restructuretx_fifocode to avoid buffer overrun hw/net/stellaris_enet: Correct handling of packet padding
savevm: Ignoreminimum_version_id_oldif there is noload_state_oldlinux-user/elfload.c: Fix incorrect ARM HWCAP bitslinux-user/elfload.c: Update ARM HWCAP bitslinux-user/elfload.c: Fix A64 code which was incorrectly acting like A32
linux-user: Don't overrun guest buffer insched_getaffinity
target-arm: Fix errors in writes to generic timer control registerscoroutine-win32.c: Add noinline attribute to work around gcc bugRichard Henderson (3):
target-i386: FixCC_OP_CLRvs PF
target-i386: Fix ucomis and comis memory access
tcg-i386: Fix win64 qemu storeStefan Fritsch (1):
virtio-net: Do not filter VLANs withoutF_CTRL_VLANStefan 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: validateblock_sizeheader field (CVE-2014-0144) block/cloop: preventoffsets_sizeinteger 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 brokenbdrv_pread()loop
dmg: use appropriate types when reading chunks
dmg: sanitize chunk length and sectorcount (CVE-2014-0145)
dmg: useuint64_tconsistently for sectors and lengths
dmg: prevent chunk buffer overflow (CVE-2014-0145)
aio: fixqemu_bh_schedule()bh->ctxrace conditionStefan Weil (3):
tests: Fix 'make test' for i686 hosts (build regression)
configure: Don't use__int128_tfor 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 translationUlrich Obergfell (1):
scsi-disk: fix bug inscsi_block_new_request()introduced by commit 137745carch_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
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: validateconfig_lenon 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 spaceAlexey Kardashevskiy (1):
spapr_pci: Fix number of returned vectors in ibm, change-msiAndreas Färber (2):
sdhci: Fix misuse ofqemu_free_irqs()
hw: Fixqemu_allocate_irqs()leaksBenoît Canet (2):
ide: Correct improper smart self test counter reset in ide core.
block: Prevent coroutine stack overflow when recursing inbdrv_open_backing_file.ChenLiang (1):
migration: remove duplicate codeCornelia Huck (1):
s390x/css: handle emw correctly for tschCédric Le Goater (1):
virtio-net: byteswap virtio-net headerDavid Hildenbrand (1):
s390x: empty function stubs in preparation for __KVM_HAVE_GUEST_DEBUGDmitry 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 migrationDr. David Alan Gilbert (1):
Fixvmstate_info_int32_lecomparison/assignEdgar E. Iglesias (1):
target-arm: Makevbar_write64bit friendly on 32bit hostsEduardo Habkost (1):
target-i386: FilterFEAT_7_0_EBXTCG features tooFam 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) chardevGonglei (1):
qga: Fix handle fd leak inacquire_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 inNBD_CMD_DISC.
nbd: Close socket on negotiation failure.
nbd: Shutdown socket before closing.Hannes Reinecke (1):
megasas: ImplementLD_LIST_QUERYHu Tao (1):
qcow2: fix offset overflow inqcow2_alloc_clusters_at()Jeff Cody (3):
vpc/vhd: add bounds check formax_table_entriesandblock_size(CVE-2014-0144)
vdi: add bounds checks forblocks_in_imageanddisk_sizeheader fields (CVE-2014-0144)
vhdx: Bounds checking forblock_sizeandlogical_sector_size(CVE-2014-0148)Kevin Wolf (35):
qcow2: Flush metadata during read-only reopen
block: UseBDRV_O_NO_BACKINGwhere appropriate
qemu-iotests: Support for bochs format
bochs: Unify header structs and make themQEMU_PACKED
bochs: Use unsigned variables for offsets and sizes (CVE-2014-0147)
bochs: Checkcatalog_sizeheader field (CVE-2014-0143)
bochs: Checkextent_sizeheader field (CVE-2014-0142)
bochs: Fix bitmap offset calculation
vpc: Validate block size (CVE-2014-0142)
qcow2: Checkheader_length(CVE-2014-0144)
qcow2: Checkbacking_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 onfree_cluster_indexinalloc_refcount_block()(CVE-2014-0147)
qcow2: Avoid integer overflow inget_refcount(CVE-2014-0143)
qcow2: Check new refcount table size on growth
qcow2: Fix types inqcow2_alloc_clustersandalloc_clusters_noref
qcow2: Protect against some integer overflows inbdrv_check
qcow2: Fix new L1 table size check (CVE-2014-0143)
block: Limit request size (CVE-2014-0143)
qcow2: Fix NULL dereference inqcow2_open()error path (CVE-2014-0146)
qcow2: Fixcopy_sectors()with VM state
qcow2: Fix L1 allocation size inqcow2_snapshot_load_tmp()(CVE-2014-0145)
qcow2: Check maximum L1 size inqcow2_snapshot_load_tmp()(CVE-2014-0143)
parallels: Fix catalog size integer overflow (CVE-2014-0143)
parallels: Sanity check fors->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 checkLe Tan (1):
pci: assign devfn topci_devbefore callingpci_device_iommu_address_space()Marcelo Tosatti (1):
kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculationMarkus Armbruster (10):
scsi-bus: Fix transfer length for VERIFY with BYTCHK=11b
virtio-scsi: Plug memory leak onvirtio_scsi_push_event()error path
blockdev: Plug memory leak inblockdev_init()
blockdev: Plug memory leak indrive_init()
block/qapi: Plug memory leak indump_qobject()caseQTYPE_QERRORblock/vvfat: Plug memory leak incheck_directory_consistency()block/vvfat: Plug memory leak inread_directory()block/sheepdog: Plug memory leak insd_snapshot_create()
qemu-img: Plug memory leak in convert command
vnc: Fixtight_detect_smooth_image()for lossless caseMax Filippov (1):
target-xtensa: fix cross-page jumps/calls at the end of TBMax Reitz (1):
block-commit: speed is an optional parameterMichael R. Hines (1):
rdma: bug fixesMichael Roth (3):
virtio: avoid buffer overrun on incoming migration
openpic: avoid buffer overrun on incoming migration
qapi: zero-initialize all QMP command parametersMichael S. Tsirkin (27):
acpi: fix tables for no-hpet configuration
vmstate: reduce code duplication
vmstate: addVMS_MUST_EXIST
vmstate: addVMSTATE_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 loadhw/pci/pcie_aer.c: fix buffer overruns on invalid state load
pl022: fix buffer overun on invalid state load
vmstate: fix buffer overflow intarget-arm/machine.c
virtio: validatenum_sgwhen 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 inpost_load
virtio: validateconfig_lenon 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 handlingMichael Tokarev (1):
po/Makefile: fix $SRC_PATH referencePaolo Bonzini (2):
mirror: fix throttling delay calculation
target-i386: fix set of registers zeroed on resetPeter Crosthwaite (1):
arm:translate.c: Fix smlald InstructionPeter Lieven (2):
block/iscsi: fix deadlock on scsi check condition
migration: catch unknown flags inram_loadPeter Maydell (9):
hw/net/stellaris_enet: Restructuretx_fifocode to avoid buffer overrun hw/net/stellaris_enet: Correct handling of packet padding
savevm: Ignoreminimum_version_id_oldif there is noload_state_oldlinux-user/elfload.c: Fix incorrect ARM HWCAP bitslinux-user/elfload.c: Update ARM HWCAP bitslinux-user/elfload.c: Fix A64 code which was incorrectly acting like A32
linux-user: Don't overrun guest buffer insched_getaffinity
target-arm: Fix errors in writes to generic timer control registerscoroutine-win32.c: Add noinline attribute to work around gcc bugRichard Henderson (3):
target-i386: FixCC_OP_CLRvs PF
target-i386: Fix ucomis and comis memory access
tcg-i386: Fix win64 qemu storeStefan Fritsch (1):
virtio-net: Do not filter VLANs withoutF_CTRL_VLANStefan 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: validateblock_sizeheader field (CVE-2014-0144) block/cloop: preventoffsets_sizeinteger 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 brokenbdrv_pread()loop
dmg: use appropriate types when reading chunks
dmg: sanitize chunk length and sectorcount (CVE-2014-0145)
dmg: useuint64_tconsistently for sectors and lengths
dmg: prevent chunk buffer overflow (CVE-2014-0145)
aio: fixqemu_bh_schedule()bh->ctxrace conditionStefan Weil (3):
tests: Fix 'make test' for i686 hosts (build regression)
configure: Don't use__int128_tfor 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 translationUlrich Obergfell (1):
scsi-disk: fix bug inscsi_block_new_request()introduced by commit 137745carch_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/080Quoted 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