1. 04 9月, 2009 2 次提交
  2. 28 8月, 2009 6 次提交
  3. 24 8月, 2009 6 次提交
    • A
      Make the e1000 the default network adapter for the pc target. · 0d6b0b1d
      Anthony Liguori 提交于
      The ne2k is an ancient card that performs pretty terribly under QEMU.  In many
      modern OSes, there is no longer drivers available for the ne2k.
      
      Switch the default network adapter to e1000.  This card is more widely
      suppported and performs rather well under QEMU.  There may be very old OSes
      that had a ne2k driver but not an e1000 driver but I think this is likely the
      exception.
      
      I think the average user is better served with an e1000 vs ne2k.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0d6b0b1d
    • G
      virtio-blk: add msi support. · 177539e0
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      177539e0
    • A
      Unbreak large mem support by removing kqemu · 4a1418e0
      Anthony Liguori 提交于
      kqemu introduces a number of restrictions on the i386 target.  The worst is that
      it prevents large memory from working in the default build.
      
      Furthermore, kqemu is fundamentally flawed in a number of ways.  It relies on
      the TSC as a time source which will not be reliable on a multiple processor
      system in userspace.  Since most modern processors are multicore, this severely
      limits the utility of kqemu.
      
      kvm is a viable alternative for people looking to accelerate qemu and has the
      benefit of being supported by the upstream Linux kernel.  If someone can
      implement work arounds to remove the restrictions introduced by kqemu, I'm
      happy to avoid and/or revert this patch.
      
      N.B. kqemu will still function in the 0.11 series but this patch removes it from
      the 0.12 series.
      
      Paul, please Ack or Nack this patch.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4a1418e0
    • A
      Route IOAPIC interrupts via ISA bus · 1632dc6a
      Avi Kivity 提交于
      Instead of calling the IOAPIC from the PIC, raise IOAPIC irqs via the ISA bus.
      As a side effect, IOAPIC lines 16-23 are enabled.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      1632dc6a
    • A
      Route PC irqs to ISA bus instead of i8259 directly · 1452411b
      Avi Kivity 提交于
      A PC has its motherboard IRQ lines connected to both the PIC and IOAPIC.
      Currently, qemu routes IRQs to the PIC which then calls the IOAPIC, an
      incestuous arrangement.  In order to clean this up, create a new ISA IRQ
      abstraction, and have devices raise ISA IRQs (which in turn raise the i8259
      IRQs as usual).
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      1452411b
    • J
      QEMU set irq0override in fw_cfg · 6b35e7bf
      Jes Sorensen 提交于
      Hi,
      
      After discussing the issue with Avi, Gleb and a couple others on irq,
      we came to the conclusion that it is preferred to have QEMU request
      features from the BIOS, rather than notifying the BIOS that it is
      running on QEMU or KVM. This way memory ranges can change etc. and
      an older BIOS will continue to work on newer QEMU if it receives the
      info as a fw_cfg value.
      
      This one also matches what qemu-kvm does for irq0override, except I
      haven't made it configurable. I leave that as an exercise for whoever
      would be interested in switching off irq0override.
      
      Thanks,
      Jes
      
      Set irq0 override in fw_cfg, informing the BIOS that QEMU expects
      override on irq0. This matches qemu-kvm, and will help sharing a
      single BIOS binary.
      Signed-off-by: NJes Sorensen <jes@sgi.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6b35e7bf
  4. 11 8月, 2009 2 次提交
    • G
      qdev/isa: make pc use qdev for i8042 setup. · b3999638
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Message-Id: 
      b3999638
    • G
      qdev-ify virtio-blk. · d176c495
      Gerd Hoffmann 提交于
      First user of the new drive property.  With this patch applied host
      and guest config can be specified separately, like this:
      
        -drive if=none,id=disk1,file=/path/to/disk.img
        -device virtio-blk-pci,drive=disk1
      
      You can set any property for virtio-blk-pci now.  You can set the pci
      address via addr=.  You can switch the device into 0.10 compat mode
      using class=0x0180.  As this is per device you can have one 0.10 and one
      0.11 virtio block device in a single virtual machine.
      
      Old syntax continues to work.  Internally it does the same as the two
      lines above though.  One side effect this has is a different
      initialization order, which might result in a different pci address
      being assigned by default.
      
      Long term plan here is to have this working for all block devices, i.e.
      once all scsi is properly qdev-ified you will be able to do something
      like this:
      
        -drive if=none,id=sda,file=/path/to/disk.img
        -device lsi,id=lsi,addr=<pciaddr>
        -device scsi-disk,drive=sda,bus=lsi.0,lun=<n>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Message-Id: 
      d176c495
  5. 30 7月, 2009 1 次提交
  6. 28 7月, 2009 1 次提交
    • G
      kill drives_table · 751c6a17
      Gerd Hoffmann 提交于
      First step cleaning up the drives handling.  This one does nothing but
      removing drives_table[], still it became seriously big.
      
      drive_get_index() is gone and is replaced by drives_get() which hands
      out DriveInfo pointers instead of a table index.  This needs adaption in
      *tons* of places all over.
      
      The drives are now maintained as linked list.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      751c6a17
  7. 27 7月, 2009 1 次提交
  8. 17 7月, 2009 6 次提交
  9. 16 7月, 2009 1 次提交
  10. 30 6月, 2009 6 次提交
  11. 22 6月, 2009 5 次提交
  12. 14 6月, 2009 3 次提交