[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/7] dev-mtp: rename x-root to rootdir
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 7/7] dev-mtp: rename x-root to rootdir |
Date: |
Tue, 21 Aug 2018 11:11:48 +0200 |
From: Bandan Das <address@hidden>
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 <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb/dev-mtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c
index 2e3ea58da6..3fdc4b0da1 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(),
--
2.9.3
- [Qemu-devel] [PULL 0/7] Usb 20180821 patches, Gerd Hoffmann, 2018/08/21
- [Qemu-devel] [PULL 1/7] docs/usb2.txt: ehci has six ports, Gerd Hoffmann, 2018/08/21
- [Qemu-devel] [PULL 2/7] ohci: Clear the interrupt counter for erroneous transfers, Gerd Hoffmann, 2018/08/21
- [Qemu-devel] [PULL 3/7] dev-mtp: add support for canceling transaction, Gerd Hoffmann, 2018/08/21
- [Qemu-devel] [PULL 7/7] dev-mtp: rename x-root to rootdir,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 4/7] dev-mtp: fix buffer allocation for writing file contents, Gerd Hoffmann, 2018/08/21
- [Qemu-devel] [PULL 6/7] dev-mtp: Add support for > 4GB file transfers, Gerd Hoffmann, 2018/08/21
- [Qemu-devel] [PULL 5/7] dev-mtp: retry write for incomplete transfers, Gerd Hoffmann, 2018/08/21
- Re: [Qemu-devel] [PULL 0/7] Usb 20180821 patches, Peter Maydell, 2018/08/23