Cole Robinson
919e82b477
addhw: Drop paranoid lower() call
2009-11-25 14:02:32 -05:00
Cole Robinson
806dbec913
connection: Drop image validation for restore
...
Apps shouldn't be expected to do this. If we want it, should be done at
the libvirt level or the hypervisor level. Qemu and test drivers already do
the correct thing.
2009-11-25 14:01:34 -05:00
Cole Robinson
f635c176e7
connection: Clean up usage of get_type
...
Move users to either get_driver or is_* functions, which are self documenting.
2009-11-25 13:58:29 -05:00
Cole Robinson
0b094377b9
connection: Reorganize code placement
...
Similar to what's been done in some other files, try to group functionality
into relevant commented blocks.
2009-11-25 16:13:46 -05:00
Cole Robinson
ed8e00bad7
details: Fix a useless traceback if removing a device from inactive VM
2009-11-25 12:58:19 -05:00
Cole Robinson
e0075f8b5f
uihelpers: Some improvements for network device listing
...
Sort the device list by device type, and alphabetically within types
Make sure we have a sane default selection
List empty bridges
2009-11-25 16:12:45 -05:00
Cole Robinson
325a33de18
connection: Track netdevs natively, don't just use netdevhelper lists
...
Our lists are built up from netdev-added and netdev-removed signals.
2009-11-25 16:12:03 -05:00
Cole Robinson
6ee14c7a65
Fix toolbar priority text settings
2009-11-24 14:12:55 -05:00
Cole Robinson
1c02280e6e
addhw: Remove usermode networking skip-network-page hack
...
The previous network page had no place to choose usermode networking, but
the current one is a bit more flexible, so drop our original hack to skip
straight to the summary page.
2009-11-24 13:32:14 -05:00
Cole Robinson
0812c40428
A few more UI tweaks.
...
Make sure dialog button boxes aren't expanding.
Make storage browser a gtk Window, with a dialog type hint.
2009-11-24 13:24:46 -05:00
Cole Robinson
6c968e7944
addhw: Greatly simply 'Add Network' wizard
...
Use a single combo box for the source device, and drop the network hints.
Most people likely won't have virtual networking and bridging set up, and if
they do they probably know what they are doing.
This allows us to reuse the UI code from the create wizard.
2009-11-24 13:14:55 -05:00
Cole Robinson
333a37209e
addhw: Try to organize method placement
...
Also break apart some complex methods. This should be a no op.
2009-11-24 12:43:54 -05:00
Cole Robinson
37eeae37c0
Fix 'make check'
2009-11-23 11:54:21 -05:00
Cole Robinson
263da14aaa
console: Make sure previous dimensions are restored after fullscreen.
...
If scaling is always enabled, returning from fullscreen wouldn't restore
the original VNC dimensions.
2009-11-22 16:39:38 -05:00
Cole Robinson
2c40c07252
domain: Fix a small typo causing a useless backtrace
2009-11-22 16:11:25 -05:00
Cole Robinson
6bb6a44c31
console: s/Console/Graphical console/g in page messages
2009-11-24 09:39:32 -05:00
Cole Robinson
d03207304a
Actually add the new interface file
2009-11-22 11:18:53 -05:00
Cole Robinson
54cd0cafde
create: Break out network paremeter validation to uihelpers
...
This will also be used by addhardware.
2009-11-20 13:12:24 -05:00
Cole Robinson
72315a372b
error: Make sure we set proper transient parent
...
We were using widget.parent, which is the parent container widget (if
present), not the dialog transient parent.
2009-11-20 13:11:33 -05:00
Cole Robinson
d159a29914
console: Remove some redundant debugging
2009-11-20 13:10:07 -05:00
Cole Robinson
0eec8017f7
create: Break out network populate functions to new file uihelpers.py
...
We will use this in the addhardware wizard.
2009-11-20 11:39:22 -05:00
Cole Robinson
d257ead552
Make sure that persistent VM config is updated after successful hotplug.
2009-11-20 09:29:26 -05:00
Cole Robinson
f784eacf53
host: Add some basic UI work for viewing interfaces (not hooked up yet)
...
Won't be really implementing this for a while, but just push the basic
UI template in place, so any work done now will merge easier later.
2009-11-19 17:32:53 -05:00
Cole Robinson
28f87993ed
host: Fix some small UI issues with listing networks
...
- Desenitize list entry when network is inactive
- Have initial host window show sensitized network output
- Make sure network is selected when host window is open
2009-11-19 17:29:20 -05:00
Cole Robinson
05abf3c845
connection: Check for network API support before polling
2009-11-19 17:38:43 -05:00
Cole Robinson
d92fff5b98
connection: Poll for and track libvirt interfaces
2009-11-19 17:35:27 -05:00
Cole Robinson
5d57a2ff06
details: Confirm with user before removing a device
...
Allow this removal to be skipped using a similar 'Don't show this again'
option as the previous commit.
2009-11-18 16:46:36 -05:00
Cole Robinson
013283936b
Allow disabling 'force poweroff' prompt.
...
Also allow enabling poweroff, reboot, and pause prompts. This was folks
administering live servers can add extra security and be sure they don't
accidentally hit a button and cause damage.
2009-11-18 16:11:17 -05:00
Cole Robinson
21376d30bd
config: Move code around to make things more readable.
2009-11-18 15:16:57 -05:00
Cole Robinson
103c5536dd
engine: Remove status checks in state changing commands.
...
If these are needed, then we have UI bugs elsewhere. Better to expose the
error and solve the source issue.
2009-11-18 13:56:12 -05:00
Cole Robinson
f45db69b35
engine: Remove status checks in state changing commands.
...
If these are needed, then we have UI bugs elsewhere. Better to expose the
error and solve the source issue.
2009-11-18 13:53:37 -05:00
Cole Robinson
164d7eebd1
migrate: Storage connection list in the migrate dialog, not migrate menu.
2009-11-18 13:51:36 -05:00
Cole Robinson
64e5998ded
Add mnemonics for various menu items.
...
Also, try to be a bit more consistent between manager and details menus.
2009-11-17 17:47:34 -05:00
Cole Robinson
f02e525ae9
domain: Accurately cap max VCPUs to startup count, not just running count.
2009-11-17 17:18:09 -05:00
Cole Robinson
eb63b12e84
manager: Clean up setting context menu icons, and add a few
2009-11-17 16:20:23 -05:00
Cole Robinson
858736cdd6
host: Clean up the __init__ routine.
...
Break logical pieces into their own functions, so things are actually
readable.
2009-11-17 15:44:27 -05:00
Cole Robinson
4ae4c8877e
Make the host details window a first class citizen.
...
This means the host window can be the only window visible and the app
will still be running.
2009-11-17 15:18:38 -05:00
Cole Robinson
f78fe3c089
Numerous UI tweaks.
...
- Don't use custom button content, because it doesn't abide typical button
gtk button + image preferences. This forces us to set the button image in
the code since glade can't handle it.
- Use widget mnemonics _everywhere_
- Tweak some default widget focus, and other misc things.
2009-11-17 15:06:15 -05:00
Cole Robinson
e3ea9867e2
manager: Add 'delete' option in connection context menu.
2009-11-16 16:35:34 -05:00
Cole Robinson
71c686a7a1
details: cpu: List per cpu pinning info, and allow changing it.
2009-11-16 11:36:13 -05:00
Cole Robinson
5b93ae15b6
host: Clean up network selected function.
...
Make a new network function 'pretty_forward_mode' so we aren't duplicating
functionality everywhere.
2009-11-16 07:14:49 -05:00
Cole Robinson
d2cd4e06c5
clone: Pass proper connection object to virtinst support function
2009-11-16 07:05:38 -05:00
Cole Robinson
2350a70b58
clone: Fix some recent errors handling empty disks
2009-11-16 07:03:01 -05:00
Cole Robinson
1d592160d5
Make use of virtinst's new 'support' module, instead of duplicating checks.
2009-11-15 20:54:55 -05:00
Cole Robinson
1bb8e87df6
details: Use more consistent padding in details pane.
...
Also drop some unneeded text from CPU and Memory views.
2009-11-06 09:50:51 -05:00
Cole Robinson
3d2a01d7b8
create: Fix some default media logic
2009-11-15 16:36:37 -05:00
Cole Robinson
90732990e0
storagebrowser: If creating new VM, have new vol name be based on vm name.
2009-11-15 15:57:38 -05:00
Cole Robinson
0bf2924a33
details: Allow selecting video labels
2009-11-15 15:44:02 -05:00
Cole Robinson
eb3027375d
Don't enable migration for offline VMs.
2009-11-15 15:29:42 -05:00
Cole Robinson
b15f54e6f7
Add a proper migrate dialog.
2009-11-15 15:17:03 -05:00