Hacker News new | ask | show | jobs
by tetris11 793 days ago

    # create disk image 
    qemu-img create -f qcow2 win95.img 10G
    # install win95 from iso
    qemu-system-x86_64 -m 256 -hda win95.img -cdrom windows95.iso -boot d
    # boot the disk
    qemu-system-x86_64 -m 256 -hda win95.img
1 comments

Now configure the network card on that thing
On most builds of QEMU, that command will start a VM with an e1000 card networked through SLIRP. It's the equivalent of something like:

  -netdev user,id=net0 -device e1000,netdev=net0