-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcs: Add SCSIDevice type with remove operation
SCSI devices must be unplugged by the guest before removal on the host side, to ensure smooth operation. Previously a SCSI device was unplugged when a LCOWMappedVirtualDisk entry was removed. However, we want to support multiple mounts per disk, which means we need to decouple unplug from unmount. This change introduces a new SCSIDevice resource type that has a remove operation that can be used by the host to trigger an explicit unplug via SCSI. This is a breaking change to the bridge protocol: - With new host/old guest, the host will attempt a SCSIDevice remove which will fail due to being unsupported by the guest. - With old host/new guest, the host will expect the device to be unplugged when the disk is removed, which will no longer occur. Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters