• Make 'qemu-img convert' copies unallocated parts of the source image
    when -B option was not specified.
    
    Signed-off-by: Akkarit Sangpetch <asangpet@andrew.cmu.edu>
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Akkarit Sangpetch authored
     
    Browse Code »
  • Instead of storing the backing file in its own BlockDriverState, VMDK uses the
    BlockDriverState of the raw image file it opened. This is wrong and breaks
    functions that access the backing file or protocols. This fix replaces all
    occurrences of s->hd->backing_* with bs->backing_*.
    
    This fixes qemu-iotests failure in 020 (Commit changes to backing file).
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Kevin Wolf authored
     
    Browse Code »
  • Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
     
    Browse Code »
  • This patch requires "Handle BH's queued by AIO completions in
    qemu_aio_flush()" to work reliably.  The combination of those two
    patches survived 300+ migrations with heavy IO load running in the
    guest.
    
    Signed-off-by: Nolan Leake <nolan <at> sigbus.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Nolan authored
     
    Browse Code »
  • Without this, the call to qemu_aio_flush during migration doesn't
    actually flush all in-flight SCSI IOs.
    
    Signed-off-by: Nolan Leake <nolan <at> sigbus.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Nolan authored
     
    Browse Code »
  • Some KVM platforms don't support dirty logging yet, like IA64 and PPC,
    so in order to still have screen updates on those, we need to fake it.
    
    This patch just tells the getter function for dirty bitmaps, that all
    pages within a slot are dirty when the slot has dirty logging enabled.
    
    That way we can implement dirty logging on those platforms sometime when
    it drags down performance, but share the rest of the code with dirty
    logging capable platforms.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alexander Graf authored
     
    Browse Code »
  • 440 and desktop codes use different input constants for interrupt indication.
    
    Let's use the respective ones for KVM.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alexander Graf authored
     
    Browse Code »
  • This fixes a warning I stumbled across while compiling qemu on PPC64.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alexander Graf authored
     
    Browse Code »
  • We need to tell the kernel about some initial CPU state we don't have yet,
    so let's use the "sregs" IOCTL for that and simply put the Processor Version
    Register in there.
    
    Now the kernel knows which guest CPU to virtualize.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alexander Graf authored
     
    Browse Code »
  • We now have KVM on PPC64 too and might get it on PPC32 as well, as soon
    as someone writes it.
    
    So let's enable KVM for PPC32 and PPC64 targets.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alexander Graf authored
     
    Browse Code »




  • Fix type in i386 tcg.
    
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Juan Quintela authored
     
    Browse Code »
  • Hi!
    
    Attached patch fixes an unlock bug in strace.
    Catched by gcc due to an use of uninitialized variable.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    --
    ---to satisfy European Law for business letters:
    Advanced Micro Devices GmbH
    Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
    Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
    Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
    Registergericht Muenchen, HRB Nr. 43632
    Christoph Egger authored
     
    Browse Code »
  • Hi!
    
    Attached patch uses qemu_isxdigit() instead of isxdigit().
    Fixes build warning on NetBSD.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    --
    ---to satisfy European Law for business letters:
    Advanced Micro Devices GmbH
    Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
    Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
    Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
    Registergericht Muenchen, HRB Nr. 43632
    Christoph Egger authored
     
    Browse Code »
  • Hi!
    
    Attached patch fixes build warnings due to use of different pointer
    signedness.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    --
    ---to satisfy European Law for business letters:
    Advanced Micro Devices GmbH
    Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
    Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
    Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
    Registergericht Muenchen, HRB Nr. 43632
    Christoph Egger authored
     
    Browse Code »
  • Rename ELF coredump types to avoid conflict with the corresponding host types.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Laurent Desnogues authored
     
    Browse Code »
  • Re-implement GUEST_BASE support.
    Offset guest ddress space by default if the guest binary contains
    regions below the host mmap_min_addr.
    Implement support for i386, x86-64 and arm hosts.
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
     
    Browse Code »
  • Move the export to a file used by both qdev.c and sysbus.c.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
     
    Browse Code »