Hi, > > According to the comments in the kernel, a non existent shared region > > has a length of (u64)-1.
virtio spec says the same. > > + case VIRTIO_MMIO_SHM_LEN_LOW: > > + case VIRTIO_MMIO_SHM_LEN_HIGH: > > + /* > > + * VIRTIO_MMIO_SHM_SEL is unimplemented > > + * according to the linux driver, if region length is -1 > > + * the shared memory doesn't exist > > + */ > > + return -1; Acked-by: Gerd Hoffmann <kra...@redhat.com> take care, Gerd