mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
qemu-char: Rename opened to be_open
Rename the opened variable to be_open to reflect that it contains the opened state of the backend. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Message-id: 1364292483-16564-2-git-send-email-hdegoede@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99835e0084
commit
16665b943b
5 changed files with 8 additions and 8 deletions
|
@ -100,8 +100,8 @@ static void vmc_state(SpiceCharDeviceInstance *sin, int connected)
|
|||
}
|
||||
#endif
|
||||
|
||||
if ((scd->chr->opened && connected) ||
|
||||
(!scd->chr->opened && !connected)) {
|
||||
if ((scd->chr->be_open && connected) ||
|
||||
(!scd->chr->be_open && !connected)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue