mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-27 03:18:59 +00:00
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:
parent
50e43f1161
commit
68b6211865
@ -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);
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user