docs: update xl manpage about {block, network}-attach command
PATCH 1/1 docs: update xl manpage about {block, network}-attach command
State that only attaching PV interface is supported.
---
It's probably safe to claim the same for other device types, but I will just stick with the ones I tested at this stage of the release.
--- docs/man/xl.pod.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
docs/man/xl.pod.1 +4 -2
@@ -1284,7 +1284,8 @@ effect to the guest OS is much the same as any hotplug event. =item B<block-attach> I<domain-id> I<disc-spec-component(s)> ... Create a new virtual block device. This will trigger a hotplug event -for the guest. +for the guest. Note that only attaching PV block device is supported, +the B<vdev> field is ignored. B<OPTIONS>
@@ -1367,7 +1368,8 @@ Creates a new network device in the domain specified by I<domain-id>. I<network-device> describes the device to attach, using the same format as the B<vif> string in the domain config file. See L<xl.cfg> and L<http://xenbits.xen.org/docs/unstable/misc/xl-network-configuration.html> -for more informations. +for more informations. Note that only attaching PV network interface is +supported. =item B<network-detach> I<domain-id> I<devid|mac>
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Wei Liu writes ("[PATCH for-4.7] docs: update xl manpage about {block,network}-attach command"):
Quoted 1 line
State that only attaching PV interface is supported.
...
docs/man/xl.pod.1 effect to the guest OS is much the same as any hotplug event. · line 1288
Quoted 4 lines
Create a new virtual block device. This will trigger a hotplug event
docs/man/xl.pod.1 +2
-1-for the guest. +for the guest. Note that only attaching PV block device is supported, +the B<vdev> field is ignored.
But the vdev field specifies more than just the device type. So I think this is wrong.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Ian Jackson
Wei Liu writes ("[PATCH for-4.7] docs: update xl manpage about {block,network}-attach command"):
Quoted 1 line
State that only attaching PV interface is supported.
...
docs/man/xl.pod.1 effect to the guest OS is much the same as any hotplug event. · line 1288
Quoted 4 lines
Create a new virtual block device. This will trigger a hotplug event
docs/man/xl.pod.1 +2
-1-for the guest. +for the guest. Note that only attaching PV block device is supported, +the B<vdev> field is ignored.But the vdev field specifies more than just the device type. So I think this is wrong.
I guess to make things simpler I can just delete the "<vdev>" part?
"Note that only attaching PV block device is supported"
Quoted 2 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Wei Liu writes ("Re: [PATCH for-4.7] docs: update xl manpage about {block,network}-attach command"):
Quoted 1 line · Ian Jackson
...
Quoted 6 lines
Quoted 2 lines
But the vdev field specifies more than just the device type. So I think this is wrong.
I guess to make things simpler I can just delete the "<vdev>" part?
"Note that only attaching PV block device is supported"
How about
Note that only PV block devices are supported by block-attach. Requests to attach emulated devices (eg, vdev=hdc) will result in only the PV view being available to the guest.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines · Ian Jackson
Wei Liu writes ("Re: [PATCH for-4.7] docs: update xl manpage about {block,network}-attach command"):
Quoted 1 line · Ian Jackson
...
Quoted 5 lines
Quoted 2 lines
But the vdev field specifies more than just the device type. So I think this is wrong.
I guess to make things simpler I can just delete the "<vdev>" part?
Quoted 8 lines
Quoted 1 line
"Note that only attaching PV block device is supported"
How about
Note that only PV block devices are supported by block-attach. Requests to attach emulated devices (eg, vdev=hdc) will result in only the PV view being available to the guest.
LGTM. I will update the patch.
Wei.
Quoted 1 line
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 11 lines · Wei Liu
Quoted 10 lines · Ian Jackson
Wei Liu writes ("Re: [PATCH for-4.7] docs: update xl manpage about {block,network}-attach command"):
Quoted 1 line · Ian Jackson
...
Quoted 6 lines
Quoted 2 lines
But the vdev field specifies more than just the device type. So I think this is wrong.
I guess to make things simpler I can just delete the "<vdev>" part?
"Note that only attaching PV block device is supported"
Quoted 9 lines
Quoted 6 lines
How about
Note that only PV block devices are supported by block-attach. Requests to attach emulated devices (eg, vdev=hdc) will result in only the PV view being available to the guest.
LGTM. I will update the patch.
This is the updated patch.
I will commit it soon.
---8<--
From 1bca93e2326e5a644f00de80a72bcab181587489 Mon Sep 17 00:00:00 2001
From: Wei Liu <[email protected]>
Date: Mon, 23 May 2016 12:07:20 +0100
Subject: [PATCH for-4.7 v2] docs: update xl manpage about {block,network}-attach command
State that only attaching PV interface is supported.
---
Use Ian's wording about block-attach and add his S-o-B.
--- docs/man/xl.pod.1 | 6 ++++++ 1 file changed, 6 insertions(+)
docs/man/xl.pod.1 +6 -0
@@ -1286,6 +1286,10 @@ effect to the guest OS is much the same as any hotplug event. Create a new virtual block device. This will trigger a hotplug event for the guest. +Note that only PV block devices are supported by block-attach. +Requests to attach emulated devices (eg, vdev=hdc) will result in only +the PV view being available to the guest. + B<OPTIONS> =over 4
@@ -1369,6 +1373,8 @@ B<vif> string in the domain config file. See L<xl.cfg> and L<http://xenbits.xen.org/docs/unstable/misc/xl-network-configuration.html> for more informations. +Note that only attaching PV network interface is supported. + =item B<network-detach> I<domain-id> I<devid|mac> Removes the network device from the domain specified by I<domain-id>.
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel