Cole Robinson
10290cbf48
tests: uitests: Fix remote dbus test
...
My last patch broke it!
2018-09-04 13:17:19 -04:00
Cole Robinson
40461c58ef
tests: uitests: Fail if virt-manager is already running
...
We don't want to connect to an existing app and possibly mess
up host state
2018-09-04 12:44:05 -04:00
Povilas Kanapickas
e6c7e46a54
details: Add support for disk detect zeroes option
2018-09-04 11:39:50 -04:00
Povilas Kanapickas
d13b793bfa
details: Add support for disk discard option
2018-09-04 11:39:50 -04:00
Cole Robinson
6f301ba0aa
tests: clitest: Fix failure when isoinfo not installed
...
https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-rawhide/410/display/redirect
support usage cleanup broke self.skip_test
2018-09-04 10:01:20 -04:00
Cole Robinson
ad70393ed9
tests: Fix breakage with libvirt.git
...
https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-rawhide/409/
Added validation to hugepages nodeset. Just drop the test case, we
test it elsewhere too
2018-09-04 09:21:23 -04:00
Cole Robinson
67e139dc5f
tests: magicuri: Fix specifying caps path
2018-09-02 10:06:44 -04:00
Cole Robinson
d5638eb140
osdict: Make qemu_ga support solely dependent on virtio-serial support
...
We shouldn't concern ourselves with whether the OS supports qemu_ga
out of the box, just set up the channel regardless, as long as
virtio-serial is supported.
This adds the channel for some aarch64 cases which didn't have OS
specified, but that's desired IMO
2018-09-01 13:23:01 -04:00
Cole Robinson
0f3b7fcc26
osdict: Make sure virtio1.0 matches virtio lookups
...
Right now this doesn't matter, but possibly a future OS will only
support virtio1.0, and osdict metadata might break us in that case
2018-09-01 13:23:01 -04:00
Cole Robinson
8a87c91888
osdict: Move default_netmodel logic to Guest
...
Make the entry point just return a list of libosinfo device names,
and have Guest choose the preference. This is more future proof
2018-09-01 13:23:01 -04:00
Cole Robinson
b902fbd54f
osdict: Move default_videomodel to guest
...
It's not really osdict specific
2018-09-01 13:23:01 -04:00
Cole Robinson
717cd87b16
osdict: Add helpers for device filtering
2018-09-01 13:23:01 -04:00
Cole Robinson
4e63267a4f
urldetect: Rename urldistro to matching_distros
...
Allow store classes to track multiple matching types, and use this
to ditch the custom urldistro logic in osdict altogether
2018-09-01 13:23:01 -04:00
Cole Robinson
6ce3865576
test_urls: Point to latest fedora dev URL
2018-09-01 13:23:01 -04:00
Cole Robinson
9330548c3c
osdict: Move EOL calculation to its own function
2018-09-01 13:23:01 -04:00
Cole Robinson
6ae8e51901
osdict: Remove unused functions
2018-09-01 13:23:01 -04:00
Cole Robinson
fb1bb26373
support: Drop lots more checks
...
- Remove anything for less than qemu 0.12 or libvirt 0.10, basically
rhel6 vintage stuff
- Open code some simple checks
- Remove some that are only used for unnecessary error reporting
2018-08-31 22:21:15 -04:00
Cole Robinson
a5ef8a2995
support: Drop a few more support checks only used in tests/
2018-08-31 18:31:17 -04:00
Cole Robinson
967ca4eeda
virtinst: Drop direct 'support' usage
...
Except from connection. This requires some reorg in clitest and
some minor changes in a few other places
2018-08-31 18:31:17 -04:00
Cole Robinson
c33e8abcb5
support: Remove some unused checks
2018-08-31 18:31:17 -04:00
Cole Robinson
2eaff7fdcf
support: Remove getversion/getlibversion checks
...
They are only used in one place, just handle it there
2018-08-31 18:31:17 -04:00
Cole Robinson
d8514e19c8
guest: Drop arm vexpress virtio-mmio support
...
This case will still work, but be a bit slower, which is fine. Nowadays
-M virt is much better for virt usage and nearly everyone is using that,
so save us the complication. This was really only useful when
bootstrapping arm virt support
2018-08-31 17:31:09 -04:00
Cole Robinson
ea413be214
xmlbuilder: Rename get_xml_config -> get_xml
...
The config part is redundant. Should have done this a long time ago
2018-08-31 16:52:02 -04:00
Cole Robinson
2b41e130d8
connection: rename fetch_all_guests->fetch_all_domains
...
The virtinst class is erroneously called Guest, but these
functions are dealing with libvirt <domain> XML, so rename them
2018-08-31 16:50:46 -04:00
Cole Robinson
83a9e613e9
tests: uitests: Fix breakage
...
Needs adapting to latest TPM addhw work, and armv7 UEFI support
2018-08-31 16:47:10 -04:00
Cole Robinson
b1eb07c26a
guest: Don't add usb tablet for xen PV
...
xen PV doesn't have USB support
2018-08-22 08:38:33 -04:00
Cole Robinson
8d45dba43d
cli: Add --boot bootloader=
2018-08-22 07:38:34 -04:00
Cole Robinson
2b35183352
guest: Don't hardcode /usr/bin/pygrub for xenpv
...
Let libvirt/libxl fill it in. This was required for rhel5 xen at
least, but we don't support that anymore and modern libvirt seems
to do the right thing and fill it in for us.
2018-08-22 07:37:32 -04:00
Cole Robinson
348b7e092c
sshtunnels: Fix bytes vs str in error reporting
2018-08-22 07:29:52 -04:00
Cole Robinson
7cd41ab9ea
guest: Default to e1000e if machine=q35
...
And libosinfo doesn't have any specific recommendation for us
2018-08-21 16:36:38 -04:00
Cole Robinson
2da06fec95
guest: Default to ich9 if machine=q35 (bz 1388177)
...
It's the pci-e version which we should prefer for q35
https://bugzilla.redhat.com/show_bug.cgi?id=1388177
2018-08-21 16:35:34 -04:00
Cole Robinson
e59c3d969e
guest: Remove old xen acpi disabling
...
This is only for rhel5 vintage xen which is long out of support,
so drop it
2018-08-21 16:35:34 -04:00
Cole Robinson
f9600ca31b
virt-install: Remove smm validation and q35 default setting
...
The validation is already handled by libvirt, and setting q35 for
smm=on is overkill and just hardcoding some libvirt logic here.
I think the 'secboot' detection in Guest.py is the preferred
magic here, otherwise let users specify all the correct values.
2018-08-21 15:39:27 -04:00
Cole Robinson
a10b9c841c
details: Fix link state mnemonic
2018-08-21 11:55:17 -04:00
Simon Kobyda
ef4e0dbc4f
details: ADD checkbox to plug/unplug network interface
...
Hardware Details -> NIC of every VM should now contain checkbox for
interface's link state. This checkbox edits domain's XML by changing
<link state='up/down'/>. If XML doesn't contain this tag, virt manager
assumes state "up".
https://bugzilla.redhat.com/show_bug.cgi?id=1614532
Signed-off-by: Simon Kobyda <skobyda@redhat.com>
2018-08-17 10:49:26 +02:00
Cole Robinson
cab540792f
create: Support UEFI installs for armv7l
...
Will be supported with Fedora 29
https://fedoraproject.org/wiki/Changes/uEFIforARMv7
We should probably limit this by selected OS, but that's tricky
with the wizard as it is, so lets see if anyone cares
2018-08-08 15:14:21 -04:00
Cole Robinson
eb0f4a612f
virt-install: Support armv7l and i686 uefi
2018-08-08 15:14:21 -04:00
Cole Robinson
b623ece2ba
domcapabilities: Whitelist fedora arm and ia32 edk2 paths
2018-08-08 15:04:51 -04:00
Cole Robinson
7334cfb366
ui: details: Make firmware/chipset/machine selectable
...
Suggested-by: Laszlo Ersek <lersek@redhat.com>
2018-08-08 15:04:51 -04:00
Lin Ma
a55761c593
details: Use _disable_device_remove helper to set the remove tooltip
...
Signed-off-by: Lin Ma <lma@suse.com>
2018-08-08 10:25:41 -04:00
Lin Ma
0c1fff2494
details: Disallow removing virtio-serial controller if devices attach to it
...
Signed-off-by: Lin Ma <lma@suse.com>
2018-07-31 10:57:56 -04:00
Cole Robinson
6099ca674e
details: Add _disable_device_remove helper
2018-07-31 10:49:42 -04:00
Cole Robinson
5212ab992e
details: Reset Remove tooltip on hardware selection
...
Otherwise it can be out of date
Reported-by: Lin Ma <lma@suse.com>
2018-07-31 10:37:50 -04:00
Lin Ma
cacf2abe6b
details: Show attached disk info in sata, ide and floppy controller page
...
Reflect controllers <-> disks mapping relationship for not only scsi,
But other storage controllers.
As a bonus, These controllers are not allowed to be removed if there are
disks attached to them.
Signed-off-by: Lin Ma <lma@suse.com>
2018-07-31 10:16:45 -04:00
Lin Ma
4484f473cd
char: Track/Show the state of virtio channels in channel details
...
crobinso: Add a test case
Signed-off-by: Lin Ma <lma@suse.com>
2018-07-12 15:25:23 -04:00
Lin Ma
8f78b33d1c
Output the qemu guest agent lifecycle events in debug mode
...
Signed-off-by: Lin Ma <lma@suse.com>
2018-07-12 15:19:34 -04:00
Lin Ma
ef3bcff14a
libvirtenummap: Map state vals of agent event to libvirt enum names
...
Signed-off-by: Lin Ma <lma@suse.com>
2018-07-12 15:19:34 -04:00
Lin Ma
099ec95ac8
connection: Add callback parameter for function _add_domain_xml_event
...
Further patches will pass in the callback instead of the default one.
Signed-off-by: Lin Ma <lma@suse.com>
2018-07-12 15:19:34 -04:00
Pavel Hrdina
931936a328
virtinst: Remove only auto-generated channel source path
...
In attempt to fix https://bugzilla.redhat.com/show_bug.cgi?id=1270696
this code was introduced but it removes the path for all channel
devices. We need to limit it only to the devices that have
auto-generated source path.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1591670
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2018-06-28 16:45:14 +02:00
Lubomir Rintel
3a4cf07a28
virtinst: allow adding host block devices to LXC containers
...
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
2018-06-19 15:07:45 -04:00