Using QEMU

Using QEMU allows you to run a virtual machine on a UNIX system. Unlike other emulators, QEMU is a generic emulator – which means that it is portable, and that it emulates more than one system. There are versions for Windows, MacOS X, Linux, and OpenSolaris.

The QEMU emulator allows you to emulate an i386, an AMD-64, PowerPC, SPARC, and others. Not all are usable, but the i386, AMD-64, and PowerPC are usable.

Running QEMU on a Pentium III results in a slow emulated machine, but it is usable. Running Windows 2000 in 128M or 256M of memory is not too bad if you are patient. Running it on a modern machine is much more useful and much easier on the patience.

QEMU has some nifty features. The monitor, for instance, can be attached to a virtual console, to a pseudoterminal, or to a serial port. Likewise, the emulated serial port can be attached to a pseudoterminal, to a host serial port, or other locations – and more than one serial port is possible.

One very interesting feature is that the emulated machine can use a VNC session for its display, allowing you to access the host machine from anywhere on the network that you have a VNC viewer. This also suggests that you could have multiple emulated machines running, with all of them available over the network to VNC clients.

Unfortunately, there are no reliable control panels, and only two session managers for standard installations (or perhaps only one if you’ve not installed QT 4 yet). The only innate method of controlling QEMU emulators is through the text console. There is Qtemu (which, on my FreeBSD system, required all of QT4 to be installed), and there is qemu-launcher (which only requires the basics that are on any system). Unfortunately, QTEMU does not provide a way to open an existing virtual machine, nor does it offer a way to utilize machines and info created by qemu-launcher.

The only control panel I could find was the one used by qemu-launcher, qemuctl – which crashes.

Using Linux with OpenVMS (and DECnet)

Recently, I had the chance to get a book that described how to make OpenVMS work with Linux.  Unfortunately, the entire book was 1) a list of screen-shots, and 2) about how to get OpenVMS 7 to act like (or interact with) Red Hat 7.

I was hoping for more details, and so on.  I was also hoping for documentation on how to get Linux to support OpenVMS networking and data and so forth.  The biggest project in this area is the Linux DECnet project, which wasn’t mentioned even once.

Well…. I went looking.  I’m not a OpenVMS wizard (yet!) but there are many tools that seem to be quite nice, though many of them aren’t maintained any longer:

Support for DECnet is now included in the kernel, though the Linux DECnet Project still has some excellent documentation like this DECnet FAQ.  There is a nice (though old) article about DECnet from Linux Journal.

Remember: I can’t vouch for any of these – it just seemed to me that projects like these are not likely to be known, and I wanted to get them out there.

One aside: it turns out there is a shop that provides VAX emulators, PDP-11 emulators, and Alpha emulators for running OpenVMS on Windows: Salem Automation Incorporated is probably best known for CHARON-VAX, though they have all of the others as well. There is a personal version of the CHARON Alpha Emulator.  Again, I can’t vouch for them, but I do know that CHARON-VAX in the past seems to have been quite popular and well respected – but your experience may vary.