Need testers for Bochs VMX support
Need testers for Bochs VMX support
Looking for testers for Bochs VMX support.
I have working version of Bochs with VMX support including most of the required functionality.
I hope anybody have something meaningful to play with on this version !
Thanks,
Stanislav
I have working version of Bochs with VMX support including most of the required functionality.
I hope anybody have something meaningful to play with on this version !
Thanks,
Stanislav
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Need testers for Bochs VMX support
Will VMX become the default for x86?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Need testers for Bochs VMX support
If you like it couldLove4Boobies wrote:Will VMX become the default for x86?
Stanislav
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Need testers for Bochs VMX support
Well I for one think it's a good idea I'd like to test... Do you have precompiled binaries or do I have to build it?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Need testers for Bochs VMX support
Is it like something taking advantage AMD-V or Intel VT-x like the way VirtualBox or Hyper-V does? Or is it some kind of set of specialized drivers for a guest OS to take advantage of special features?
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: Need testers for Bochs VMX support
If it works on x86_64 I'll test it, otherwise I can't
Re: Need testers for Bochs VMX support
No, it will help you ONLY if you writing your own Hyper-V engine and have no why it doesn't work.Troy Martin wrote:Is it like something taking advantage AMD-V or Intel VT-x like the way VirtualBox or Hyper-V does? Or is it some kind of set of specialized drivers for a guest OS to take advantage of special features?
This is complete emulation of VMX hardware, not getting advantage of host VMX hardware (take Xen if you need it).
If you still need it - I'll post sources + precompiled Windows binaries here in the middle of next week.
Stanislav
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Need testers for Bochs VMX support
Oh, I thought Bochs was taking advantage of VMX not emulating it That's still nice and I am up for testing; still, why not take advantage of this technology on compatible processors?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Need testers for Bochs VMX support
I see two ways of testing this:
- by running your own VMX code (which in my case, has yet to be written, as well as a buch of other dependencies)
- by installing a VM inside bochs (which everybody can do).
what would be fun is installing virtualPC in bochs in virtualPC in bochs
- by running your own VMX code (which in my case, has yet to be written, as well as a buch of other dependencies)
- by installing a VM inside bochs (which everybody can do).
what would be fun is installing virtualPC in bochs in virtualPC in bochs
Re: Need testers for Bochs VMX support
I don't know about fun - slow would perhaps be a better choice of descriptionCombuster wrote:what would be fun is installing virtualPC in bochs in virtualPC in bochs
Cheers,
Adam
Re: Need testers for Bochs VMX support
If this happened you would lose your all-important Bochs processor state dump. when running native code, it's much harder for an emulator to keep a precise state.Love4Boobies wrote:Oh, I thought Bochs was taking advantage of VMX not emulating it That's still nice and I am up for testing; still, why not take advantage of this technology on compatible processors?
Re: Need testers for Bochs VMX support
If somebody still interested:
Attached VMX emulation patch.
Apply to CVS from 23 Jan 2009.
You are welcome to try to run Xen or kvm inside Bochs, this time I am pretty optimistic and believe it should run !
Waiting for any feedback.
Thanks,
Stanislav
----------------------------------------------------------------------
Patch name: VMX emulation
Date: 23 Jan 2009
Status:
VMX emulation support for Bochs.
Almost complete Core 2 Duo VMX support, not implemented yet:
- dual-monitor treatment of SMIs not implemented
- APIC virtualization not implemented yet
- NMI virtualization not implemented yet
- VMENTER to not-active state not implemented yet
Also I made my own VMCS layout, not compatible with any existing
hardware + VMCS revision id (0xE) not necessary related to
existing Intel hardware.
Instructions:
To patch, apply patch to main bochs directory:
> patch -p1 < vmx-patch
Automatically generated files skipped from this patch to
reduce its absolute size.
To regenerate configure file:
> autoconf configure.in > configure
Attached VMX emulation patch.
Apply to CVS from 23 Jan 2009.
You are welcome to try to run Xen or kvm inside Bochs, this time I am pretty optimistic and believe it should run !
Waiting for any feedback.
Thanks,
Stanislav
----------------------------------------------------------------------
Patch name: VMX emulation
Date: 23 Jan 2009
Status:
VMX emulation support for Bochs.
Almost complete Core 2 Duo VMX support, not implemented yet:
- dual-monitor treatment of SMIs not implemented
- APIC virtualization not implemented yet
- NMI virtualization not implemented yet
- VMENTER to not-active state not implemented yet
Also I made my own VMCS layout, not compatible with any existing
hardware + VMCS revision id (0xE) not necessary related to
existing Intel hardware.
Instructions:
To patch, apply patch to main bochs directory:
> patch -p1 < vmx-patch
Automatically generated files skipped from this patch to
reduce its absolute size.
To regenerate configure file:
> autoconf configure.in > configure
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Need testers for Bochs VMX support
Will patch right away. Won't this be included in the CVS?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Need testers for Bochs VMX support
Of course, depends on your inputs here. Hope it works fine and I will merge it into the CVS.Love4Boobies wrote:Will patch right away. Won't this be included in the CVS?
Thanks,
Stanislav
Re: Need testers for Bochs VMX support
One major bug fixed - MSR save/restore on VMENTER/VMEXIT was completely broken.
Plus few minor fixes.
New patch:
Plus few minor fixes.
New patch: