1. 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
  2. 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
  3. 09 5月, 2009 2 次提交
  4. 01 5月, 2009 2 次提交
  5. 22 4月, 2009 1 次提交
  6. 19 4月, 2009 1 次提交
  7. 18 4月, 2009 1 次提交
    • A
      qemu: Add support for SMBIOS command line otions (Alex Williamson) · b6f6e3d3
      aliguori 提交于
      Create a new -smbios option (x86-only) to allow binary SMBIOS entries
      to be passed through to the BIOS or modify the default values of
      individual fields of type 0 and 1 entries on the command line.
      
      Binary SMBIOS entries can be generated as follows:
      
      dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | \
              perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin
      
      These can then be passed to the BIOS using this switch:
      
       -smbios file=smbios_type_1.bin
      
      Command line generation supports the following syntax:
      
       -smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]
       -smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]
                    [,uuid=$(uuidgen)][,sku=str][,family=str]
      
      For instance, to add a serial number to the type 1 table:
      
       -smbios type=1,serial=0123456789
      
      Interface is extensible to support more fields/tables as needed.
      
      aliguori: remove texi formatting from help output
      Signed-off-by: NAlex Williamson <alex.williamson@hp.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7163 c046a42c-6fe2-441c-8c8c-71466251a162
      b6f6e3d3
  8. 12 4月, 2009 1 次提交
  9. 10 4月, 2009 4 次提交
  10. 29 3月, 2009 1 次提交
    • A
      get roms more room. (Glauber Costa) · 34b39c2b
      aliguori 提交于
      This patch increases by 50 % the size available for option roms.
      The main motivator is that some roms grew bigger than the 64k we
      currently allocate for them (Hey, it's 2009!)
      
      One example is the gpxe project, that produces some roms with 69k,
      70k, etc. The space proposed by this patch actually makes it as
      big as 84k. Probably still a fit for some time.
      
      But there is no free lunch. This space must come from somewhere,
      and we take it from vga rom space. Currently, our vga roms are
      around 35k in size. With this patch, option rom space will begin
      just after vga ends, aligned to the next 2k boundary.
      
      Technicaly, we could do the same with the uper space (the bios itself),
      but since bochs bios is already 128 k in size, I don't see an
      urgent need to do it.
      
      [ fix case for vgabioses smaller than 30k, by Carl-Daniel Hailfinger ]
      Signed-off-by: NGlauber Costa <glommer@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6896 c046a42c-6fe2-441c-8c8c-71466251a162
      34b39c2b
  11. 07 3月, 2009 1 次提交
  12. 06 3月, 2009 1 次提交
    • A
      monitor: Rework API (Jan Kiszka) · 376253ec
      aliguori 提交于
      Refactor the monitor API and prepare it for decoupled terminals:
      term_print functions are renamed to monitor_* and all monitor services
      gain a new parameter (mon) that will once refer to the monitor instance
      the output is supposed to appear on. However, the argument remains
      unused for now. All monitor command callbacks are also extended by a mon
      parameter so that command handlers are able to pass an appropriate
      reference to monitor output services.
      
      For the case that monitor outputs so far happen without clearly
      identifiable context, the global variable cur_mon is introduced that
      shall once provide a pointer either to the current active monitor (while
      processing commands) or to the default one. On the mid or long term,
      those use case will be obsoleted so that this variable can be removed
      again.
      
      Due to the broad usage of the monitor interface, this patch mostly deals
      with converting users of the monitor API. A few of them are already
      extended to pass 'mon' from the command handler further down to internal
      functions that invoke monitor_printf.
      
      At this chance, monitor-related prototypes are moved from console.h to
      a new monitor.h. The same is done for the readline API.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
      376253ec
  13. 28 2月, 2009 1 次提交
  14. 11 2月, 2009 1 次提交
  15. 25 1月, 2009 1 次提交
  16. 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
  17. 16 1月, 2009 3 次提交
  18. 14 1月, 2009 1 次提交
  19. 18 12月, 2008 2 次提交
  20. 12 12月, 2008 1 次提交
  21. 05 12月, 2008 2 次提交
  22. 09 11月, 2008 1 次提交
  23. 24 10月, 2008 1 次提交
  24. 08 10月, 2008 1 次提交
  25. 19 9月, 2008 2 次提交
  26. 16 9月, 2008 1 次提交
  27. 07 9月, 2008 1 次提交
  28. 22 8月, 2008 1 次提交
  29. 21 8月, 2008 1 次提交