summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some memory size changes.HEADmasterPaulo Alcantara2019-02-081-3/+3
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Change program name from 'vmhelper' to 'vmhtool'.Paulo Alcantara2018-10-031-0/+0
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Replace '-localtime' with '-rtc base=localtime'Paulo Alcantara2018-09-251-1/+1
| | | | | | The '-localtime' option has been deprecated in newer QEMU versions. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Allow to override default QEMU binary patch with env vars.Paulo Alcantara2018-08-281-4/+18
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Fix minor typo.Paulo Alcantara2018-07-041-1/+1
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Align the vm's name with the remaining fields.Paulo Alcantara2018-07-041-1/+1
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Update help.Paulo Alcantara2018-06-121-2/+2
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Introduce '--ncpus' cmd optionPaulo Alcantara2018-06-121-2/+4
| | | | | | Allow the user to specify how many vCPUs will be used by the guest. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Turn off KASLR by default when passing '--gdb' option.Paulo Alcantara2018-05-251-0/+4
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Introduce --cmdline cmd option.Paulo Alcantara2018-05-251-0/+4
| | | | | | Allow the user to pass extra parameters to the linux kernel cmdline. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Introduce --gdb and --serial cmd optionsPaulo Alcantara2018-05-251-12/+36
| | | | | | | The --gdb option will make it listening on a random TCP port and wait for a gdb conn, and --serial will make the kernel output through serial. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Introduce do_run_vm()Paulo Alcantara2018-05-241-18/+21
| | | | | | Get rid of duplicate code when printing out info about a running guest. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Increase number of vCPUs for all vms.Paulo Alcantara2018-05-211-2/+2
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Fix duplicate bootindex for SCSI drive.Paulo Alcantara2018-05-201-1/+1
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Increase mem size for win and linux guests.Paulo Alcantara2018-05-201-2/+2
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Provide the user with QEMU monitor after starting up vm.Paulo Alcantara2018-05-201-12/+12
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Create bridge on tapPaulo Alcantara2018-05-191-33/+45
| | | | | | That way no need to assign a different ip address for every new tap dev. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Allow setting up ip addresses for tap devs.Paulo Alcantara2018-05-191-3/+12
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Make network bridging optionalPaulo Alcantara2018-05-181-62/+106
| | | | | | | Besides, introduce a '--bridge' cmd option to force creation of a network bridge. Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Add missing "path" word for --rootfs cmd option.Paulo Alcantara2018-05-081-1/+1
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Fix random mac addr generator.Paulo Alcantara2018-05-071-2/+1
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Print out qemu cmd when installing or executing a vm.Paulo Alcantara2018-05-071-3/+18
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Do some code cleanup.Paulo Alcantara2018-05-021-95/+94
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Print out some useful information during execution.Paulo Alcantara2018-04-301-4/+15
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Introduce --disk|-D cmdline optionPaulo Alcantara2018-04-291-2/+30
| | | | | | Allow the user to pass his own hdd images into the guest. Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Introduce --nographic|-N cmdline optionPaulo Alcantara2018-04-181-21/+26
| | | | | | This enables users to start up vms with no display at all. Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Pass USB table only in non-install paths on linux vms.Paulo Alcantara2018-04-171-1/+0
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Fix unclosed conf file when getting vm macaddrPaulo Alcantara2018-04-171-0/+1
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Only generate random macaddr for new vm entriesPaulo Alcantara2018-04-171-12/+15
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Replace USB tablet with default PS/2 mouse on linux guestesPaulo Alcantara2018-04-171-0/+3
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Abort gracefully in case of kernel build/run failures.Paulo Alcantara2018-04-061-19/+45
| | | | Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Dynamically generate network configuration.Paulo Alcantara2018-04-061-28/+102
| | | | | | Also introduces a '--new' option to overwrite existing config files. Signed-off-by: Paulo Alcantara <palcantara@suse.de>
* Fix creation of bridge device.Paulo Alcantara2018-04-041-17/+11
| | | | Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
* Add initial files.Paulo Alcantara2018-04-042-0/+796
Signed-off-by: Paulo Alcantara <paulo@paulo.ac>