Luiz Capitulino 56f9107e43 qdev: qdev_unplug(): use error_set()
It currently uses qerror_report(), but next commit will convert
the drive_del command to the QAPI and this requires using
error_set().

One particularity of qerror_report() is that it knows when it's
running on monitor context or command-line context and prints the
error message accordingly. error_set() doesn't do this, so we
have to be careful not to drop error messages.

qdev_unplug() has three kinds of usages:

 1. It's called when hot adding a device fails, to undo anything
    that has been done before hitting the error

 2. It's called by function monitor functions like device_del(),
    to unplug a device

 3. It's used by xen_platform.c in a way that doesn't _seem_ to
    be in monitor context

Only item 2 can print an error message to the user, this commit
maintains that.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-04-09 14:35:25 -03:00
2012-03-14 22:20:27 +01:00
2012-04-09 14:35:25 -03:00
2012-04-02 15:04:15 -05:00
2012-04-06 19:25:57 +03:00
2012-03-27 09:15:52 -03:00
2012-04-02 15:04:15 -05:00
2012-04-06 19:25:57 +03:00
2012-04-07 08:25:21 +00:00
2012-04-07 14:00:45 +00:00
2012-03-14 22:20:25 +01:00
2012-03-14 22:20:27 +01:00
2012-03-30 08:14:11 -05:00
2012-03-30 08:14:11 -05:00
2012-03-30 08:14:11 -05:00
2012-04-01 20:30:23 +02:00
2012-04-06 19:25:57 +03:00
2012-03-14 22:20:27 +01:00
2012-04-07 13:46:35 +00:00
2012-03-14 22:20:27 +01:00
2012-03-15 10:39:52 -03:00
2012-03-15 10:39:52 -03:00
2012-03-14 22:20:27 +01:00
2012-03-14 22:20:27 +01:00
2012-03-15 10:39:52 -03:00
2012-03-15 10:39:52 -03:00
2012-03-15 10:39:52 -03:00
2012-03-19 15:17:21 +02:00
2012-03-14 22:20:27 +01:00
2012-03-14 22:20:27 +01:00
2012-03-14 22:20:26 +01:00
2012-03-15 10:39:52 -03:00
2012-03-15 10:39:52 -03:00
2012-03-15 10:39:52 -03:00
2012-03-27 09:15:28 -03:00
2012-03-14 22:20:27 +01:00
2012-04-07 14:00:45 +00:00
2012-03-12 15:09:23 -05:00
2012-04-07 14:00:45 +00:00
2012-03-30 08:14:11 -05:00
2012-03-30 08:14:11 -05:00
2012-04-02 09:43:16 -05:00
2012-03-30 08:14:11 -05:00
2012-03-30 08:14:11 -05:00
2012-03-14 22:20:27 +01:00
2012-03-15 10:39:52 -03:00
2012-03-14 22:20:27 +01:00
2012-03-14 22:20:26 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 527 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%