1. 06 10月, 2011 1 次提交
    • P
      spapr: proper qdevification · 277f9acf
      Paolo Bonzini 提交于
      Right now the spapr devices cannot be instantiated with -device,
      because the IRQs need to be passed to the spapr_*_create functions.
      Do this instead in the bus's init wrapper.
      
      This is particularly important with the conversion from scsi-disk
      to scsi-{cd,hd} that Markus made.  After his patches, if you
      specify a scsi-cd device attached to an if=none drive, the default
      VSCSI controller will not be created and, without qdevification,
      you will not be able to add yours.
      
      NOTE from agraf: added small compile fix
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Cc: Alexander Graf <agraf@suse.de>
      Cc: David Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      277f9acf
  2. 05 10月, 2011 1 次提交
  3. 03 10月, 2011 1 次提交
  4. 02 10月, 2011 4 次提交
  5. 01 10月, 2011 15 次提交
  6. 30 9月, 2011 2 次提交
  7. 29 9月, 2011 1 次提交
  8. 28 9月, 2011 3 次提交
    • T
      slirp: Fix packet expiration · 2b440432
      Thomas Huth 提交于
      The two new variables "arp_requested" and "expiration_date" in the mbuf
      structure have been added after the variable-sized "m_dat_" array. The
      variables have to be added before the m_dat_ array instead.
      Without this patch, the expiration_date gets clobbered by code that
      accesses the m_dat_ array.
      I experienced this problem with the code in slirp/tftp.c: The
      tftp_send_data() function created a new packet with the m_get()
      function (which fills-in a default expiration_date value). Then the
      TFTP code cleared the data section of the packet, which accidentially
      also cleared the expiration_date. This zeroed expiration_date then
      finally causes the packet to be discarded during if_start(), so that
      TFTP packets were not transmitted anymore.
      
      [Jan: added comment as suggested by Fabien ]
      
      CC: Fabien Chouteau <chouteau@adacore.com>
      Signed-off-by: NThomas Huth <thuth@linux.vnet.ibm.com>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      2b440432
    • J
      slirp: Fix use after release on tcp_input · 8d06d69b
      Jan Kiszka 提交于
      ti points into the m buffer. But the latter may already be released
      right after the dodata: label. Move the test before the potential
      release.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      8d06d69b
    • B
      PPC: use memory API to construct the PCI hole · 46f3069c
      Blue Swirl 提交于
      Avoid vga.chain4 mapping by constructing a PCI hole for upper
      2G of the PCI space.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      46f3069c
  9. 26 9月, 2011 5 次提交
  10. 25 9月, 2011 7 次提交