From 426ccfcc41cba4d709f125811fbd66abd74653e9 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Wed, 31 Mar 2010 13:37:43 -0300 Subject: [PATCH 4/4] QMP: Fix Spice event names RH-Author: Luiz Capitulino Message-id: <1270042663-32131-3-git-send-email-lcapitulino@redhat.com> Patchwork-id: 8270 O-Subject: [PATCH 2/2] QMP: Fix Spice event names Bugzilla: 578493 RH-Acked-by: Daniel P. Berrange RH-Acked-by: Juan Quintela RH-Acked-by: Gerd Hoffmann We must use our vendor extension prefix for all protocol visible names (ie. commands and events), I missed this in the review of the spice events patches, so I'm fixing it now. Reported-by Daniel P. Berrange Signed-off-by: Luiz Capitulino --- monitor.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Eduardo Habkost --- monitor.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor.c b/monitor.c index 967d565..6eb26fd 100644 --- a/monitor.c +++ b/monitor.c @@ -428,10 +428,10 @@ void monitor_protocol_event(MonitorEvent event, QObject *data) event_name = "VNC_DISCONNECTED"; break; case QEVENT_SPICE_INITIALIZED: - event_name = "SPICE_INITIALIZED"; + event_name = RFQDN_REDHAT "SPICE_INITIALIZED"; break; case QEVENT_SPICE_DISCONNECTED: - event_name = "SPICE_DISCONNECTED"; + event_name = RFQDN_REDHAT "SPICE_DISCONNECTED"; break; case QEVENT_BLOCK_IO_ERROR: event_name = "BLOCK_IO_ERROR"; -- 1.7.0.3