Get help with HNS VM installation error

32 views
Skip to first unread message

gdr...@gmail.com

unread,
Nov 10, 2018, 4:34:18 AM11/10/18
to qubes-users
Hi,

I'm trying to install a VM in HVM mode called HNS (hybrid network simulation).

Based on Debian, HNS seems to run on KVM/QEMU.

I followed the step-by-step installation instructions : https://www.hynesim.org/installation-pas-a-pas/

Edit /etc/hynesim/hynesim-node.ini

Add support for KVM/QEMU :

KvmQemu/dummy = 1

I am having an issue relating to kvm_intel module into the Qubes OS 4.0 environment.

Cleanup prior to restarting the hynesim-node service :

$ /etc/init.d/hynesim-node cleanup
[...]
Failed to stop vboxdrv.service: Unit vboxdrv.service not loaded.
modprobe: ERROR: could not insert 'kvm_intel': Operation not supported
Module unloading failed: kvm_intel
[...]

How can I fix it ?

Any help and advice would be greatly appreciated.

Best regards.

GD Rub

awokd

unread,
Nov 10, 2018, 10:36:23 AM11/10/18
to qubes...@googlegroups.com
gdr...@gmail.com:
> Hi,
>
> I'm trying to install a VM in HVM mode called HNS (hybrid network simulation).
>
> Based on Debian, HNS seems to run on KVM/QEMU.

Running a hypervisor like KVM inside another hypervisor like Xen is
known as "nested virtualization". This is disabled and not supported in
Qubes.

unman

unread,
Nov 10, 2018, 8:58:10 PM11/10/18
to qubes...@googlegroups.com
I think that gdrub51 is saying that HNS runs under KVM, and they want to
run it under Qubes, *not* that they are trying to run KVM within Qubes.

In any case, I dont believe that nested virtualization is "disabled"
under Qubes. Not suppported certainly, but that's different.

unman

awokd

unread,
Nov 11, 2018, 2:06:08 AM11/11/18
to qubes...@googlegroups.com
unman:
> On Sat, Nov 10, 2018 at 03:36:09PM +0000, 'awokd' via qubes-users wrote:
>> gdr...@gmail.com:
>>> Hi,
>>>
>>> I'm trying to install a VM in HVM mode called HNS (hybrid network simulation).
>>>
>>> Based on Debian, HNS seems to run on KVM/QEMU.
>>
>> Running a hypervisor like KVM inside another hypervisor like Xen is known as
>> "nested virtualization". This is disabled and not supported in Qubes.
>
> I think that gdrub51 is saying that HNS runs under KVM, and they want to
> run it under Qubes, *not* that they are trying to run KVM within Qubes.

OK.

> In any case, I dont believe that nested virtualization is "disabled"
> under Qubes. Not suppported certainly, but that's different.

https://groups.google.com/d/msg/qubes-users/BwQskBAvMtY/AzZQ7Y-NAAAJ
https://groups.google.com/d/msg/qubes-users/Y3P_moY4QN0/PdYhFWCvCAAJ

Don't believe nestedhvm=1 out of the box. Ergo, it's disabled (at least
for type 1 hypervisors). :)


GDRUB

unread,
Nov 11, 2018, 9:23:00 AM11/11/18
to awokd, qubes...@googlegroups.com, un...@thirdeyesecurity.org

Hi,

8.1.4   Importing virtual machines (p40) : https://brage.bibsys.no/xmlui/bitstream/handle/11250/216822/ADalmo_MGKnudsen_JLovbraten.pdf

"Hynesim is not a hypervisor in itself, and therefore relies on other software to do the creation and running of the virtual machines."

GD.

unman

unread,
Nov 11, 2018, 10:32:49 AM11/11/18
to qubes...@googlegroups.com
Those discussions are pretty old, and no longer apply to the current
situation.

nestedhvm=1 is a parameter set at the VM level. It need not be set to
get nested virtualization in Qubes4.0

I regularly run Qubes nested, both Live images and installed HVMs, and
it requires no special parameter setting. Both Live and installed work
out of the box - there's certainly nothing disabled.

unman

awokd

unread,
Nov 11, 2018, 9:28:15 PM11/11/18
to qubes...@googlegroups.com
unman:
> I regularly run Qubes nested, both Live images and installed HVMs, and
> it requires no special parameter setting. Both Live and installed work
> out of the box - there's certainly nothing disabled.

Interesting, thanks. Hadn't seen anywhere the situation had changed!

Reply all
Reply to author
Forward
0 new messages