• Sparc disassembler wants to check previous addresses for some stuff
    and this may actually cause faults to be generated to the guest if the
    address is close to page start, because of the function used for the
    memory access.
    
    Fix by changing ldub_code to cpu_memory_rw_debug, which doesn't trigger
    exceptions.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
     
    Browse Code »
  • We already print a directory prefix in non-verbose mode, so there's no
    point printing a messages when recursive make enters/leaves a directory.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
     
    Browse Code »






  • Trivial build warning/fixes when the local DEBUG define is enabled.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Avi Kivity <avi@qumranet.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alex Williamson authored
     
    Browse Code »
  • This is from the KVM tree
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
     
    Browse Code »
  • The pci_register_device() call in PCI nic initialization routines can
    fail.  Handle this failure and propagate a meaningful error message to
    the user instead of generating a SEGV.
    
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Chris Wright <chrisw@sous-sol.org>
    Signed-off-by: Avi Kivity <avi@qumranet.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Chris Wright authored
     
    Browse Code »
  • This is from the KVM tree.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
     
    Browse Code »
  • Once CONFIG_GDBSTUB not configured, compile will generate error.
    
    Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Xiantao Zhang authored
     
    Browse Code »
  • According to PnP specification, Appendix B, Option ROMs
    that support DDIM (device driver initialization model) should
    have their memory space writeable.
    
    KVM deviates from us here, by removing the IO_MEM_ROM flag,
    to allow for PCI option ROMs (they require DDIM). However,
    there's absolutely no reason we can't do the same.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Glauber Costa authored
     
    Browse Code »
  • The inhdr is at the end of the S/G list, not the beginning.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Christoph Hellwig authored
     
    Browse Code »
  • There are reasonable test cases where a read must span areas that are not
    uniformly filled with one pattern but contains several parts. This makes -P
    useless for them currently.
    
    Introducing additional options which determine the part of the read data that
    should be verified with the given pattern allows to check such reads.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Kevin Wolf authored
     
    Browse Code »
  • Here is an updated hardware watchdog patch, which should fix
    everything that was raised about the previous version ...
    
    Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Richard W.M. Jones authored
     
    Browse Code »
  • My commit ea053add broke -net socket by
    overwriting an intermediate buffer in the added check_param. Fix this
    by switching check_param to automatic buffer allocation and release, ie.
    callers no longer have to worry about providing a scratch buffer.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
     
    Browse Code »
  • Avi Kivity wrote:
    > Suggest wrapping in a function and hiding it deep inside kvm-all.c.
    >
    
    Done in v2:
    
    ---------->
    
    If the KVM MMU is asynchronous (kernel does not support MMU_NOTIFIER),
    we have to avoid COW for the guest memory. Otherwise we risk serious
    breakage when guest pages change there physical locations due to COW
    after fork. Seen when forking smbd during runtime via -smb.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
     
    Browse Code »
  • Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse Code »
  • Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse Code »
  • Format must be identical to the guest surface, we can't work with
    the 32 bpp used by the default surface allocator.
    
    Without this patch vnc doesn't get the conversions right when sending
    pixel data to the client.  The bug triggers if
      (a) the client doesn't support WMVi, and
      (b) the guest screen depth is != 32 bpp.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse Code »
  • [had the qemu list address wrong the first time, reply to this message,
     not the previous if you were on Cc]
    
    Add support for SG_IO passthru (packet commands) to the virtio-blk
    backend.  Conceptually based on an older patch from Hannes Reinecke
    but largely rewritten to match the code structure and layering in
    virtio-blk.
    
    Note that currently we issue the hose SG_IO synchronously.  We could
    easily switch to async I/O, but that would required either bloating
    the VirtIOBlockReq by the size of struct sg_io_hdr or an additional
    memory allocation for each SG_IO request.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Christoph Hellwig authored
     
    Browse Code »