aboutsummaryrefslogtreecommitdiff
path: root/spice-qemu-char.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-03-26 11:08:03 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-27 10:26:50 -0500
commite280ff5e9159ed227a117339c1157143627cab96 (patch)
tree857ce8aea0fc1e7195be682bd64c90374ca4e1ef /spice-qemu-char.c
parentbc6b815d9e34778aa7fbe785ecfa0b216c96f576 (diff)
spice-qemu-char: Drop hackish vmc_register on spice_chr_write
Now that the core takes care of fe_open tracking we no longer need this hack. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Message-id: 1364292483-16564-12-git-send-email-hdegoede@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'spice-qemu-char.c')
-rw-r--r--spice-qemu-char.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/spice-qemu-char.c b/spice-qemu-char.c
index d249829624..535f955ca8 100644
--- a/spice-qemu-char.c
+++ b/spice-qemu-char.c
@@ -149,7 +149,6 @@ static int spice_chr_write(CharDriverState *chr, const uint8_t *buf, int len)
{
SpiceCharDriver *s = chr->opaque;
- vmc_register_interface(s);
assert(s->datalen == 0);
if (s->bufsize < len) {
s->bufsize = len;