On Tue, Feb 21, 2017 at 01:09:43PM +0000, Jeremy Stanley wrote:
> On 2017-02-21 06:24:20 -0500 (-0500), Clint Byrum wrote:
> [...]
> > Why not just make it a virtual USB drive that ejects and
> > re-attaches on changes?
> [...]
> 
> Is there a graceful way to trigger that from the host so that the
> guest knows to unmount it prior to ejection? Or is that not actually
> necessary?

No, there's no way to coordinate USB removal with the guest - you would
just be ripping the drive out from under the guest and expecting the
guest to clean up its mounts if it had it mounted. Not too pleasant,
but also not an entirely unusual scenario for an OS to deal with. After
all, users of physical hardware sometimes pull out USB sticks without
going through any unmount / safe remove process.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to