You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Matthew Ritchie <ri...@gmail.com> on 2024/09/24 13:52:44 UTC

KMV disable hotplug

Hi all,

I am using KVM with Cloudstack 4.17.2.

When a windows vm is created the virtIO devices appear at the taskbar as
available to unplug.

Is there a way to disable hotplug functionality or another way to restrict
hot-unplugging?

regards
Mat

Re: KMV disable hotplug

Posted by Nux <nu...@li.nux.ro>.
It's a known Windows issue, if we can call it that.
Hotplug is a very valid and useful feature, but perhaps showing it so 
easily in the taskbar can confuse certain users.
It can be "fixed" with regedit.

Random search results (it's about the same issue on VMWare):
https://www.v-front.de/2014/02/various-ways-to-address-safely-remove.html 
- check point 4 (or 3)
https://helgeklein.com/blog/removing-eject-vmware-virtual-disk-scsi-disk-device/

On 2024-09-27 05:36, Rohit Yadav wrote:
> Hi Mat,
> 
> This sounds like an OS issue, I think you can explore if there's 
> something in your template you can configure to disable users from 
> unplugging.
> 
> Since 4.17 is old now, there's perhaps something in the extraconfig you 
> can pass but you'll need to investigate if libvirt/kvm has any 
> confgiuration to disable hot-plugin feature  and then use extraconfig 
> [1]. That said, I wouldn't advise you to explore this, just explore if 
> you can the OS.
> 
> [1] 
> https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/
> 
> 
> Regards.
> 
> 
> 
> 
> ________________________________
> From: Matthew Ritchie <ri...@gmail.com>
> Sent: Tuesday, September 24, 2024 19:22
> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
> Subject: KMV disable hotplug
> 
> Hi all,
> 
> I am using KVM with Cloudstack 4.17.2.
> 
> When a windows vm is created the virtIO devices appear at the taskbar 
> as
> available to unplug.
> 
> Is there a way to disable hotplug functionality or another way to 
> restrict
> hot-unplugging?
> 
> regards
> Mat

Re: KMV disable hotplug

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Mat,

This sounds like an OS issue, I think you can explore if there's something in your template you can configure to disable users from unplugging.

Since 4.17 is old now, there's perhaps something in the extraconfig you can pass but you'll need to investigate if libvirt/kvm has any confgiuration to disable hot-plugin feature  and then use extraconfig [1]. That said, I wouldn't advise you to explore this, just explore if you can the OS.

[1] https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/


Regards.

 


________________________________
From: Matthew Ritchie <ri...@gmail.com>
Sent: Tuesday, September 24, 2024 19:22
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: KMV disable hotplug

Hi all,

I am using KVM with Cloudstack 4.17.2.

When a windows vm is created the virtIO devices appear at the taskbar as
available to unplug.

Is there a way to disable hotplug functionality or another way to restrict
hot-unplugging?

regards
Mat