1. 16 3月, 2010 4 次提交
    • M
      pc: Factor common code out of pc_boot_set() and cmos_init() · d9346e81
      Markus Armbruster 提交于
      Code duplicated in commit 0ecdffbb.  The two versions are similar, but
      not identical:
      
      * cmos_init() reports errors to stderr, pc_boot_set() via
        qemu_error().  The latter is fine for both, so pick that for the
        common code.
      
      * cmos_init() obeys fd_bootchk, pc_boot_set() ignores it.  Make it a
        parameter of the common code.
      d9346e81
    • M
      pc: Fix error reporting for -boot once · 8ad00f84
      Markus Armbruster 提交于
      Commit 0ecdffbb created pc_boot_set() for use from monitor command
      "boot_set", via qemu_boot_set().  pc_boot_set() reports errors to
      cur_mon, which works fine for monitor code.
      
      Commit e0f084bf reused the function int reset handler
      restore_boot_devices().  Use of cur_mon is problematic in that
      context.  For instance, the "Too many boot devices for PC" error for
      "-boot order=abcdefgh,once=c" goes to the monitor instead of stderr.
      The monitor may not even exist.
      
      Fix by switching to qemu_error().
      8ad00f84
    • M
      savevm: Fix -loadvm to report errors to stderr, not the monitor · 03cd4655
      Markus Armbruster 提交于
      A monitor may not even exist.
      
      Change load_vmstate() to use qemu_error() instead of monitor_printf().
      Parameter mon is now unused, remove it.
      03cd4655
    • M
      usb: Remove disabled monitor_printf() in usb_read_file() · 4491e0f3
      Markus Armbruster 提交于
      The monitor_printf() reports failure.  Printing is wrong, because the
      caller tries various arguments, and expects the function to fail for
      some or all.
      
      Disabled since commit 26a9e82a.  Remove it.
      4491e0f3
  2. 12 3月, 2010 3 次提交
  3. 11 3月, 2010 1 次提交
  4. 10 3月, 2010 12 次提交
  5. 09 3月, 2010 20 次提交