Cole Robinson
e4b50ef07d
tui: Clean up rest of pylint
2011-06-01 13:35:30 -04:00
Cole Robinson
0bc059d7db
details: Only enable fullscreen option when it makes sense
2011-06-01 13:35:30 -04:00
Cole Robinson
3ce01b0f18
details: Fix setting boot device
2011-06-01 13:24:28 -04:00
Cole Robinson
b2d56cb18a
details: Catch errors when dispatching 'apply' changes
2011-06-01 13:24:28 -04:00
Cole Robinson
073bbdd14d
console: Leave fullscreen when viewer is disconnected
2011-06-01 13:24:28 -04:00
Cole Robinson
8235499d43
console: One more backtrace fix
2011-06-01 13:24:28 -04:00
Cole Robinson
b6f3ceaa5d
console: spice: Fix backtraces when closing console window
2011-06-01 10:28:59 -04:00
Cole Robinson
b54ef7216d
console: spice: Handle older spice-gtk desktop resolution
2011-06-01 10:20:50 -04:00
Cole Robinson
22db8a32ec
Don't mask early startup errors do to import issue
2011-05-31 16:10:34 -04:00
Cole Robinson
303c8c91df
tui: Enable pylint check for TUI, fix a bunch of reports
...
There are still a lot of errors reported, so more patches are required to
make pylint silent.
2011-05-31 15:55:52 -04:00
Cole Robinson
7e86f73b7f
tui: Remove wildcard imports
2011-05-31 15:13:55 -04:00
Cole Robinson
1935c53bdf
tui.py: Remove unused CLI options
2011-05-31 15:13:35 -04:00
Cole Robinson
6b3b2f48e3
virt-manager.py: Log virtManager import location
2011-05-31 13:27:42 -04:00
Darryl L. Pierce
c6aeedea8a
Updated libvirtworker to use vmmConnection.create_network().
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
9b218d91e8
Updated undefinenetwork.py to use vmmNetwork objects.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
ead4ee61e0
Updated stopnetwork.py to use vmmNetwork.stop().
...
Removed the libvirtworker.destroy_network() API.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
9860f807c7
Renamed destroynetwork.py to stopnetwork.py.
...
The old name was not consistent with the add/delete/start/stop/list
verbs used for commands.
Updated the network menu to use the new name and module.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
a36e168666
Updated startnetwork.py to use vmmNetwork.
...
It also verifies that the network can be started before attempting to
start it.
Deleted the old libvirtworker.create_domain() API.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
19a83eafa8
Renamed createnetwork.py to startnetwork.py.
...
The old name was not consistent with the add/delete/start/stop/list
verbs used for commands.
Updated the network menu to use the new name and module.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
bbb3ab3530
Updated network details to match the GUI.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
4ad93ce6e2
Updated NetworkConfigScreen.get_selected_network() to return the network.
...
Instead of returning the name, it returns the actual vmmNetwork object.
2011-05-31 12:53:46 -04:00
Darryl L. Pierce
6356d5b8b7
Modified libvirtwork to use vmmNetwork objects.
...
Modified the list_networks() API to return the UUIDs for network.
Modified get_network() to take as input a UUID rather than a name, and
return a vmmNetwork object.
2011-05-31 12:53:46 -04:00
Darryl L. Pierce
83c25e6ad4
Updated the documentation for the network APIs in libvirtworker.
2011-05-31 12:53:46 -04:00
Darryl L. Pierce
3c068b9971
Added pause domain to VMM TUI.
2011-05-31 12:37:50 -04:00
Darryl L. Pierce
41c98a1822
Updated stopdomain.py to use vmmDomain types.
2011-05-31 12:37:50 -04:00
Darryl L. Pierce
1bd06908eb
Updated startdomain.py to use vmmDomain objects.
...
Broke out the start functionality to include unpausing a suspended
domain as well as starting up a stopped domain.
2011-05-31 12:37:50 -04:00
Darryl L. Pierce
fdad701e3f
Filter of listed domains works again.
...
With the change to libvirtworker to re-use code from the GUI, the
specified filters for started/defined domains was lost. This patch
re-enables that functionality.
2011-05-31 12:37:50 -04:00
Cole Robinson
2b5e892d60
details: Allow viewing and editting container <init>
2011-05-31 12:31:28 -04:00
Cole Robinson
a99dee7dbd
addhardware: Initial 'add filesystem' wizard
2011-05-26 10:23:53 -04:00
Cole Robinson
bb3d879501
details: Fix net source device alignment
2011-05-26 10:23:53 -04:00
Cole Robinson
2e67a21435
autodrawer: Fix some pylint
2011-05-26 10:23:52 -04:00
Cole Robinson
ae9ba46ff4
details: List guest <filesystem> devices
2011-05-26 10:23:52 -04:00
Cole Robinson
7d5acf4b86
details: Small direct interface tweaks
...
- List nicer names for mode in the UI
- Fix a label spacing issue if expanding the UI
- Don't set mode = "" for non direct interfaces
2011-05-19 12:13:20 -04:00
Gerhard Stenzel
37ab864cfb
Add option for direct interface 'passthrough' mode
2011-05-19 12:11:26 -04:00
Cole Robinson
68f6be4153
autodrawer: Don't draw a stray pixel when not in fullscreen mode
2011-05-18 20:34:53 -04:00
Cole Robinson
bbf158b9cb
console: Fix drawer sticking when switching to fullscreen
2011-05-18 20:34:52 -04:00
Cole Robinson
6062920bfe
console: Add sendkey menu to fullscreen toolbar
...
Break out the sendkey menu building and share it.
2011-05-18 20:34:52 -04:00
Cole Robinson
77479267f3
console: Use a hiding automenu for fullscreen mode
...
Code is a python implementation of autodrawer. I originally found it in the
vinagre sources:
http://git.gnome.org/browse/vinagre/tree/vinagre/view
For now the menu just provides a button to leave fullscreen
2011-05-18 20:08:41 -04:00
Cole Robinson
9567ab9181
console: Make sure viewer is properly cleaned up
2011-05-18 17:36:08 -04:00
Cole Robinson
eeb0879d8f
Show 'virtio' net option for qemu guests, not just KVM
2011-05-18 17:23:33 -04:00
Darryl L. Pierce
c3f602db60
Added a get_capabilities() API to libvirtworker.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
8b293649c1
Changed the domain fields to match the GUI overview page.
...
Additionally, it breaks up the field groups using headers.
(crobinso: fix a small typo s/hose/host/)
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
23ea5e306c
Changed how fields are displayed when showing domain details.
...
Now an array of label/value pairs are built. This allows us to
dynamically determine the size of the Grid to use when displaying the
final details.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
fdd07b26e4
Updated ListDomainsConfigScreen to use vmmDomain types.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
78408182bf
Modified DomainListConfigScreen to use vmmDomain types.
...
Since the libvirtwork uses an underlying vmmConnection that can return
vmmDomain types, this makes it easier for child classes to use the more
feature-rich objects returned.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
fbf138b02b
Modified libvirtworker to use vmmConnection and vmmDomain objects.
2011-05-13 13:35:38 -04:00
Cole Robinson
7a8a35e564
domain: When changing video model, reset to default ram
2011-05-04 12:45:27 -04:00
Cole Robinson
88df4c1a7c
domain: Clean up special handling for changes spice graphics
2011-05-04 12:42:00 -04:00
Cole Robinson
cc7244f91a
domain: Remove unneeded *_handle functions
...
Not needed now that we properly do cleanup
2011-05-03 16:54:27 -04:00
Cole Robinson
cffcb0bf78
domain: Merge vmmDomain and vmmDomainBase
...
Since we use virtinst for all parsing now, there really isn't much that
vmmDomainVirtinst needs to overwrite, so have it extend vmmDomain.
In the process, try to clean up code layout and sprinkle some comments about.
2011-05-03 16:50:27 -04:00