diff options
author | Bandan Das <bsd@redhat.com> | 2018-07-20 17:40:20 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-08-21 10:27:59 +0200 |
commit | 15aa757d0523b9d6fb26ea1e5c967ba0619dce0a (patch) | |
tree | 56f74a419ec149c23072f154ef391422604215d8 /hw/usb | |
parent | 3e096650a64daaac261c289b569362b06995e379 (diff) | |
download | qemu-15aa757d0523b9d6fb26ea1e5c967ba0619dce0a.zip qemu-15aa757d0523b9d6fb26ea1e5c967ba0619dce0a.tar.gz qemu-15aa757d0523b9d6fb26ea1e5c967ba0619dce0a.tar.bz2 |
dev-mtp: rename x-root to rootdir
x-root was renamed as such owing to the experimental nature of the
property; the underlying filesystem semantics were undecided
Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 20180720214020.22897-6-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/dev-mtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c index 2e3ea58..3fdc4b0 100644 --- a/hw/usb/dev-mtp.c +++ b/hw/usb/dev-mtp.c @@ -2018,7 +2018,7 @@ static void usb_mtp_realize(USBDevice *dev, Error **errp) QTAILQ_INIT(&s->objects); if (s->desc == NULL) { if (s->root == NULL) { - error_setg(errp, "usb-mtp: x-root property must be configured"); + error_setg(errp, "usb-mtp: rootdir property must be configured"); return; } s->desc = strrchr(s->root, '/'); @@ -2047,7 +2047,7 @@ static const VMStateDescription vmstate_usb_mtp = { }; static Property mtp_properties[] = { - DEFINE_PROP_STRING("x-root", MTPState, root), + DEFINE_PROP_STRING("rootdir", MTPState, root), DEFINE_PROP_STRING("desc", MTPState, desc), DEFINE_PROP_BOOL("readonly", MTPState, readonly, true), DEFINE_PROP_END_OF_LIST(), |