1. 02 10月, 2009 1 次提交
  2. 10 9月, 2009 1 次提交
    • G
      qdev/usb: convert ohci. · 5b19d9a2
      Gerd Hoffmann 提交于
      Drop num_ports argument for usb_ohci_init_pci(), everybody
      calls it with num_ports == 3, so it is pointless.
      
      Convert ohci pci device into qdev.
      TODO: convert non-pci ohci adapters.
      
      You can add a OHCI USB Controller to your virtual pc now using
      '-device pci-ohci'.  Specifying a id is a good idea, so you can
      attach usb devices to it, like this:
      
        -device pci-ohci,id=ohci
        -device usb-mouse,bus=ohci.0
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5b19d9a2
  3. 28 8月, 2009 1 次提交
    • G
      qdev: add return value to init() callbacks. · 81a322d4
      Gerd Hoffmann 提交于
      Sorry folks, but it has to be.  One more of these invasive qdev patches.
      
      We have a serious design bug in the qdev interface:  device init
      callbacks can't signal failure because the init() callback has no
      return value.  This patch fixes it.
      
      We have already one case in-tree where this is needed:
      Try -device virtio-blk-pci (without drive= specified) and watch qemu
      segfault.  This patch fixes it.
      
      With usb+scsi being converted to qdev we'll get more devices where the
      init callback can fail for various reasons.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      81a322d4
  4. 26 8月, 2009 1 次提交
  5. 22 6月, 2009 1 次提交
    • M
      Support addr=... in option argument of -net nic · 5607c388
      Markus Armbruster 提交于
      Make net_client_init() accept addr=, put the value into struct
      NICinfo.  Use it in pci_nic_init(), and remove arguments bus and
      devfn.
      
      Don't support addr= in third argument of monitor command pci_add,
      because that clashes with its first argument.  Admittedly unelegant.
      
      Machines "malta" and "r2d" have a default NIC with a well-known PCI
      address.  Deal with that the same way as the NIC model: make
      pci_nic_init() take an optional default to be used when the user
      doesn't specify one.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5607c388
  6. 17 6月, 2009 1 次提交
  7. 26 5月, 2009 1 次提交
  8. 23 5月, 2009 1 次提交
    • P
      Add common BusState · 02e2da45
      Paul Brook 提交于
      Implement and use a common device bus state.  The main side-effect is
      that creating a bus and attaching it to a parent device are no longer
      separate operations.  For legacy code we allow a NULL parent, but that
      should go away eventually.
      
      Also tweak creation code to veriry theat a device in on the right bus.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      02e2da45
  9. 21 5月, 2009 1 次提交
  10. 15 5月, 2009 11 次提交
  11. 14 5月, 2009 1 次提交
    • P
      Remove vga_ram_size · fbe1b595
      Paul Brook 提交于
      The vga_ram_size argument to machine init functions always has the same
      value, and is ignored by many machines (including SPARC32 which has an
      obsolete ifdef for VGA_RAM_SIZE).
      
      Remove it and push VGA_RAM_SIZE into vga_int.h.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      fbe1b595
  12. 10 4月, 2009 1 次提交
  13. 06 2月, 2009 1 次提交
  14. 17 1月, 2009 1 次提交
    • A
      graphical_console_init change (Stefano Stabellini) · 3023f332
      aliguori 提交于
      Patch 5/7
      
      This patch changes the graphical_console_init function to return an
      allocated DisplayState instead of a QEMUConsole.
      
      This patch contains just the graphical_console_init change and few other
      modifications mainly in console.c and vl.c.
      It was necessary to move the display frontends (e.g. sdl and vnc)
      initialization after machine->init in vl.c.
      
      This patch does *not* include any required changes to any device, these
      changes come with the following patches.
      
      Patch 6/7
      
      This patch changes the QEMUMachine init functions not to take a
      DisplayState as an argument because is not needed any more;
      
      In few places the graphic hardware initialization function was called
      only if DisplayState was not NULL, now they are always called.
      Apart from these cases, the rest are all mechanical substitutions.
      
      Patch 7/7
      
      This patch updates the graphic device code to use the new
      graphical_console_init function.
      
      As for the previous patch, in few places graphical_console_init was called
      only if DisplayState was not NULL, now it is always called.
      Apart from these cases, the rest are all mechanical substitutions.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6344 c046a42c-6fe2-441c-8c8c-71466251a162
      3023f332
  15. 14 1月, 2009 2 次提交
  16. 02 12月, 2008 1 次提交
  17. 28 10月, 2008 1 次提交
  18. 08 10月, 2008 1 次提交
  19. 29 9月, 2008 1 次提交
  20. 04 6月, 2008 1 次提交
  21. 28 4月, 2008 1 次提交
  22. 23 4月, 2008 2 次提交
  23. 15 4月, 2008 1 次提交
  24. 02 12月, 2007 1 次提交
  25. 18 11月, 2007 2 次提交
  26. 11 11月, 2007 1 次提交
  27. 10 11月, 2007 1 次提交