On 6 June 2012 00:51, Anthony Liguori <aligu...@us.ibm.com> wrote: > In the case of a CharDriverState, the reference is always immutable. If we > supported changing char backends dynamically, it would not happen by > changing the reference, but almost certainly by having the ability to reopen > the char driver in place.
Incidentally, we may not support it but we do it anyway; see hw/omap_uart.c omap_uart_attach()... (That's a nasty hack which it would be good to clean up somehow.) -- PMM