1. 16 Jul, 2009 4 commits
  2. 29 Jun, 2009 6 commits
  3. 22 Jun, 2009 5 commits
  4. 14 Jun, 2009 3 commits
  5. 30 May, 2009 1 commit
  6. 22 May, 2009 3 commits
    • Paul Brook's avatar
      Add common BusState · 02e2da45
      Paul Brook authored
      
      
      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: default avatarPaul Brook <paul@codesourcery.com>
      02e2da45
    • Jan Kiszka's avatar
      Introduce reset notifier order · 8217606e
      Jan Kiszka authored
      
      
      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: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      8217606e
    • Anthony Liguori's avatar
      Introduce is_default field for QEMUMachine · 0c257437
      Anthony Liguori authored
      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: default avatarAnthony Liguori <aliguori@us.ibm.com>
      0c257437
  7. 21 May, 2009 1 commit
  8. 20 May, 2009 2 commits
  9. 19 May, 2009 2 commits
  10. 18 May, 2009 1 commit
  11. 14 May, 2009 5 commits
  12. 13 May, 2009 1 commit
    • Paul Brook's avatar
      Remove vga_ram_size · fbe1b595
      Paul Brook authored
      
      
      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: default avatarPaul Brook <paul@codesourcery.com>
      fbe1b595
  13. 12 May, 2009 2 commits
    • Paul Brook's avatar
      Push AUD_init down to devices · 22d83b14
      Paul Brook authored
      
      
      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: default avatarPaul Brook <paul@codesourcery.com>
      22d83b14
    • Paul Brook's avatar
      Make AUD_init failure fatal · 0d9acba8
      Paul Brook authored
      
      
      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: default avatarPaul Brook <paul@codesourcery.com>
      0d9acba8
  14. 08 May, 2009 2 commits
    • Glauber Costa's avatar
      reset state for load_linux · d6ecb036
      Glauber Costa authored
      
      
      The linux loader is just an option rom like any other, just with
      some special requirements. Right now, our option rom resetting
      mechanism is not being applied to it. As a result, users using
      -kernel will not be able to successfully reboot their machines
      
      This patch fixes it by saving all the data we generated in
      the load_linux() function, to be used later by the option rom
      resetting mechanism.
      Signed-off-by: default avatarGlauber Costa <glommer@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      d6ecb036
    • Glauber Costa's avatar
      register reset handler for option_roms · e28f9884
      Glauber Costa authored
      
      
      Currently, boot options are not preserved across a system reset.
      option roms can modify themselves, or can for instance restore the real
      int 0x19 vector after they tried to boot from it.
      
      To properly do that, we need a reset handler registered to deal with option
      roms. This patch is based on current version on qemu-kvm.git
      Signed-off-by: default avatarGlauber Costa <glommer@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      e28f9884
  15. 01 May, 2009 2 commits