Hi Piotr,

Is should be possible via domain XML manupulation: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-virtualization-adding_storage_devices_to_guests-adding_hard_drives_and_other_block_devices_to_a_guest

I'm not sure if extraconfig can allow that though, however, you can use the 
agent hooks feature to rewrite parts of the domain XML: 
https://github.com/apache/cloudstack/blob/main/agent/conf/agent.properties#L110



Regards.

 


________________________________
From: Piotr Pisz <[email protected]>
Sent: Saturday, March 2, 2024 15:24
To: [email protected] <[email protected]>
Subject: /dev/sdX passthrough to vm

Hi



Is it possible to add the /dev/sdx disk from host to the VM via extra
config?

Could I ask for an example?



Regards,

Piotr



Reply via email to