1. 03 10月, 2014 1 次提交
    • J
      blockdev: Orphaned drive search · a66c9dc7
      John Snow 提交于
      When users use command line options like -hda, -cdrom,
      or even -drive if=ide, it is up to the board initialization
      routines to pick up these drives and create backing
      devices for them.
      
      Some boards, like Q35, have not been doing this.
      However, there is no warning explaining why certain
      drive specifications are just silently ignored,
      so this function adds a check to print some warnings
      to assist users in debugging these sorts of issues
      in the future.
      
      This patch will not warn about drives added with if_none,
      for which it is not possible to tell in advance if
      the omission of a backing device is an issue.
      
      A warning in these cases is considered appropriate.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Message-id: 1412187569-23452-2-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      a66c9dc7
  2. 30 9月, 2014 1 次提交
  3. 22 9月, 2014 1 次提交
    • C
      async: aio_context_new(): Handle event_notifier_init failure · 2f78e491
      Chrysostomos Nanakos 提交于
      On a system with a low limit of open files the initialization
      of the event notifier could fail and QEMU exits without printing any
      error information to the user.
      
      The problem can be easily reproduced by enforcing a low limit of open
      files and start QEMU with enough I/O threads to hit this limit.
      
      The same problem raises, without the creation of I/O threads, while
      QEMU initializes the main event loop by enforcing an even lower limit of
      open files.
      
      This commit adds an error message on failure:
      
       # qemu [...] -object iothread,id=iothread0 -object iothread,id=iothread1
       qemu: Failed to initialize event notifier: Too many open files in system
      Signed-off-by: NChrysostomos Nanakos <cnanakos@grnet.gr>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      2f78e491
  4. 20 9月, 2014 1 次提交
  5. 19 9月, 2014 1 次提交
  6. 11 9月, 2014 1 次提交
  7. 10 9月, 2014 1 次提交
  8. 04 9月, 2014 1 次提交
  9. 29 8月, 2014 1 次提交
  10. 26 8月, 2014 1 次提交
  11. 15 8月, 2014 2 次提交
  12. 06 8月, 2014 2 次提交
  13. 22 7月, 2014 1 次提交
  14. 18 7月, 2014 1 次提交
  15. 12 7月, 2014 1 次提交
  16. 01 7月, 2014 2 次提交
    • Y
      trace: add qemu_system_powerdown_request and qemu_system_shutdown_request trace events · bc78cff9
      Yang Zhiyong 提交于
      We have the experience that the guest doesn't stop successfully
      though it was instructed to shut down.
      
      The root cause may be not in QEMU mostly.  However, QEMU is often
      suspected at the beginning just because the issue occurred in
      virtualization environment.
      
      Therefore, we need to affirm that QEMU received the shutdown
      request and raised ACPI irq from "virsh shutdown" command,
      virt-manger or stopping QEMU process to the VM .
      So that we can affirm the problems was belonged to the Guset OS
      rather than the QEMU itself.
      
      When we stop guests by "virsh shutdown" command or virt-manger,
      or stopping QEMU process, qemu_system_powerdown_request() or
      qemu_system_shutdown_request() is called. Then the below functions
      in main_loop_should_exit() of Vl.c are called roughly in the
      following order.
      
      	if (qemu_powerdown_requested())
      		qemu_system_powerdown()
      			monitor_protocol_event(QEVENT_POWERDOWN, NULL)
      
      	OR
      
      	if(qemu_shutdown_requested()}
      		monitor_protocol_event(QEVENT_SHUTDOWN, NULL);
      
      The tracepoint of monitor_protocol_event() already exists, but no
      tracepoints are defined for qemu_system_powerdown_request() and
      qemu_system_shutdown_request(). So this patch adds two tracepoints for
      the two functions. We believe that it will become much easier to
      isolate the problem mentioned above by these tracepoints.
      Signed-off-by: NYang Zhiyong <yangzy.fnst@cn.fujitsu.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      bc78cff9
    • P
      memory: MemoryRegion: use /machine as default owner · b5c2c3d0
      Paolo Bonzini 提交于
      This will be added (after QOMification) as the QOM parent.
      Reviewed-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      b5c2c3d0
  17. 29 6月, 2014 1 次提交
  18. 24 6月, 2014 1 次提交
  19. 23 6月, 2014 11 次提交
  20. 19 6月, 2014 8 次提交