1. 11 3月, 2009 1 次提交
  2. 08 3月, 2009 9 次提交
  3. 07 3月, 2009 4 次提交
  4. 06 3月, 2009 4 次提交
    • 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
    • A
      monitor: Rework modal password input (Jan Kiszka) · bb5fc20f
      aliguori 提交于
      Currently, waiting for the user to type in some password blocks the
      whole VM because monitor_readline starts its own I/O loop. And this loop
      also screws up reading passwords from virtual console.
      
      Patch below fixes the shortcomings by using normal I/O processing also
      for waiting on a password. To keep to modal property for the monitor
      terminal, the command handler is temporarily replaced by a password
      handler and a callback infrastructure is established to process the
      result before switching back to command mode.
      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@6710 c046a42c-6fe2-441c-8c8c-71466251a162
      bb5fc20f
    • A
      monitor: Rework early disk password inquiry (Jan Kiszka) · c0f4ce77
      aliguori 提交于
      Reading the passwords for encrypted hard disks during early startup is
      broken (I guess for quiet a while now):
       - No monitor terminal is ready for input at this point
       - Forcing all mux'ed terminals into monitor mode can confuse other
         users of that channels
      
      To overcome these issues and to lay the ground for a clean decoupling of
      monitor terminals, this patch changes the initial password inquiry as
      follows:
       - Prevent autostart if there is some encrypted disk
       - Once the user tries to resume the VM, prompt for all missing
         passwords
       - Only resume if all passwords were accepted
      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@6707 c046a42c-6fe2-441c-8c8c-71466251a162
      c0f4ce77
    • A
      lsi: add ISTAT1 register read (Ryan Harper) · ecabe8cc
      aliguori 提交于
      SLES10 SP2 installer complains when probing a scsi disk and exits qemu
      when failing to read one of the registers.
      
      lsi_scsi: error: readb 0x15
      
      
      -- 
      Ryan Harper
      Software Engineer; Linux Technology Center
      IBM Corp., Austin, Tx
      ryanh@us.ibm.com
      
      
      
      diffstat output:
       lsi53c895a.c |    2 ++
       1 files changed, 2 insertions(+)
      Signed-off-by: NRyan Harper <ryanh@us.ibm.com>
      ---
      Subject: [PATCH] lsi: add ISTAT1 register read
      From: Ryan Harper <ryanh@us.ibm.com>
      Cc: kvm@vger.kernel.org
      
      SLES10 SP2 installer complains when probing a scsi disk and exits qemu when
      failing to read one of the registers.
      
      lsi_scsi: error: readb 0x15
      Signed-off-by: NRyan Harper <ryanh@us.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6688 c046a42c-6fe2-441c-8c8c-71466251a162
      ecabe8cc
  5. 04 3月, 2009 2 次提交
  6. 03 3月, 2009 8 次提交
  7. 28 2月, 2009 3 次提交
  8. 27 2月, 2009 1 次提交
  9. 22 2月, 2009 1 次提交
  10. 21 2月, 2009 1 次提交
  11. 16 2月, 2009 4 次提交
  12. 13 2月, 2009 1 次提交
  13. 12 2月, 2009 1 次提交