I want to assign my HDD directly to a specific HVM Qube.
Its connected per Sata.
I already tried with "lspci" or "qvm-pci" but I never find my HDD.
With "qvm-block" I find it at dom0:sdb but how can I assign the complete HDD to a specific Qube even after restart like I can assign PCI devices in the Qubes Device Manager?
The Qube is an HVM which needs to access the HDD because I want to install a Linux based System(Kerio control) which cannot handle the Qubes-System that offers the Space on the System Drive. So I need to pass through a complete HDD that is supported by this System(Kerio-control) I want to install in the HVM.
Hopefully someone got a Solution :)
Thanks so far!
I do not really know how to use this information there.
What should I work myself into first to understand this?
I got a Question about that ....
Somehow I got no templates directory under /etc/qubes?
But I found the xen.xml.
And what does "by-name" mean?
Its just about where to put this file so that Qubes pick it up upon boot of foo.
Thanks Unman for your explanations ! There are just some small glitches in your syntax, here's the right content to put in <yourQubes>.xml file (xen.xml and not xen/xml and not specifying /dev/xvde but xvde):
{% extends 'libvirt/xen.xml' %}
{% block devices %}
{{ super() }}
<disk type='block' device='disk' >
<driver name='phy' />
<source dev='/dev/sdb' />
<target dev='xvde' />
</disk>
{% endblock %}