
Greetings, After installing oVirt tools on my w2016 virtual server I've noticed that all devices (nic, disks, etc.) are connected as USB devices and I have option available to eject those devices. Is there any way to prvent those devices being ejected on behalf of VM user? (e.g. make sure noone inside the VM can actually eject nic, disk or something)

Hi, I don't think it is related to the wgt installer but to the vitio-win drivers adding @Vadim Rozenfeld <vrozenfe@redhat.com> and @Gal Hammer <ghammer@redhat.com> On Fri, Aug 2, 2019 at 4:32 PM <old.good.mail@gmail.com> wrote:
Greetings,
After installing oVirt tools on my w2016 virtual server I've noticed that all devices (nic, disks, etc.) are connected as USB devices and I have option available to eject those devices. Is there any way to prvent those devices being ejected on behalf of VM user? (e.g. make sure noone inside the VM can actually eject nic, disk or something) _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PWVBJ3MPW6KKBB...

On Sun, 2019-08-04 at 11:55 +0300, Gal Zaidman wrote:
Hi, I don't think it is related to the wgt installer but to the vitio-win drivers adding @Vadim Rozenfeld and @Gal Hammer
Unfortunately there is no easy way to make a virtio device non- ejectable at the system level.However you can try couple of simple solutions, like removing "Safely Remove Hardware and Eject Media"from the Task Bar or making a simple batch file that will be running on the system startup and zeroingCM_DEVCAP_REMOVABLE bit (bit 4) in device's Capabilities registry parameter. Best,Vadim.
On Fri, Aug 2, 2019 at 4:32 PM <old.good.mail@gmail.com> wrote:
Greetings,
After installing oVirt tools on my w2016 virtual server I've noticed that all devices (nic, disks, etc.) are connected as USB devices and I have option available to eject those devices. Is there any way to prvent those devices being ejected on behalf of VM user? (e.g. make sure noone inside the VM can actually eject nic, disk or something)
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PWVBJ3MPW6KKBB...

Greetings, Thank you for your reply. I do know there is such option in vSphere (you need to modify vm config file for this). Does this option for oVirt is on the roadmap? С уважением, Иванов Алексей. On Mon, Aug 5, 2019 at 5:31 AM Vadim Rozenfeld <vrozenfe@redhat.com> wrote:
On Sun, 2019-08-04 at 11:55 +0300, Gal Zaidman wrote:
Hi,
I don't think it is related to the wgt installer but to the vitio-win drivers adding @Vadim Rozenfeld <vrozenfe@redhat.com> and @Gal Hammer <ghammer@redhat.com>
Unfortunately there is no easy way to make a virtio device non-ejectable at the system level. However you can try couple of simple solutions, like removing "Safely Remove Hardware and Eject Media" from the Task Bar or making a simple batch file that will be running on the system startup and zeroing CM_DEVCAP_REMOVABLE bit (bit 4) in device's Capabilities registry parameter.
Best, Vadim.
On Fri, Aug 2, 2019 at 4:32 PM <old.good.mail@gmail.com> wrote:
Greetings,
After installing oVirt tools on my w2016 virtual server I've noticed that all devices (nic, disks, etc.) are connected as USB devices and I have option available to eject those devices. Is there any way to prvent those devices being ejected on behalf of VM user? (e.g. make sure noone inside the VM can actually eject nic, disk or something) _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PWVBJ3MPW6KKBB...

On Mon, 2019-08-05 at 16:09 +0300, Алексей Иванов wrote:
Greetings, Thank you for your reply. I do know there is such option in vSphere (you need to modify vm config file for this). Does this option for oVirt is on the roadmap?
Hi Alexey.Honestly, I don't recall if we ever were asked to implement it.In any case, it should be doable. You are welcome to file a bug report at https://bugzilla.redhat.com Classification: CommunityProduct: Virtualization ToolsComponent: virtio-win if want to escalate this issue. Best,Vadim.
С уважением, Иванов Алексей.
On Mon, Aug 5, 2019 at 5:31 AM Vadim Rozenfeld <vrozenfe@redhat.com> wrote:
On Sun, 2019-08-04 at 11:55 +0300, Gal Zaidman wrote:
Hi, I don't think it is related to the wgt installer but to the vitio-win drivers adding @Vadim Rozenfeld and @Gal Hammer
Unfortunately there is no easy way to make a virtio device non- ejectable at the system level.However you can try couple of simple solutions, like removing "Safely Remove Hardware and Eject Media"from the Task Bar or making a simple batch file that will be running on the system startup and zeroingCM_DEVCAP_REMOVABLE bit (bit 4) in device's Capabilities registry parameter. Best,Vadim.
On Fri, Aug 2, 2019 at 4:32 PM <old.good.mail@gmail.com> wrote:
Greetings,
After installing oVirt tools on my w2016 virtual server I've noticed that all devices (nic, disks, etc.) are connected as USB devices and I have option available to eject those devices. Is there any way to prvent those devices being ejected on behalf of VM user? (e.g. make sure noone inside the VM can actually eject nic, disk or something)
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PWVBJ3MPW6KKBB...
participants (4)
-
Gal Zaidman
-
old.good.mail@gmail.com
-
Vadim Rozenfeld
-
Алексей Иванов