Commit Graph

2247 Commits

Author SHA1 Message Date
Cole Robinson
25f5bc90a7 Actually run pep8 against TUI, fix the fallout 2011-07-14 12:28:05 -04:00
Cole Robinson
326e0f6a81 details: Strip whitespace from text entry inputs 2011-07-14 12:28:05 -04:00
Cole Robinson
17f4ecef96 manager: Show VM description in a tooltip 2011-07-13 22:45:42 -04:00
Cole Robinson
f91523197f Hardcode /usr/bin/python in app launcher 2011-07-13 22:14:12 -04:00
Cole Robinson
4f41d5add9 Share more code between gui and tui startup scripts 2011-07-13 18:48:02 -04:00
Cole Robinson
7ed8a258b8 rpm: refactor spec to optionally build 'common' and 'tui' packages 2011-07-13 18:01:10 -04:00
Darryl L. Pierce
e790faebd9 Fixed the references to newt_syrup.utils module. 2011-07-13 16:29:33 -04:00
Darryl L. Pierce
ea2f45c086 Fixed a bug that caused the IPv4 address to be overwritten.
The code had been updated to overcome some pylint complaints about
fields not being initialized in __init__. They were added after the
point where their initial values were assigned.

This patch moves that initialization to the point after theyr are first
defined.
2011-07-13 16:29:33 -04:00
Darryl L. Pierce
684f5405d7 Updated the network configuration commands to use the new configs. 2011-07-13 16:29:33 -04:00
Darryl L. Pierce
ef9b39fba8 Removed Newt Syrup files that were still in the VMMTUI codebase. 2011-07-13 16:29:33 -04:00
Darryl L. Pierce
9acb85fa57 Updated all configuration screens to use the new base classes. 2011-07-13 16:29:33 -04:00
Darryl L. Pierce
db6b67f838 Added the new base config screen class for working with storage pools. 2011-07-13 16:29:32 -04:00
Darryl L. Pierce
1f38d7b387 Created the new base config screen class for working with virtual networks. 2011-07-13 16:29:32 -04:00
Darryl L. Pierce
b82fb3d370 Created the new base config screen class for working with hosts. 2011-07-13 16:29:32 -04:00
Darryl L. Pierce
3eda6bdee1 Created the new config screen base class for working with domains. 2011-07-13 16:29:32 -04:00
Darryl L. Pierce
c3a937dde7 Created a new base configuration screen class.
The class, VmmTuiConfigScreen, is extended by each of the primary
configuration screen types.
2011-07-13 16:29:32 -04:00
Cole Robinson
cbaedd87bc details: Improve CPU feature list
Allow setting the actual feature policy, rather than forcing 'require'
(which doesn't work for things like x2apic).

Also list CPU flags implied by the chosen CPU model.
2011-07-13 14:35:34 -04:00
Cole Robinson
c45bc20f06 details: Allow viewing and changing disk serial num 2011-07-13 13:16:19 -04:00
Cole Robinson
9e1cbcd178 details: Take screenshots before launching browse dialog 2011-07-13 12:27:23 -04:00
Cole Robinson
7818e628b3 de.po: Tweak a translation (thanks Julian G) 2011-07-12 22:23:08 -04:00
Cole Robinson
ad3bcb2ea9 addhw: Use header case for dialog title 2011-07-12 22:21:33 -04:00
Cole Robinson
746388343c addhw: Fix 'info' icon in gfx page 2011-07-12 22:20:22 -04:00
Cole Robinson
8a49491870 domain: Determine getvcpus support on demand
So libvirt doesn't flood /var/log/messages at app startup
2011-07-12 21:53:01 -04:00
Cole Robinson
7fda009c2c details: Add right click option to remove HW 2011-07-12 21:42:19 -04:00
Cole Robinson
8d3637a2d7 createnet: Improve generated XML debugging 2011-07-12 21:41:57 -04:00
Cole Robinson
47da2bc81e manager: Don't hardcode black for VM rows
Let theme handle colors incase user has a high contrast theme.
2011-07-12 21:33:15 -04:00
Cole Robinson
785df5f587 createnet: Some refactoring and cleanups 2011-07-12 20:31:46 -04:00
Cole Robinson
3fb68bdd33 manager: Fix conflicting mnemonics in conn context menu 2011-07-12 19:20:58 -04:00
Cole Robinson
bea75e35a1 Some spec and build system cleanups
Make clean keeps wanting to remove virt-manager.pot, so let it I guess.
2011-07-12 15:03:06 -04:00
Cole Robinson
4465d6f0be Add new app icon and massively reorg our icon folder
New icon from Jakub Steiner is based on virt-manager.org theme.

Actually organize all our existing icons into a proper icon hierarchy.
2011-07-12 14:35:33 -04:00
Cole Robinson
b9180d15ac details: Don't generate huge console error strings 2011-07-12 10:46:49 -04:00
Cole Robinson
e31fa80e29 manager: Option to view VM CPU usage of guest OR host
Since forever, all we've ever shown is a VMs CPU usage according to host
resources. However I don't think this is the intuitive default, when users
see a graph for each VM IMO it's implies the CPU usage of the guest's
resources.

Change the default to 'guest CPU usage', and add an extra optional column
for explicitly listing 'host CPU usage'
2011-07-12 08:49:47 -04:00
Cole Robinson
c4eacb669e Minor cleanups in stats building
Remove unused records, remove some unused and duplicate code.
2011-07-11 22:09:08 -04:00
Cole Robinson
305808187d details: If changing disk bus, remove <address>
Need to let libvirt regenerate so things don't get funny
2011-07-11 17:01:37 -04:00
Cole Robinson
19d7df4e47 Configure dbus interface even if some env variables aren't available
Fixes app uniqueness on KDE.
2011-07-11 15:17:19 -04:00
Cole Robinson
ceeef985c4 serialcon: Enable remote text console connections
Done via libvirt's console streaming API. We need to hook into our local
libvirt glib impl to make this work.
2011-07-07 16:16:02 -04:00
Cole Robinson
976748cad5 create: Bring back UUID generation (makes 'customize' happy) 2011-07-07 14:39:50 -04:00
Cole Robinson
e9f365f11d connect: Add LXC to 'open connection' dialog 2011-07-07 14:38:02 -04:00
Cole Robinson
9427f75416 Don't traceback in host_space_tick if home is whack 2011-07-07 13:38:04 -04:00
Marc-André Lureau
9c600597c8 Add basic SmartCardDevice support
This patch allows to add and list smartcard devices in host or
passthrough & spicevmc mode.

It doesn't provide all the various smartcard combination
options, but it's good enough for Spice usage.

(crobinso: various small tweaks)
2011-07-07 13:36:38 -04:00
Cole Robinson
cfbc5e58f5 details: Queue up 'default' console page when VM starts 2011-06-21 14:07:07 -04:00
Cole Robinson
dee7cb91a2 serialcon: Some console cosmetic improvements
Just use the default font, and add a small border around the terminal so
text isn't right up against the window decorations.
2011-06-21 14:07:07 -04:00
Cole Robinson
c30d554888 libvirtglib: cleanups, make sure we actually remove watch/timeouts 2011-06-21 14:07:07 -04:00
Cole Robinson
455104282a create: Make sure page numbering always reflects reality 2011-06-21 14:07:07 -04:00
Cole Robinson
4c93056339 create: Option to create LXC OS container (from existing OS dir)
Provide an explicit warning to the user that the dir must already
be populated with an OS tree.
2011-06-21 14:07:07 -04:00
Cole Robinson
0e11be79a4 create: Allow creating LXC/OpenVZ app containers
Simple adds a new install method that allows selecting a local binary,
defaulting to /bin/sh. No support for full OS containers yet.
2011-06-21 14:07:07 -04:00
Cole Robinson
a493789fa7 serialcon: Show user an error message if console opening fails 2011-06-20 19:09:31 -04:00
Cole Robinson
3eae7af22c serialcon: Move popup handling out of details.py
Also simplify serial list handling
2011-06-20 18:51:57 -04:00
Cole Robinson
c705dec03f serialcon: Move 'can we connect' logic to serialcon.py 2011-06-20 16:49:11 -04:00
Cole Robinson
e053f1c94a domain: Simplify get_serial_devs
Just pass around the dev, rather than a broken out list. Will be needed
for future serialcon work
2011-06-20 16:34:28 -04:00