]> xenbits.xensource.com Git - xen.git/commit
docs: correct values for old VMDP unplug
authorOlaf Hering <olaf@aepfle.de>
Mon, 19 Sep 2016 09:29:46 +0000 (09:29 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 19 Sep 2016 11:33:11 +0000 (12:33 +0100)
commitde4e4fd12bdca17cb3511e9bfc8f2c1e94c09a7d
tree7de1d9053863c0fbeec16cbf6b4afd777f3d3c8e
parent6bd621d7010bb8561196aedf5198d5fe7c146822
docs: correct values for old VMDP unplug

Fix commit f6d4cf5 ("docs: document old SUSE/Novell unplug for HVM").
The values which VMDP used to control either NIC or disk are flipped.
What the code does is:

     case 8:
        if (val == 1 ) {
                ide_unplug_harddisks();
        } else if (val == 2) {
                pci_unplug_netifs();
                net_tap_shutdown_all();
        }
        break;

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
docs/misc/hvm-emulated-unplug.markdown