chardev/spice: make qemu_chr_open_spice_port static
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20201014121120.13482-4-kraxel@redhat.com
This commit is contained in:
parent
e220cf8662
commit
70122d6230
@ -296,10 +296,10 @@ static void qemu_chr_open_spice_vmc(Chardev *chr,
|
|||||||
chr_open(chr, type);
|
chr_open(chr, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
void qemu_chr_open_spice_port(Chardev *chr,
|
static void qemu_chr_open_spice_port(Chardev *chr,
|
||||||
ChardevBackend *backend,
|
ChardevBackend *backend,
|
||||||
bool *be_opened,
|
bool *be_opened,
|
||||||
Error **errp)
|
Error **errp)
|
||||||
{
|
{
|
||||||
ChardevSpicePort *spiceport = backend->u.spiceport.data;
|
ChardevSpicePort *spiceport = backend->u.spiceport.data;
|
||||||
const char *name = spiceport->fqdn;
|
const char *name = spiceport->fqdn;
|
||||||
|
@ -24,7 +24,4 @@ typedef struct SpiceChardev SpiceChardev;
|
|||||||
DECLARE_INSTANCE_CHECKER(SpiceChardev, SPICE_CHARDEV,
|
DECLARE_INSTANCE_CHECKER(SpiceChardev, SPICE_CHARDEV,
|
||||||
TYPE_CHARDEV_SPICE)
|
TYPE_CHARDEV_SPICE)
|
||||||
|
|
||||||
void qemu_chr_open_spice_port(Chardev *chr, ChardevBackend *backend,
|
|
||||||
bool *be_opened, Error **errp);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user