qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 0/2] qdev: disassociate chardev from device o


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH v2 0/2] qdev: disassociate chardev from device on device exit
Date: Fri, 13 Jan 2012 10:54:03 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 01/13/2012 03:59 AM, Amit Shah wrote:
When the device is going away (e.g., hot-unplug), an associated
chardev should be freed and made available for use for other devices.

An earlier hack did this for virtio serial ports, do it in a generic
way and remove the virtio-serial specific hack.

Applied.  Thanks.

Regards,

Anthony Liguori


v2:
  - actually remove virtconsole_exitfn()

Amit Shah (2):
   qdev: Add a 'free' method to disassociate chardev from qdev device
   virtio-console: no need to remove char handlers explicitly

  hw/qdev-properties.c |   11 +++++++++++
  hw/virtio-console.c  |   17 -----------------
  2 files changed, 11 insertions(+), 17 deletions(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]