* attempt to offer appropriate setting of ignore_msrs if needed
* Removed done TODO
* Revert "Removed done TODO"
to resolve merge conflict since all TODOS removed upstream
This reverts commit eb18fcf82932489534e3c9a244e124740dfcdf01.
During the Windows install network interfaces are completely disabled! This is to allow those users who want to create local accounts to do so.
A side affect is that the first time Windows boots with the QEMU network enabled it will blue screen,
automatically restart and then boot normally with fully functioning networking.,
```
qemu-system-x86_64: -device virtio-vga,xres=,yres=: Parameter 'xres' expects uint64
```
This fixes a typo in the name of the variable used to determine a sane resolution for linux guests.
This feature was originally developed for Linux guests. macOS doesn't honur it and not Windows automatically installs all the required drivers it is not required for Windows either.
* Fix port scan. Don't send a new line character when scanning.
* Fix port scanning. Possible infinite loop when all range of ports is busy.
Changed port scanning scheme from random to linear because this is the same faster but more predictable.
* Fix port scan. Don't send a new line character when scanning.
echo -n "" for clarity instead of cat < /dev/null
Co-authored-by: navycat <navycat@ultrasparc>
My system doesn't have xdg-user-dir, and shows the following errors on
startup:
./quickemu: line 828: xdg-user-dir: command not found
mkdir: cannot create directory '': No such file or directory
basename: missing operand
Try 'basename --help' for more information.
Usage
quickemu --vm ubuntu.conf
You can also pass optional parameters
--delete : Delete the disk image.
--display : Select display backend. 'sdl' (default), 'gtk' or 'spice'
--shortcut : Create a desktop shortcut
--snapshot apply <tag> : Apply/restore a snapshot.
--snapshot create <tag> : Create a snapshot.
--snapshot delete <tag> : Delete a snapshot.
--snapshot info : Show disk/snapshot info.
--status-quo : Do not commit any changes to disk/snapshot.
--fullscreen : Starts VM in full screen mode (Ctl+Alt+f to exit)
--screen <screen> : Use specified screen to determine the window size.
--version : Print version
From a quick look it should still function correctly, but better to deal
with this case explicitly.
It's only used to get the PUBLIC, which is optional anyway. If I install
it then it just returns ~, at which point it's set to "" anyway.
I also removed it from the list of "requirements" for this reason.
This also deals with an edge case I happened to notice: "xdg-user-dir
PUBLICSHARE" returns "/home/martin/" on my system, whereas $HOME is
"/home/martin", so the equality check fails. This is arguable a problem
in xdg-user-dir, but better to fix it here. This only deals with a
single slash (multiple slashes is harder in bash), which should be
sufficient.