Cole Robinson
48cc0a33d9
systray: Make sure systray is actually embedded before we keep app running.
2009-11-10 11:56:15 -05:00
Cole Robinson
d8e8430285
details: Always have the apply button showing.
...
Also, swap the order of remove and apply so remove is less likely to be
pushed by accident.
2009-11-05 15:22:00 -05:00
Cole Robinson
9fbcce7859
details: Allow changing video model of an existing device.
2009-11-05 14:59:11 -05:00
Cole Robinson
a7ceb7ed52
details: Allow changing disk readonly + shareable attributes.
2009-11-04 16:30:51 -05:00
Cole Robinson
6abf4f601e
details: disk: Slim down information output
...
Also, use checkboxes for readonly + shareable in preparation for making them
editable.
2009-11-04 15:41:18 -05:00
Cole Robinson
d602b5f38b
details: Allow changing clock offset value.
2009-11-04 08:46:09 -05:00
Cole Robinson
90a35cab48
details: Allow changing APIC and ACPI settings.
2009-11-04 11:09:41 -05:00
Cole Robinson
90d0a55b7f
domain: More cleanup for XML fetching routines.
...
Remove scary comments about updating inactive XML, as this should largely
be resolved now. Use more consistent naming.
2009-11-04 11:07:03 -05:00
Cole Robinson
0559c498e3
details: Break out wrapper for hotplug/config update routines
...
All XML updating routines follow a similar pattern or 'try hotplug, try
redefine, report error'. Break out a helper function for all this and use
it for security relabelling, media change, memory and vcpu hotplug.
2009-11-04 13:23:22 -05:00
Cole Robinson
339e568897
domain: Split cdrom media change into hotplug and define pieces.
...
This allows us to check for hotplug errors, but still define the change
to take place after the next reboot.
2009-11-03 16:15:18 -05:00
Cole Robinson
dc877783a5
domain: Don't set disk path to '-' if empty, let details do that.
2009-11-03 16:09:03 -05:00
Cole Robinson
04b4900625
domain: Fix updating inactive XML config
...
If domain is running and we can't change the running config (hotplug not
supported, etc.), we update the inactive config. Make sure that we merge
inactive config changes and don't just blow away whatever is set.
2009-11-04 13:20:03 -05:00
Cole Robinson
d8f264da92
details: Lots of code reorganization.
...
Group all relevant functions into documented blocks, rather than leave them
scattered all along the code. Turn some methods into internal functions.
2009-11-04 13:18:14 -05:00
Cole Robinson
82855b54c0
details: List ACPI, APIC, and clock offset values.
...
These will be made editable shortly, but for now just show their values.
2009-11-04 13:16:38 -05:00
Cole Robinson
a7d4b6978d
details: Clean up and comment __init__
2009-11-02 11:21:50 -05:00
Michal Novotny
1c3766cbfe
details: Lookup product/vendor name for host device details.
2009-11-04 10:36:38 -05:00
Cole Robinson
14957145d3
console: Don't mess with console padding on fullscreen on/off
2009-11-01 21:56:21 -05:00
Cole Robinson
7c1b399f76
console: Remove 6 pixel border around VNC widget
2009-11-01 21:39:48 -05:00
Cole Robinson
422981b8db
console: Remove paused screenshot code.
...
It's been disabled since VNC scaling was added, and the comment indicates it
isn't even required, so just remove it.
2009-11-01 21:14:41 -05:00
Cole Robinson
1d47877f45
Don't launch multiple 'pointer grabbed' notifications if timer still running.
2009-11-01 19:39:18 -05:00
Cole Robinson
8af7df1b79
Fix setting VCPUs and cpuset.
2009-11-01 16:05:46 -05:00
Cole Robinson
c5eb88ca30
console: Disable key mnemonics when pointer is grabbed.
2009-10-30 14:36:17 -04:00
Cole Robinson
5df19b3c8a
console: Don't throw warning when disable accelerators.
2009-11-01 16:36:44 -05:00
Cole Robinson
9520a7cc88
details: Break out VNC + console pages to a separate class.
...
The details class is getting pretty big, so split out the VNC functionality
into a separate class (like it was many moons ago).
The split isn't as clean as it should be, but things work and readability is
greatly improved. If we ever add support for a different viewer widget (rdp
or spice?) we would need to do something similar anyways.
2009-10-30 13:25:27 -04:00
Cole Robinson
77ecc9e6e9
Don't show a useless traceback if details window errors.
2009-11-01 16:35:33 -05:00
Cole Robinson
1842a204dd
Fix up some pylint.
2009-10-28 20:35:13 -04:00
Cole Robinson
c24ba2fd5d
Make sure pylint supports a check before we disable it.
2009-10-28 20:20:14 -04:00
Cole Robinson
26535026b1
Refactor cdrom insert/eject routines.
...
We were doing some hacky stuff behind the scenes, removing and readding a
new device to the XML when we could just edit in place. Fix up these issues
(should be an effective nop).
2009-10-28 16:38:09 -04:00
Cole Robinson
3b7a4762c6
domain: Break apart device lookup helper functions for xpath and nodes
...
Both are useful pieces to have, so separate the logic into two functions.
2009-10-05 18:57:29 -04:00
Cole Robinson
6091f9d1a3
create: Fix removing of host storage poll timer
2009-10-05 18:22:50 -04:00
Cole Robinson
3374d0134d
domain: Explicitly mark XML altering API.
2009-10-05 18:00:13 -04:00
Cole Robinson
737c88e3e0
domain: cleanup: Use helper functions for methods that pull from self.record
2009-10-05 17:31:59 -04:00
Cole Robinson
11358820b0
Reorganize domain methods to wrap all virDomain calls.
...
Explicitly discourage direct access to the virDomain instance.
2009-09-25 09:52:03 -04:00
Jon Nordby
13f2a7bc15
Keep app running on close if systray enabled.
2009-10-29 11:08:40 -04:00
Cole Robinson
a7e76ef57a
Remove some debugging prints.
2009-10-28 15:45:48 -04:00
Cole Robinson
c3dfeeb66a
details: List console vs. details choice in View menu
...
This way, if the user hides the toolbar, the same functionality is still
available.
2009-10-21 12:01:53 -04:00
Cole Robinson
f713de91fa
manager: Add 'Double click to connect' hint to connection row tooltip
2009-10-21 10:36:58 -04:00
Cole Robinson
3dea0fb098
details: Don't show console tabs after going fullscreen.
2009-10-21 10:11:42 -04:00
Cole Robinson
2f3783a35d
details: Clean up VM state updating
2009-10-21 10:09:09 -04:00
Cole Robinson
625929c780
createpool: Support netfs pool enumeration
...
The user needs to enter a hostname and activate (hit enter) the entry, which
will populate the pool sources.
2009-10-21 09:48:12 -04:00
Cole Robinson
8f65144eff
Fix glade 'invalid icon size' warning.
2009-10-20 21:32:00 -04:00
Cole Robinson
1b9a73bfc5
Fix up glade stock id warning/screwiness.
...
Some previous glade version messed up a lot of imagemenuitems with
nonstandard text, but using stock icons. Fix these issues.
2009-10-20 21:24:10 -04:00
Cole Robinson
eb4266b427
createpool: Support logical pool enumeration.
2009-10-20 21:12:35 -04:00
Cole Robinson
17f0b473dc
createpool: Refactor pool building to accomodate FindPoolSources
...
Store a pre built pool in the source list model when we populate pool
sources. This allows us to store info in the pool object that isn't directly
exposed to the user (like pool source name).
2009-10-20 20:20:59 -04:00
Cole Robinson
0953fea9e7
createpool: Don't set values half way through the validation process.
2009-10-20 19:14:25 -04:00
Cole Robinson
6ddf8b434a
createpool: Clean up field sensitivity logic.
2009-10-20 16:53:13 -04:00
Cole Robinson
9a64046200
createpool: Support adding SCSI pools
...
We show the available host adapters in a drop down for 'source path'.
2009-10-19 15:55:19 -04:00
Cole Robinson
302d3d6c99
Add tooltips for toolbar buttons in manager and details.
2009-10-05 13:03:41 -04:00
Cole Robinson
b0f2eed11f
create-vol: Don't allow allocation to be higher than capacity.
...
Also tweak the spin button climb rates to be more useful.
2009-10-05 11:50:10 -04:00
Cole Robinson
5c2875aa97
create-vol: Don't allow creating vol without a name entered
2009-10-05 11:34:39 -04:00