VirtualBox hardware task switching
Posted: Tue Feb 01, 2011 6:30 pm
Hey all, Andy McLaughlin here, I develop the Visopsys OS (http://visopsys.org). New to the forum.
I've done a quick search and haven't found the answer, so I'll just go ahead and ask.
I do most of my testing in VMware without problems, but I've had trouble with a couple of other VM programs, and I think the reason is because I use x86 hardware task switching. At least with VirtualPC I'm virtually certain that's the problem as I've discussed it with one of the engineers at MS. Basically, they haven't really bothered to implement hardware switching because the major OSes don't use it.
I'm now trying to debug startup failures in VirtualBox (version 2.2.4 on a CentOS 5.3 host) and it appears to be a similar problem; switching tasks using a far jump to a TSS selector seems to have no effect. At least that's what I think is happening.
I reckon I'm going to have to bite the bullet and implement software task switches (kind of PITA when you've basically got a stable, years-old multitasker) but has anyone had success with hardware task switching in VirtualBox? Anyone know any gotchas?
I've done a quick search and haven't found the answer, so I'll just go ahead and ask.
I do most of my testing in VMware without problems, but I've had trouble with a couple of other VM programs, and I think the reason is because I use x86 hardware task switching. At least with VirtualPC I'm virtually certain that's the problem as I've discussed it with one of the engineers at MS. Basically, they haven't really bothered to implement hardware switching because the major OSes don't use it.
I'm now trying to debug startup failures in VirtualBox (version 2.2.4 on a CentOS 5.3 host) and it appears to be a similar problem; switching tasks using a far jump to a TSS selector seems to have no effect. At least that's what I think is happening.
I reckon I'm going to have to bite the bullet and implement software task switches (kind of PITA when you've basically got a stable, years-old multitasker) but has anyone had success with hardware task switching in VirtualBox? Anyone know any gotchas?