1. 17 7月, 2009 3 次提交
    • G
      qdev/compat: add pc-0.10 machine type. · 96cc1810
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      96cc1810
    • G
      qdev: rework device properties. · ee6847d1
      Gerd Hoffmann 提交于
      This patch is a major overhaul of the device properties.  The properties
      are saved directly in the device state struct now, the linked list of
      property values is gone.
      
      Advantages:
        * We don't have to maintain the list with the property values.
        * The value in the property list and the value actually used by
          the device can't go out of sync any more (used to happen for
          the pci.devfn == -1 case) because there is only one place where
          the value is stored.
        * A record describing the property is required now, you can't set
          random properties any more.
      
      There are bus-specific and device-specific properties.  The former
      should be used for properties common to all bus drivers.  Typical
      use case is bus addressing, i.e. pci.devfn and i2c.address.
      
      Properties have a PropertyInfo struct attached with name, size and
      function pointers to parse and print properties.  A few common property
      types have PropertyInfos defined in qdev-properties.c.  Drivers are free
      to implement their own very special property parsers if needed.
      
      Properties can have default values.  If unset they are zero-filled.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ee6847d1
    • P
      Handle vga= in -append · bf4e5d92
      Pascal Terjan 提交于
      Here is a patch I had sent twice to the list 2 years ago.
      Hopefuly this time someone will be interested
      
      It adds support for passing vga mode to linux kernel through
      vga= option in -append
      Signed-off-by: NPascal Terjan <pterjan@gmail.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      bf4e5d92
  2. 16 7月, 2009 1 次提交
  3. 30 6月, 2009 6 次提交
  4. 22 6月, 2009 5 次提交
  5. 14 6月, 2009 3 次提交
  6. 30 5月, 2009 1 次提交
  7. 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
  8. 22 5月, 2009 2 次提交
    • J
      Introduce reset notifier order · 8217606e
      Jan Kiszka 提交于
      Add the parameter 'order' to qemu_register_reset and sort callbacks on
      registration. On system reset, callbacks with lower order will be
      invoked before those with higher order. Update all existing users to the
      standard order 0.
      
      Note: At least for x86, the existing users seem to assume that handlers
      are called in their registration order. Therefore, the patch preserves
      this property. If someone feels bored, (s)he could try to identify this
      dependency and express it properly on callback registration.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8217606e
    • A
      Introduce is_default field for QEMUMachine · 0c257437
      Anthony Liguori 提交于
      f80f9ec9 changed the order that machines are registered which had the effect of
      changing the default machine.  This changeset introduces a new is_default field
      so that machine types can declare that they are the default for an architecture.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0c257437
  9. 21 5月, 2009 1 次提交
  10. 20 5月, 2009 3 次提交
  11. 19 5月, 2009 2 次提交
  12. 15 5月, 2009 5 次提交
  13. 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
  14. 12 5月, 2009 2 次提交
    • P
      Push AUD_init down to devices · 22d83b14
      Paul Brook 提交于
      Now we can safely call AUD_init multiple times we can push it down to
      individual audio devices, rather than having to pass it from the board
      init.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      22d83b14
    • P
      Make AUD_init failure fatal · 0d9acba8
      Paul Brook 提交于
      Failure to initialize the audio subsystem is not handled consistently.
      Where it is handled it has guest visible effects, which is wrong.
      We already have a "nosound" audio driver as a last resort, so trying to
      proceed without an audio backend seems pointless.
      
      Also protect against multiple calls to AUD_init so that this can be
      pushed down into individual devices.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      0d9acba8
  15. 09 5月, 2009 2 次提交
  16. 01 5月, 2009 2 次提交