Skip to content

QMP connect with timeout #214

@rsbhagavatula

Description

@rsbhagavatula

In certain situations (say when a QEMU process has been SIGSTOP'ed), the QMP monitor.Connect() API gets reply blocked on the QEMU instance to respond to a QMP capabilities query. Since the QEMU instance is in a "suspended state", QMP's monitor.Connect() would unblock only after the said QEMU process has been "resumed" via a SIGCONT.

Currently there is no option to timeout the monitor.Connect() function (similar to the NewSocketMonitor() function. Any alternatives?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions