Dumas Walker wrote to All <=-
@VIA: VERT/CAPCITY2
@TZ: c12c
I have a few questions about running a linux distro in a vm on a linux box. I have read up about how to get Ethernet working over a bridge,
but have not yet got to installing the system, etc.
(1) When the qemu session is running, is it smart to use the xserver on the vm instance? If I am not using the xserver and running the vm instance in console mode, will qemu catch certain keystrokes like ctrl-alt-2 so I can switch to tty2 (for example) or will that keystroke combo be interpreted by the host machine?
It depends on the purpose of the VM. For example: I have a VM that
handles just mail. I have no XServer on it because I only access it
through shell or with the email client.
However, I have a VM or two that I keep around to test out different distributions of Linux or run a Windows app or two and those have full
graphics capabilities.
(2) If I can follow the directions and get the Ethernet bride working correctly, so that the network can see both the host and vm, I assume I can also do things like mount nfs shares in the vm. Is that a correct assumption?
If you are using QEMU/KVM or LXD you can.
(3) Will I be able to access other hardware while in the vm, like a usb port and whatever might be connected to it?
Yes. It must be in the config file of the guest OS. If you are using
QEMU/KVM I suggest virt-manager to help you visualize the management of
the config files. It makes it a lot easier and faster than writing
your own config files.
I have a VM on my server that I use virt-manager to remote into and
then share my USB microphone with to do dictation.
I have run DOS in a vm on a linux box, but I expect this to be
different. :)
Happy computing. I have a few servers. Most have both KVM/QEMU and
LXD virtuals/containers on them. I've found that VirtualBox does a
wonderful job. It's just that it is very similar to KVM/QEMU and I
don't see a purpose for it on a Linux Machine. However, I do have
VirtualBox running on my Microsoft Hosts.
---
þ Synchronet þ CAPCITY2 * CCO BBS * capcity2.synchro.net
__ __
__ / /__ _______ __ __ __ / /
/ // / _ `/_ /_ // // / / // /
\___/\_,_//__/__/\_, /__\___/
/___/___/
... Jay's Cafe' tn://bbs.jayscafe.net:23 - TW2002 - 15 players 5 nodes
--- MultiMail/Linux v0.49
þ Synchronet þ JAYSCAFE2 - jayscafe2.jayctheriot.com