Cole Robinson
39fe2ed1f7
connection: Clean up domain polling
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-10 00:04:26 -04:00
Cole Robinson
5570851998
connection: Don't fetch domain XML for memory stats
...
Make sure we are returning mem values from info(), not from XML
2011-04-10 00:04:26 -04:00
Cole Robinson
b5023268a4
domain: maxmem -> stats_maxmem
2011-04-10 00:04:25 -04:00
Cole Robinson
01429d8734
console: Fix a debugging typo
2011-04-09 23:03:32 -04:00
Cole Robinson
3b0557012f
Rename current_mem* -> stats_mem* for clarity
2011-04-09 23:03:01 -04:00
Cole Robinson
b7a13af566
domain: Cache ID and name lookups
...
Also try to minimize use of get_id call
2011-04-09 22:53:10 -04:00
Cole Robinson
27dcb860eb
domain: _update_status: Only fetch info if required
2011-04-09 22:39:34 -04:00
Cole Robinson
aa15d2d4a0
Fix some pylint
2011-04-09 21:58:02 -04:00
Cole Robinson
dc054e05a9
connection: Factor out common polling logic
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-09 21:55:41 -04:00
Cole Robinson
5aa0a1814b
error: Properly debug generated details message
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-09 21:55:41 -04:00
Cole Robinson
239015d248
host: Fix busted use of conn.storage_capable
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-09 21:55:41 -04:00
Cole Robinson
f6797644e9
mediadev: Stop polling when conn disconnects
2011-04-09 20:15:39 -04:00
Cole Robinson
6ba13a641d
Add class wrapper for nodedev objects
2011-04-09 20:15:39 -04:00
Cole Robinson
2d5fc88cda
connection: One missed s/get_devices/get_nodedevs/g
2011-04-09 19:31:55 -04:00
Cole Robinson
1537ea9806
uihelpers: Don't refretch pool object in host_space_tick
2011-04-09 19:25:40 -04:00
Cole Robinson
e8a040ae83
create: Fix minor debugging typo
2011-04-09 18:49:37 -04:00
Gerhard Stenzel
89dbf1e7cf
virt-manager: enable direct interface selection
...
The following patch adds support to select direct interfaces
when defining a virtual machine via virt-manager. Also remove
the unused show_manual_bridge.
Signed-off-by: Gerhard Stenzel <gerhard.stenzel@de.ibm.com>
2011-04-09 17:10:26 -04:00
Cole Robinson
86f4bdaf1d
connection: get_devices -> get_nodedevs for consistency
2011-04-07 18:16:28 -04:00
Cole Robinson
16e43da0ae
connection: Cache 'storage supported' check
...
Otherwise we were hitting libvirt more than necc.
2011-04-07 18:10:22 -04:00
Cole Robinson
6da0a95b57
create: Fix building guest when no network options are present
2011-04-07 17:11:10 -04:00
Yuri Chornoivan
f10063d6bd
schemas: Fix minor typo
2011-04-07 15:04:50 -04:00
Cole Robinson
40cd20930b
Have conn window title match menu entries
2011-04-07 13:21:54 -04:00
Cole Robinson
f1c41b0866
error: Use more consistent details reporting
...
Always try and report summary + "\n\n" + details
2011-04-06 11:52:26 -04:00
Cole Robinson
e0bc2563c7
error: Simplify basic show_err call
...
If no error details are specified, use the traceback from the most recent
exception. We were doing this in numerous callers anyways.
2011-04-06 11:22:03 -04:00
Cole Robinson
65208de52f
details: Only show relevant char device fields
...
Additionally, show more of those fields, like hosts, target type, etc.
2011-04-05 17:29:44 -04:00
Cole Robinson
185876fd9a
addhw: chardev: Hide unsupported params for the selected type
2011-04-05 17:12:33 -04:00
Cole Robinson
cb56316cf3
cs.po: Busted Plural-forms crashes python gettext
2011-04-05 16:21:42 -04:00
Cole Robinson
4922222c2c
addhw: Fix nonhotplug to running guest
2011-04-05 16:15:05 -04:00
Marc-André Lureau
69ba897ac3
details: propose to add or remove Spice agent when switching
...
crobinso: Improve metric for deciding to ask about add/remove agent
2011-04-05 16:08:11 -04:00
Marc-André Lureau
127e065d9e
details: show char device target name
2011-04-05 16:03:42 -04:00
Marc-André Lureau
ce9a125728
addhardware: fix adding and removing a channel device
2011-04-05 16:03:42 -04:00
Marc-André Lureau
6fa885e583
addhardware: allow setting the char device target name
2011-04-05 10:49:45 -04:00
Cole Robinson
8c1eba2573
spec: Move all local config to top of file
...
Makes diffing between distro specs easier
2011-03-29 09:36:07 -04:00
Cole Robinson
bdb54488b7
configure: Fix --enable-unsupported-rhel-options
2011-03-29 09:28:49 -04:00
Cole Robinson
c38dec4821
configure: Fix --with-default-graphics option
2011-03-29 09:14:52 -04:00
Cole Robinson
f85ceb8cba
Prep for release
2011-03-24 16:36:26 -04:00
Cole Robinson
24045d3132
.gitignore: Ignore .tstamp files
2011-03-24 16:25:35 -04:00
Cole Robinson
671df1651a
domain: Don't change CPU vendor if model didn't change
...
Since we don't expose vendor in the UI and the cpu_map.xml file isn't
exhaustive with specifying vendor
2011-03-24 14:53:45 -04:00
Cole Robinson
6c070cea3b
details: Fix ACPI/APIC handling for 'customize before install'
...
The UI exposes these as checkboxes, but at install time there are really
3 choices: force on, force off, use default. Make the checkboxes inactive
to represent "use default"
2011-03-24 14:33:35 -04:00
Cole Robinson
2a970f6252
create: Only show PXE warning if user actually selects PXE
2011-03-24 13:58:44 -04:00
Cole Robinson
29d91305f7
domain: Support changing name in new vm 'customize' dialog
2011-03-24 13:24:01 -04:00
Cole Robinson
83145f28c3
domain: We can't always release handle if undefining, fix another way
2011-03-24 13:00:36 -04:00
Cole Robinson
712981f256
delete: Fix bogus error report if storage delete succeeds
2011-03-24 12:59:40 -04:00
Cole Robinson
4265e56316
domain: Delete domain obj after undefine
...
This is needed to allow renaming VMs for older libvirt versions that
cache the name deep in the code. We force a delete so that it hopefully
removes the last of the cached domain references. If not we are kinda
screwed :)
2011-03-24 12:46:29 -04:00
Cole Robinson
1d8222d9ea
config: Validate graphics type directly after reading
...
Fixes an error in 'new vm' wizard if graphics_type is unset in gconf
2011-03-24 11:37:26 -04:00
Cole Robinson
3b2cba5b1a
s/SPICE/Spice/g
2011-03-24 10:09:42 -04:00
Cole Robinson
7cdb519640
create: Make sure create window maintains a sane each time it is launched
2011-03-24 09:57:31 -04:00
Cole Robinson
321b4a2e03
create: Don't use SPICE if conn/hv doesn't support it
2011-03-24 09:42:34 -04:00
Cole Robinson
0f8070d665
configure: Add --with-default-graphics option
...
Allows setting default graphics type in the gconf schema for new VMs.
2011-03-24 08:59:41 -04:00
Cole Robinson
e76ce5336c
config: Make graphics_type robust against bogus values
2011-03-24 08:59:18 -04:00