[gnome-boxes] vm-creator: Retrieve and use the DomainCapabilities
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] vm-creator: Retrieve and use the DomainCapabilities
- Date: Fri, 4 Oct 2019 13:22:51 +0000 (UTC)
commit f82fd2e6d92ba851b8ec128b238dc9335ca83ca8
Author: Fabiano FidĂȘncio <fidencio redhat com>
Date: Mon Aug 26 20:37:37 2019 +0300
vm-creator: Retrieve and use the DomainCapabilities
Let's retrieve and pass down the DomainCapabilities so VMConfigurator
can actually evaluate and use UEFI when it's supported.
https://gitlab.gnome.org/GNOME/gnome-boxes/issues/199
Signed-off-by: Fabiano FidĂȘncio <fidencio redhat com>
src/vm-creator.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/vm-creator.vala b/src/vm-creator.vala
index 9f858604..efee8b68 100644
--- a/src/vm-creator.vala
+++ b/src/vm-creator.vala
@@ -209,7 +209,8 @@ protected void set_post_install_config (LibvirtMachine machine) {
StorageVol volume,
Cancellable? cancellable) throws
GLib.Error {
var caps = yield connection.get_capabilities_async (cancellable);
- var config = VMConfigurator.create_domain_config (install_media, volume.get_path (), caps, null);
+ var domcaps = yield connection.get_domain_capabilities_async (null, null, null, null, 0,
cancellable);
+ var config = VMConfigurator.create_domain_config (install_media, volume.get_path (), caps, domcaps);
config.name = name;
config.title = title;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]