Rename the virtio port for streaming

The name 'com.redhat.stream.0' is too generic and in no way denotes it
belongs to SPICE. It is preferred to have the project's domain in the
name and Red Hat doesn't own the project. Rename it to
org.spice-space.stream.0.

Signed-off-by: Lukáš Hrázký <lhrazky@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Lukáš Hrázký 2018-04-05 16:46:06 +02:00
parent 50e43f1161
commit 68b6211865
2 changed files with 2 additions and 2 deletions

View File

@ -3145,7 +3145,7 @@ static int spice_server_char_device_add_interface(SpiceServer *reds,
else if (strcmp(char_device->subtype, SUBTYPE_PORT) == 0) {
if (strcmp(char_device->portname, "org.spice-space.webdav.0") == 0) {
dev_state = spicevmc_device_connect(reds, char_device, SPICE_CHANNEL_WEBDAV);
} else if (strcmp(char_device->portname, "com.redhat.stream.0") == 0) {
} else if (strcmp(char_device->portname, "org.spice-space.stream.0") == 0) {
dev_state = RED_CHAR_DEVICE(stream_device_connect(reds, char_device));
} else {
dev_state = spicevmc_device_connect(reds, char_device, SPICE_CHANNEL_PORT);

View File

@ -107,7 +107,7 @@ static SpiceCharDeviceInterface vmc_interface = {
// this specifically creates a stream device
static SpiceCharDeviceInstance vmc_instance = {
.subtype = "port",
.portname = "com.redhat.stream.0",
.portname = "org.spice-space.stream.0",
};
static uint8_t *add_stream_hdr(uint8_t *p, StreamMsgType type, uint32_t size)