• When a reset is requested, the current e1000 emulation never clears the
    reset bit which may cause a driver to hang. This patch masks the reset
    bit out when setting the control registert, so the reset is immediately
    completed.
    
    Signed-off-by: Kevin Wolf <mail@kevin-wolf.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Kevin Wolf authored
     
    Browse Code »



  • pci_register_device already mallocs the pci config space buffer filled
    with zeroes.
    
    Doing this again breaks some default config space writes like
    setting the subsystem vendor id and subsystem device id.
    
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Amit Shah 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 »










  • MMIO exits are more expensive in KVM or Xen than in QEMU because they 
    involve, at least, privilege transitions.  However, MMIO write 
    operations can be effectively batched if those writes do not have side 
    effects.
    
    Good examples of this include VGA pixel operations when in a planar 
    mode.  As it turns out, we can get a nice boost in other areas too.  
    Laurent mentioned a 9.7% performance boost in iperf with the coalesced 
    MMIO changes for the e1000 when he originally posted this work for KVM.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5961 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »


  • We're currently ignoring the e1000 VLAN tagging, stripping and filtering
    features in the e1000 emulation.  This patch adds backing for the
    relevant registers and provides a software implementation of the
    acceleration, such that a guest can make use of VLANs.
    
    This is mostly (only?) useful for a guest on a bridge (not user mode
    networking).  The only caveat beyond that is that you need to make sure
    the host NIC isn't doing it's own tagging, stripping, or filtering.
    This generally means the host NIC on the bridge should not be part of a
    VLAN.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5766 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »