summaryrefslogtreecommitdiff
path: root/src/qemu.sh
AgeCommit message (Collapse)Author
2019-10-06for nested kvm, increment the MAC addressAndrew Cady
2019-10-06qemu: moving toward nesting VMsAndrew Cady
2019-10-05remove deprecated qemu argumentAndrew Cady
2019-10-04qemu.sh will generate empty samizdat.disk.img as neededAndrew Cady
2019-10-04qemu.sh: support 32bitAndrew Cady
2019-06-18avoid hard-coded IP address for nbd serverAndrew Cady
2018-06-13Update for newer versions of qemuAndrew Cady
(The new qemu warns about opening a file as a raw disk image unless `raw` is specified explicitly.)
2018-06-13Update for newer versions of nbd-clientAndrew Cady
The kernel commandline syntax for `nbdroot=...` changed.
2018-02-07parameterize $NBD_FILENAMEAndrew Cady
2017-03-28Use pxelinux "ipappend" option to choose rootfs sourceAndrew Cady
This fixes the issue described in the first 'netkeys' commit, where the network would need to be available even when it was not used. The "ipappend" option results in a $BOOTIF variable in the initrd environment. This variable is now used to determine whether to wait on the network for a rootfs & keys, or to wait on the boot device becoming available to determine whether it has the keys. That is, there may or may not be a boot device which may or may not have keys and/or rootfs, but we will always know for sure whether it does, therefore there are no races and no waiting on the network unnecessarily. The qemu.sh script was updated to provide the BOOTIF variable when PXE boot is emulated.
2017-03-28Implement boot parameter "netkeys"Andrew Cady
This allows the keys to be loaded from the boot medium even when the root filesystem is loaded over the network. I.e., specifying nbdroot= no longer implies that the keys will be loaded over the network. The ISO images generated by xorriso-usb.sh will not specify 'netkeys' so the keys on the USB stick will be used. The idea is that after install, the network should not be needed at all; but that requires using a new mechanism instead of the nbdroot= parameter, to determine dynamically whether to use a network root fs device. Currently, the network is still needed to boot a device that has its root fs on the local disk and the keys on the boot medium, even though no data is fetched from the NBD server. You can force the machine to boot by going to the initramfs shell and running: for n in $(seq 1 20); do killall ipconfig; done Otherwise it blocks waiting for the network.
2017-03-25qemu script will use built-in linux loader by defaultAndrew Cady
The script was modified so that it would still use PXE to load the other things that are loaded during network boot. The network style booting is also now the default This is the fastest way to boot, though it does not permit testing the bootloader on the CDROM or the PXE boot setup. To test the bootloader, you must now export SLOW_BOOT=y To boot from CDROM image, you must export USE_ISO=y
2016-05-03fix everythingAndrew Cady
2016-04-29more path fixesAndrew Cady
2016-04-29fix paths (in progress)Andrew Cady