• J
    chardev: Use timer instead of bottom-half to postpone open event · ac4119c0
    Jan Kiszka 提交于
    As the block layer may decide to flush bottom-halfs while the machine is
    still initializing (e.g. to read geometry data from the disk), our
    postponed open event may be processed before the last frontend
    registered with a muxed chardev.
    
    Until the semantics of BHs have been clarified, use an expired timer to
    achieve the same effect (suggested by Paolo Bonzini). This requires to
    perform the alarm timer initialization earlier as otherwise timer
    subsystem can be used before being ready.
    Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
    ac4119c0
qemu-char.c 74.9 KB