Cole Robinson
1a6e803a09
RHEL6: Don't allow selecting QXL if VNC graphics are configured
...
It ain't supported!
2011-07-22 13:00:36 -04:00
Cole Robinson
1f46603edf
Disable VMDK option if on RHEL6
...
RHEL6 qemu doesn't accept VMDK files
2011-07-22 12:22:09 -04:00
Cole Robinson
64ccb02e08
choosecd: Simplify init params
2011-07-22 12:18:26 -04:00
Cole Robinson
22cdd8b2ce
If no shutdown icon in the them, fall back to 'media-stop'
2011-07-20 20:02:49 -04:00
Cole Robinson
f2bc2f441c
po: Fix a spanish translation issue
2011-07-20 19:42:54 -04:00
Cole Robinson
b8c1d66801
libvirtglib: Handle/Timer IDs start at 1
...
Libvirt doesn't treat 0 as a valid handle/timer value.
2011-07-20 14:08:29 -04:00
Cole Robinson
7042c43bbe
details: Confirm with user before throwing away changes on page change
...
We've had many users be confused by changes in the details pages not
taking immediate effect, or just forgetting to hit apply.
Now by default we prompt users if switching pages if there are unapplied
changes. This can be disabled like other prompts in Edit->Prefs or with
a 'Don't warn me again' chkbox in the dialog.
2011-07-19 20:29:07 -04:00
Cole Robinson
b14a44bf62
details: Add a cancel button for undo-ing hw edits
...
Next we introduce a dialog warning the user they have unapplied HW edits.
This gives them a way to undo edits without having to force encounter the
dialog.
2011-07-19 14:51:16 -04:00
Cole Robinson
297afef5f5
create: Read storage size from text field in spinner
...
Not just the spun value. Reuse the helper from details.py
2011-07-19 14:02:39 -04:00
Cole Robinson
4c61287e01
migrate: Fix some expander spacing issues
2011-07-19 13:56:27 -04:00
Cole Robinson
0db10e366b
migrate: Send proper URI to peer2peer migration
...
Expects libvirt URI and not tcp: style uri. Also wire up interface+port
for p2p migration.
2011-07-19 13:51:42 -04:00
Cole Robinson
fa0070b1dd
domain: Don't be so strict about matching USB devs
...
Since an active USB dev has both product+vendor and bus+addr, but an inactive
dev won't have bus+addr in many situations, hotunplug wasn't removing the
persistent dev. Relax the lookup check a bit.
2011-07-19 12:39:03 -04:00
Cole Robinson
26c49f7d6e
Don't register events unless libvirt is new enough
...
Python callbacks for custom event loops changed signature, so only use
newer impls.
2011-07-19 12:39:03 -04:00
Cole Robinson
5f7d061e6f
details: Fix inspection UI expanding
2011-07-18 21:36:13 -04:00
Cole Robinson
ad5bb2ab48
create: Allow cancelling 'customize' dialog
...
Selecting the 'cancel' option or hitting the window X will erase any
customized changes and go back to the final screen of the wizard.
2011-07-18 21:31:06 -04:00
Cole Robinson
b83def97ea
connect: Always have a default hv selection
2011-07-18 20:27:20 -04:00
Cole Robinson
f177e4ac44
inspection: Put more readable VM id in logging messages
...
UUID is difficult to decode, use uri+vmname
2011-07-18 18:10:54 -04:00
Cole Robinson
b501c1a74a
inspection: Don't backtrace if guests have no inspectable disks
2011-07-18 17:52:20 -04:00
Richard W.M. Jones
67f0e67407
Add basic operating system inspection data to the VMM details page.
...
This adds hostname, product name, and list of applications.
2011-07-18 15:31:20 -04:00
Richard W.M. Jones
0132503eb3
Display operating system inspection icons in main vmlist.
2011-07-18 15:31:19 -04:00
Richard W.M. Jones
bcca576a64
Add inspection data to the domain object.
...
Create a new (sub-)object vmmInspectionData, and add an instance of
this data to each domain object. This data is passed up from from the
inspection thread.
Also an inspection-changed signal has been added so that UI elements
can find out when inspection has finished for a particular VM and
update the UI.
2011-07-18 15:31:19 -04:00
Richard W.M. Jones
28b7936c06
Add inspection thread.
...
This commit adds an inspection daemon thread which performs libguestfs
inspection on domains when they first appear in the manager UI.
python-guestfs is not required.
2011-07-18 15:31:18 -04:00
Cole Robinson
81cf5ba43f
TUI: Fix up some pylint
2011-07-18 14:48:49 -04:00
Darryl L. Pierce
6fcbd63b64
Fixed the accidental Grid lingering in addnetwork.py
2011-07-18 14:45:32 -04:00
Cole Robinson
5bac9ea05a
HACKING: Mention pep8 dep
2011-07-18 14:10:29 -04:00
Darryl L. Pierce
7fea5b8c50
Renamed undefinenetwork.py to removenetwork.py.
...
This makes the command name more consistent with other, similar
commands.
Updated all affected modules as well.
2011-07-18 14:05:47 -04:00
Darryl L. Pierce
51985f0d40
Renamed definenet.py to addnetwork.py and updated all affected modules.
...
This moves the command name to be in line with other commands.
2011-07-18 14:05:47 -04:00
Darryl L. Pierce
93ce57a69f
Updated listnetworks.py to use the new screen grid helper method.
2011-07-18 14:05:46 -04:00
Darryl L. Pierce
9c54c61624
Updated undefinenetwork.py to use the new screen grid helper method.
...
Also modified the imports for snack classes.
2011-07-18 14:05:46 -04:00
Darryl L. Pierce
d1fd7e3af8
Updated the stopnetwork.py command.
...
Added logging for when an exception occurs while stopping a network
The command returns true or false based on the state of the network
after the stop call rather than assuming it's true.
2011-07-18 14:05:45 -04:00
Darryl L. Pierce
403956337b
Updated the imports for startnetwork.py.
...
Explicitly imports the Label class from snack.
2011-07-18 14:05:45 -04:00
Darryl L. Pierce
3dd9561934
Updated definenetwork.py to use the new screen grid helper.
2011-07-18 14:05:44 -04:00
Darryl L. Pierce
d27ec9e149
Updated definenet.py to look more like VMM GUI.
2011-07-18 14:05:44 -04:00
Darryl L. Pierce
a5391bc090
Added a helper function for creating a Grid from an array of Fields.
...
This helps simplify building screens since it will calculate the size of
the Grid needed and build all screens consistently.
2011-07-18 14:05:44 -04:00
Cole Robinson
b2659c0cba
manager: Don't fetch domain XML on every tick, getting the <desc>
2011-07-15 15:38:59 -04:00
Cole Robinson
595d3d13e7
connect: If readding an existing connection, update 'autoconnect'
2011-07-14 20:52:40 -04:00
Cole Robinson
fa8460ff65
Remove accidental debugging print
2011-07-14 20:26:05 -04:00
Cole Robinson
6a861acd3b
details: Persistent changes require a guest shutdown, not reboot
...
Since reboot may be interpreted as a reboot from inside the guest, which
won't help us.
2011-07-14 17:16:57 -04:00
Cole Robinson
32b2eef8f8
host: Disable 'add vol' button if not supported for pool type
2011-07-14 17:07:21 -04:00
Cole Robinson
77384e00b4
details: Don't show any memory usage if VM inactive
2011-07-14 16:59:50 -04:00
Cole Robinson
7e82d59b3e
details: Don't allow setting initrd/args without a kernel path
2011-07-14 16:31:38 -04:00
Cole Robinson
1f7673620d
details: Only apply changes from touched UI elements
...
Do this by tracking which UI elements are actually changed, not just
sensitiving the 'apply' button and flush all values on the changed page.
2011-07-14 16:18:42 -04:00
Cole Robinson
d35234a0c1
stuff
2011-07-14 13:36:17 -04:00
Cole Robinson
a84d10cee8
Add a smaller helper for self.window.get_widget
...
Saves us from having crazy long lines in a few places, and less characters
to type!
2011-07-14 13:13:13 -04:00
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