GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
768 stars 258 forks source link

virtualbox gns3 vm 2.2.40.1 has KVM support available False #2254

Closed josephmhiggins closed 1 year ago

josephmhiggins commented 1 year ago

gns3 vm 2.2.40.1 has KVM support available False gns3 vm 2.2.39 has KVM support available True

This is from this post, https://gns3.com/community/featured/gns3-virtualbox-not-support-kvm, But that post has nothing to do with this problem. I never explicitly installed 2.2.40.1 and only had 2.2.39 installed until now to verify OP's complaint. But, like I wrote, at least I know just about everything Windows 10 and 11 VBS.

josephmhiggins commented 1 year ago

vbox 2 2 39 vbox 2 2 40 1

josephmhiggins commented 1 year ago

oh, vt-x is greyed out in virtualbox - i can not enable it. i do not know why. i will look at it tomorrow.

josephmhiggins commented 1 year ago

oh, i put gns3 vm 2.2.39 back in today. and now it says: gns3 vm 2.2.39 has KVM support available False

From yesteday's working gns3 vm 2.2.39 vbox.log: 00:00:07.816889 NestedHWVirt = 0x0000000000000001 (1) From today's broken gns3 vm 2.2.39 00:00:07.908379 NestedHWVirt = 0x0000000000000000 (0)

These set of powershell commands I believe fix it, but do nothing: VBoxManage list vms VBoxManage showvminfo "GNS3 VM" & VboxManage --% modifyvm "GNS3 VM" --hwvirtex on VBoxManage showvminfo "GNS3 VM"

I will have to search the registry for virtualbox and vbox to see if they are hiding somewhere. Then I will have to uninstall virtualbox, reboot, and reinstall virtualbox It takes me awhile to reboot because I have to go around and make sure all my stuff is in properly saved before I shutdown.

josephmhiggins commented 1 year ago

I have the bogey in a backup of 'GNS3 VM.vbox-prev'

  <CPU count="3">
    <PAE enabled="true"/>
    <NestedHWVirt enabled="true"/>
    <LongMode enabled="true"/>
    <X2APIC enabled="true"/>
    <HardwareVirtExLargePages enabled="false"/>
  </CPU>

    <NestedHWVirt enabled="true"/> does not exist in the contemporary files.
josephmhiggins commented 1 year ago

For gns3 vm 2.2.39 only, In user, non-admin mode in windows powershell & vboxmanage showvminfo "GNS3 VM" ...Nested VT-x/AMD-V: disabled & vboxmanage --% modifyvm "GNS3 VM" --nested-hw-virt=on & vboxmanage showvminfo "GNS3 VM"

...Nested VT-x/AMD-V: enabled

  <CPU>
    <PAE enabled="true"/>
    <NestedHWVirt enabled="true"/>
    <LongMode enabled="true"/>
    <X2APIC enabled="true"/>
    <HardwareVirtExLargePages enabled="false"/>
  </CPU>

gns3 vm 2.2.39 KVM support available: True

I will deal with 2.2.40.1 at a later time. https://docs.oracle.com/en/virtualization/virtualbox/6.0/admin/nested-virt.html

I did not reboot, nor uninstall virtualbox. I was closing down my webpages one at a time prior to rebooting and the browser was open to the page with the answer.

josephmhiggins commented 1 year ago

I can not test my fix because of this virtualbox bug that was just "recognized"by the virtualbox folks 2 weeks ago: https://forums.virtualbox.org/viewtopic.php?f=7&t=108816 It drives the GNS3 VM to 100% cpu and it becomes unusable.

josephmhiggins commented 1 year ago

I think I can close this because virtualbox 7.0.8 is completely dead to me. I am uninstalling it. I will deal with virtualbox in August.