1. 13 3月, 2014 2 次提交
  2. 10 3月, 2014 2 次提交
  3. 09 3月, 2014 1 次提交
  4. 05 3月, 2014 1 次提交
  5. 03 3月, 2014 1 次提交
  6. 27 2月, 2014 1 次提交
    • M
      sun4m: Add Sun CG3 framebuffer initialisation function · af87bf29
      Mark Cave-Ayland 提交于
      In order to allow the user to choose the framebuffer for sparc-softmmu, add
      -vga tcx and -vga cg3 options to the QEMU command line. If no option is
      specified, the default TCX framebuffer is used.
      
      Since proprietary FCode ROMs use a resolution of 1152x900, slightly relax the
      validation rules to allow both displays to be initiated at the higher
      resolution used by these ROMs upon request (OpenBIOS FCode ROMs default to
      the normal QEMU sun4m default resolution of 1024x768).
      
      Finally move any fprintf(stderr ...) statements in the areas affected by this
      patch over to the new error_report() function.
      Signed-off-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      CC: Blue Swirl <blauwirbel@gmail.com>
      CC: Anthony Liguori <aliguori@amazon.com>
      CC: Peter Maydell <peter.maydell@linaro.org>
      CC: Bob Breuer <breuerr@mc.net>
      CC: Artyom Tarasenko <atar4qemu@gmail.com>
      af87bf29
  7. 20 2月, 2014 1 次提交
  8. 18 2月, 2014 1 次提交
  9. 15 2月, 2014 4 次提交
  10. 14 2月, 2014 1 次提交
  11. 05 2月, 2014 1 次提交
  12. 29 1月, 2014 2 次提交
  13. 27 1月, 2014 1 次提交
  14. 16 1月, 2014 1 次提交
  15. 07 1月, 2014 3 次提交
  16. 23 12月, 2013 2 次提交
  17. 17 12月, 2013 1 次提交
    • L
      qemu_opts_parse(): always check return value · f46e720a
      Laszlo Ersek 提交于
      qemu_opts_parse() can always return NULL, even if the QemuOptsList.desc in
      question would be trivial to satisfy (eg. because it's empty). For
      example:
      
      qemu_opts_parse()
        opts_parse()
          qemu_opts_create()
            id_wellformed()
      
      In practice:
      
        $ .../qemu-system-x86_64 -acpitable id=3
        qemu-system-x86_64: -acpitable id=3: Parameter 'id' expects an identifier
        **
        ERROR:vl.c:3491:main: assertion failed: (opts != NULL)
        Aborted (core dumped)
      
        $ .../qemu-system-x86_64 -smbios id=3
        qemu-system-x86_64: -smbios id=3: Parameter 'id' expects an identifier
        Segmentation fault (core dumped)
      
      I checked all qemu_opts_parse() invocations (and all drive_def()
      invocations too, because it blindly forwards the former's retval). Only
      the two above examples look problematic.
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Message-id: 1385658779-7529-1-git-send-email-lersek@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      f46e720a
  18. 10 12月, 2013 2 次提交
  19. 02 12月, 2013 1 次提交
    • G
      add firmware to machine options · 1442d3e6
      Gerd Hoffmann 提交于
      This patch adds firmware to the machine options.  -bios <file> becomes a
      shortcut for -machine firmware=<file>.  Advantage is that the firmware
      can be specified via config file as -machine is parsed using QemuOpts
      and it is also possible to use different defaults for different
      machine types (via QEMUMachine->default_machine_opts).
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      1442d3e6
  20. 30 11月, 2013 2 次提交
  21. 25 11月, 2013 1 次提交
  22. 14 11月, 2013 1 次提交
  23. 13 11月, 2013 1 次提交
  24. 04 11月, 2013 1 次提交
    • P
      vl: allow "cont" from panicked state · df390768
      Paolo Bonzini 提交于
      After reporting the GUEST_PANICKED monitor event, QEMU stops the VM.
      The reason for this is that events are edge-triggered, and can be lost if
      management dies at the wrong time.  Stopping a panicked VM lets management
      know of a panic even if it has crashed; management can learn about the
      panic when it restarts and queries running QEMU processes.  The downside
      is of course that the VM will be paused while management is not running,
      but that is acceptable if it only happens with explicit "-device pvpanic".
      
      Upon learning of a panic, management (if configured to do so) can pick a
      variety of behaviors: leave the VM paused, reset it, destroy it.  In
      addition to all of these behaviors, it is possible to dump the VM core
      from the host.
      
      However, right now, the panicked state is irreversible, and can only be
      exited by resetting the machine.  This means that any policy decision
      is entirely in the hands of the host.  In particular there is no way to
      use the "reboot on panic" option together with pvpanic.
      
      This patch makes the panicked state reversible (and removes various
      workarounds that were there because of the state being irreversible).
      With this change, management has a wider set of possible policies: it
      can just log the crash and leave policy to the guest, it can leave the
      VM paused.  In particular, the "log the crash and continue" is implemented
      simply by sending a "cont" as soon as management learns about the panic.
      Management could also implement the "irreversible paused state" itself.
      And again, all such actions can be coupled with dumping the VM core.
      
      Unfortunately we cannot change the behavior of 1.6.0.  Thus, even if
      it uses "-device pvpanic", management should check for "cont" failures.
      If "cont" fails, management can then log that the VM remained paused
      and urge the administrator to update QEMU.
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      df390768
  25. 17 10月, 2013 1 次提交
    • G
      spice: fix multihead support · 9fa03286
      Gerd Hoffmann 提交于
      This patch fixes spice display initialization to handle
      multihead properly.
      
      spice-core now keeps track of which QemuConsole has a spice
      display channel attached to it and which has not.  It also
      manages display channel ids.
      
      spice-display looks at all QemuConsoles and will pick up any
      graphic console not yet bound to a spice channel (which in practice
      are all non-qxl graphic devices).
      
      Result is that
       (a) you'll get a spice client window for each graphical device
           now (first only without this patch), and
       (b) mixing qxl and non-qxl vga cards works properly.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      9fa03286
  26. 14 10月, 2013 1 次提交
  27. 05 10月, 2013 1 次提交
  28. 29 9月, 2013 2 次提交
    • M
      smbios: Make multiple -smbios type= accumulate sanely · fc3b3295
      Markus Armbruster 提交于
      Currently, -smbios type=T,NAME=VAL,... adds one field (T,NAME) with
      value VAL to fw_cfg for each unique NAME.  If NAME occurs multiple
      times, the last one's VAL is used (before the QemuOpts conversion, the
      first one was used).
      
      Multiple -smbios can add multiple fields with the same (T, NAME).
      SeaBIOS reads all of them from fw_cfg, but uses only the first field
      (T, NAME).  The others are ignored.
      
      "First one wins, subsequent ones get ignored silently" isn't nice.  We
      commonly let the last option win.  Useful, because it lets you
      -readconfig first, then selectively override with command line
      options.
      
      Clean up -smbios to work the common way.  Accumulate the settings,
      with later ones overwriting earlier ones.  Put the result into fw_cfg
      (no more useless duplicates).
      
      Bonus cleanup: qemu_uuid_parse() no longer sets SMBIOS system uuid by
      side effect.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      fc3b3295
    • M
      smbios: Convert to QemuOpts · 4f953d2f
      Markus Armbruster 提交于
      So that it can be set in config file for -readconfig.
      
      This tightens parsing of -smbios, and makes it more consistent with
      other options: unknown parameters are rejected, numbers with trailing
      junk are rejected, when a parameter is given multiple times, last
      rather than first wins, ...
      
      MST: drop one chunk to fix build errors
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      4f953d2f