Cole Robinson
3da3a432e1
details: Fix setting cache/io to hypervisor default
2014-03-22 18:02:50 -04:00
Cole Robinson
f584135b78
gfxdetails: Fix mnemonics to not collide
2014-03-22 17:47:43 -04:00
Cole Robinson
eee5061af8
details: Rework all define and hotplug operations
...
Rather than register a bunch of functions to call, lump it all into
one function per page. This allows us to easily call UpdateDevice
unconditionally, to pick up any addition hotplug operations that
become available via libvirt and qemu.
2014-03-22 16:48:00 -04:00
Cole Robinson
9050998028
cli: Rename --membacking to --memorybacking
...
More consistent with the existing --memory option, and the
XML block name.
2014-03-22 12:28:23 -04:00
Cole Robinson
a5b3c1d2f8
guest: Drop back compat hugepage attribute
2014-03-22 12:25:28 -04:00
Cole Robinson
d1749c614d
cli: Move hugepages=on example to membacking
2014-03-22 12:19:44 -04:00
Chen Hanxiao
7096c3708e
virt-install: Add --membacking option
...
Add option --membacking for "Memory Backing".
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-22 12:16:24 -04:00
Chen Hanxiao
58a07d04fb
remove memoryBacking parameters from --memory
...
Remove some "Memory Backing" parameters from --memory,
and keep 'hugepages' for backward compatibility.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-22 12:16:24 -04:00
Cole Robinson
8562c3258e
More pylint fixes
2014-03-22 11:21:19 -04:00
Cole Robinson
d763126862
Turn off some warnings with latest pylint
2014-03-22 10:01:19 -04:00
Cole Robinson
bc393b5f1f
details: Don't try to show machine type for management domain
2014-03-20 14:04:29 -04:00
Cole Robinson
e4c182f39d
create: Add some more logging
2014-03-20 14:04:29 -04:00
Cole Robinson
a99da363a4
capabilities: Handle arch=none for CPU lookup
2014-03-20 14:04:29 -04:00
Cole Robinson
1f5b07bea8
capabilities: Handle broken return value of failed CPUModelNames
2014-03-20 14:04:29 -04:00
Cole Robinson
994b1fa4f4
connection: Add explicit API for getting virConnect object
2014-03-20 14:04:29 -04:00
Cole Robinson
7cc76a9c54
domain: Fix viewing details of xen management domain
2014-03-20 14:04:29 -04:00
Giuseppe Scrivano
8d580cc483
virt-manager: disable CD/DVDROM passtrough on RHEL
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1072610
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-20 17:10:30 +01:00
Giuseppe Scrivano
a7050f918f
virt-manager: disable filesystem passtrough on RHEL
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1077172
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-20 09:06:30 +01:00
Giuseppe Scrivano
f8e1a68889
virtManager: show the state reason in the VM overview
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1073766
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-20 08:48:47 +01:00
Giuseppe Scrivano
ef2206a8f5
virtManager: read the reason for the domain state
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-20 08:48:47 +01:00
Cole Robinson
633669ed31
create: Exit URL detection immediately if detection fails
2014-03-19 20:10:59 -04:00
Charles Arnold
f113a8db29
create: Fix URL autodetect timeout detection
...
When 'Network Install' is selected and a malformed url is entered in the
'URL:' box virt-manager will hang forever 'Detecting...'. For example,
leave the 'http://' off the url when 'Automatically detect...' is enabled.
Signed-off-by: Charles Arnold <carnold@suse.com>
2014-03-19 20:10:59 -04:00
Cole Robinson
bd27910b6f
create: Pass correct connection to install for detection
2014-03-19 20:10:59 -04:00
Chen Hanxiao
008feeb09a
Add more parameters for memoryBacking
...
Add support for parameters nosharepages and locked
if using option --memory.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-14 21:23:23 +08:00
Chen Hanxiao
ffe64af9d5
man: fix a typo in virt-install.pod
...
s/libvirt/Libvirt
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-14 15:55:39 +08:00
Chen Hanxiao
1d3980015a
host: unselect_all members before clear model
...
Interface_selected is being triggered by model.clear() in
populate_interfaces. It usually calls interface_selected
on every interface after the current selected row.
So the gtk code is probably removing the first
row over and over, and when it removes the
current selection (the interface we are deleting),
it selects the next row in line.
It will raise a KeyError.
This patch will fix this issue.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-14 09:04:52 +08:00
Giuseppe Scrivano
81696a5144
virtinst: use libvirt getCPUModelNames when available
...
Read the list of CPU models trough getCPUModelNames instead of
accessing directly the file cpu_map.xml.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1060316
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-13 19:00:54 +01:00
Giuseppe Scrivano
6c2645f0d2
virtinst: drop parsing of cpu features
...
As for the previous patch, this information is not used anywhere and
this information should be retrieved using the libvirt baselineCPU
API.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-13 16:50:40 +01:00
Giuseppe Scrivano
143a689592
virtinst: drop cpu_map parsing of arch features
...
This information is not used anywhere and there is no way to read
it directly from libvirt without parsing the cpu_map.xml file.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-13 16:50:37 +01:00
Cole Robinson
4f7f1adc47
addhw: Desensitive the 'create storage' UI for cdrom/floppy
...
Since we already fail in that case anyways, it makes things a bit clearer.
2014-03-12 17:22:48 -04:00
Cole Robinson
abb3920ac6
addhw: Fix adding empty cdrom/floppy drive
2014-03-12 16:54:14 -04:00
Cole Robinson
d2ad2bcf94
create: Clarify some bits in change_caps
2014-03-12 11:51:15 -04:00
Cole Robinson
1230ab57a9
create: Remove self.caps, it's redundant
2014-03-12 11:42:50 -04:00
Cole Robinson
1cf8b62990
create: Invalidate cached caps across similar connections (bz 1075444)
2014-03-12 11:37:36 -04:00
Chen Hanxiao
e9519a2f9a
domain: fix a typo
...
s/checkig/checking
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-12 15:36:59 +08:00
Kjö Hansi Glaz
66d146acee
Add a gsetting key to disable keyboard grabbing
...
Add a gsetting key to disable keyboard grabbing that works the same way
as spicy when unchecking "Options" > "Grab keyboard when active and
focused".
2014-03-10 14:54:58 -04:00
Cole Robinson
f23c031af4
ui: Drop minimum version to match RHEL7
...
And add unit test to catch future dependency issues
2014-03-10 11:17:58 -04:00
Giuseppe Scrivano
75349b9cf0
lxc: define a private network for OS containers
...
By default, specify the the "<privnet>" feature with LXC operating
system containers.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1040406
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-10 15:48:42 +01:00
Cole Robinson
081e34715f
connection: Handle errors when deregistering events on close (bz 1069351)
...
Otherwise this interrupts the close/cleanup routine, and the connection
never appears to disconnect in the UI. This causes error dialog spamming
when libvirtd goes down.
2014-03-10 09:35:35 -04:00
Cole Robinson
cfc52051b7
storagebrowse: Duplicate tooltip logic for 'new volume' button
2014-03-10 08:57:11 -04:00
Giuseppe Scrivano
27db4dac8f
doc: fix typo in virt-install man page
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-10 12:52:19 +01:00
Cole Robinson
907c9c4dec
spec: Drop needless version/release macros
2014-03-07 09:57:04 -05:00
Cole Robinson
7ef9d7fbfc
addhardware: Fix adding disk through 'customize' dialog (bz 1073808)
2014-03-07 09:43:19 -05:00
Chen Hanxiao
40c1f5fdb8
clitest: put fake iso under /tmp dir
...
commit 797afb3b27
bring a dir depending issue when using
fake iso.
Test output will be undecided when virt-manager source
in different dirs.
This patch will touch a fake iso under /tmp,
so test case will pass on most of the machines.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-03-07 09:06:27 +01:00
Cole Robinson
797afb3b27
virt-install: Fix --location iso again, and test it (bz 1071513)
2014-03-06 12:46:46 -05:00
Cole Robinson
df7012a68b
Handle libvirt generating invalid volume XML (bz 1072770)
2014-03-06 12:04:08 -05:00
Cole Robinson
9074fc6c60
fsdetails: Fix adding a filesystem device (bz 1073067)
2014-03-06 11:45:26 -05:00
Cole Robinson
7d62662ec9
fsdetails: Make test driver act identical to qemu
2014-03-06 11:43:32 -05:00
Cole Robinson
b078ba8c3d
details: Fix fallback if fetching CPU models fails (bz 1072704)
2014-03-06 11:31:09 -05:00
Cole Robinson
75a2e12dc0
tests: Fix a few failures with older libvirt
2014-03-06 11:29:23 -05:00