Re: [Qemu-devel] [PATCH] virtio-pci: trivial fixes in error message

2018-02-12 Thread Eric Blake

On 02/12/2018 08:18 AM, Greg Kurz wrote:

Signed-off-by: Greg Kurz 
---
  hw/virtio/virtio-pci.c |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index c20537f31de7..ae3e8e1ca9b8 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -1585,7 +1585,7 @@ static void virtio_pci_device_plugged(DeviceState *d, 
Error **errp)
  if (legacy) {
  if (virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM)) {
  error_setg(errp, "VIRTIO_F_IOMMU_PLATFORM was supported by"
-   "neither legacy nor transitional device.");
+   " neither legacy nor transitional device");


Reviewed-by: Eric Blake 

(fixing both the missing space and the unneeded trailing dot)

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.   +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



[Qemu-devel] [PATCH] virtio-pci: trivial fixes in error message

2018-02-12 Thread Greg Kurz
Signed-off-by: Greg Kurz 
---
 hw/virtio/virtio-pci.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index c20537f31de7..ae3e8e1ca9b8 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -1585,7 +1585,7 @@ static void virtio_pci_device_plugged(DeviceState *d, 
Error **errp)
 if (legacy) {
 if (virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM)) {
 error_setg(errp, "VIRTIO_F_IOMMU_PLATFORM was supported by"
-   "neither legacy nor transitional device.");
+   " neither legacy nor transitional device");
 return ;
 }
 /*