Commit Graph

1976 Commits

Author SHA1 Message Date
Cole Robinson
f6868918fc Simplify asyncjob cancel callbacks
Have the async class check for a cancel exception and handle it
2010-12-10 14:59:24 -05:00
Cole Robinson
ec56a33f7c Run domain startup asynchronously
Sometimes startup is actually a domain restore, which can take a while, so
run it all async
2010-12-10 14:40:08 -05:00
Cole Robinson
252be3b009 Fix connecting to serial consoles 2010-12-10 14:04:33 -05:00
Cole Robinson
f6103c04dd host: Fix network list sensitivity when started/stopped
Also add lot's of logging in start/stop/delete/apply.
2010-12-10 14:02:11 -05:00
Cole Robinson
677f73fca7 Run pep8 with check-pylint, fix the fallout 2010-12-10 11:47:07 -05:00
Cole Robinson
d0d20148f7 asyncjob: Simplify error reporting 2010-12-10 09:57:42 -05:00
Cole Robinson
a1e54f8476 domain: Make sure we always build fresh guest if inactive XML requested
Device editting depends on that semantic.
2010-12-10 09:48:22 -05:00
Cole Robinson
9e0a96bd8f util: Simplify dup_conn functions 2010-12-09 15:45:05 -05:00
Cole Robinson
6399f4d6c8 createnet: Fix a broken icon 2010-12-09 14:49:36 -05:00
Cole Robinson
e4a3288055 Fix subdialog polish with clone and createinterface 2010-12-09 14:46:15 -05:00
Cole Robinson
70ae1c2046 storagebrowser: Make sure we had default window titles 2010-12-09 14:33:04 -05:00
Cole Robinson
35b7eae06d domain: Fix inactive XML building to not constantly reparse running VMs :/ 2010-12-09 14:12:20 -05:00
Cole Robinson
5c45358adc Remove 'config' passing from remaining classes/functions 2010-12-09 14:06:00 -05:00
Cole Robinson
e78e2da3f5 Use the a base class for all libvirt object classes 2010-12-09 12:37:48 -05:00
Cole Robinson
0fd57daca1 pylint: Check for unused variables, fix fallout 2010-12-09 11:22:35 -05:00
Cole Robinson
2dd81900fa Have UI classes share a baseclass 2010-12-08 17:26:19 -05:00
Cole Robinson
1608a08227 progress: Don't show busy pointer if we can cancel a job 2010-12-08 15:23:40 -05:00
Cole Robinson
41605b2d6f progress: Show cancel errors in the progress dialog 2010-12-08 14:14:38 -05:00
Cole Robinson
59b69f0a51 details: Tweak hotplug error dialog buttons 2010-12-08 13:05:38 -05:00
Cole Robinson
324e3cf1ed create: Fix adding default graphics device 2010-12-08 12:56:28 -05:00
Wen Congyang
45fab0153f Support job cancellation for migration, save functions 2010-12-08 12:52:33 -05:00
Cole Robinson
28b7a444f6 domain: Don't constantly reparse XML if domain isn't running 2010-12-08 12:27:52 -05:00
Cole Robinson
8b371b6e22 Domain: Pass pre-parsed capabilities to virtinst objects
Saves us from continually refetching caps and parsing. Also, only refresh
connection caps when we launch the create wizard: changing caps shouldn't
be common, and are really only important when creating guests.
2010-12-08 12:17:14 -05:00
Cole Robinson
5320431d85 create: Don't overwrite nic/disk list if moving back after customize 2010-12-07 16:48:13 -05:00
Cole Robinson
091828a862 create: Don't revalidate if use selects 'no storage'
Use a new simple livecd mode from virtinst to help out here.
2010-12-07 16:17:19 -05:00
Cole Robinson
249c77831c Only allow showing one validation dialog at a time 2010-12-07 15:27:10 -05:00
Cole Robinson
fe14b5e200 Use URI hacking from virtinst to facilitate testing 2010-12-07 14:26:51 -05:00
Cole Robinson
dffe228f32 create: Remember customized changes if install fails 2010-12-07 14:20:11 -05:00
Cole Robinson
125b2e4b09 Fix some UI widget ellipses 2010-12-07 12:49:34 -05:00
Cole Robinson
76be6d16ca Fix some UI widget ellipses 2010-12-07 12:38:34 -05:00
Cole Robinson
be2b59e5ff network Future proof PXE detection 2010-12-06 21:38:05 -05:00
Cole Robinson
ce27c4c4ae Fix translation error in as.po (bz 634049) 2010-12-06 09:34:51 -05:00
Cole Robinson
93331b01db create: Set OS type == 'generic' if detection fails
Also, don't run detection when we launch the wizard, only when we
switch to install screen.
2010-12-04 13:22:04 -05:00
Cole Robinson
09203b3028 create: Fix some small label expanding issues 2010-12-04 13:21:27 -05:00
Cole Robinson
8ff71a65b7 create: Warn if network doesn't support PXE, if PXE selected 2010-12-04 12:28:44 -05:00
Cole Robinson
766ddc7bf6 create: Don't prompt about default storage pool if importing 2010-12-03 13:09:29 -05:00
Cole Robinson
c871cc1d45 create: Don't skip distro detection if URL is pasted
Track whether we have already detected the current URL, and if not, force
a detection when the user press 'forward'
2010-12-03 12:55:56 -05:00
Cole Robinson
28fc9a3d5c createinterface: Allow specifying IP info for VLANs 2010-12-02 15:23:29 -05:00
Cole Robinson
8b8974970a host: Show running interface IP address 2010-12-02 15:19:17 -05:00
Cole Robinson
9e312c7a67 console: Rework keygrab/accelerator preferences
Reduce the keygrab options to a single question: whether to enable the
console window menu modifiers while the VNC console is active. This makes
the VNC widget focus act like a regular app (rather than default to stealing
keyboard focus on mouse over), and is the most intuitive I think we can
get. Inspired by vinagre.
2010-12-02 13:41:22 -05:00
Michal Novotny
b673fee41c prefs: Add description label to the grab keys dialog 2010-12-02 10:11:45 -05:00
Cole Robinson
c6088d650f Show error details if a hotplug operation fails 2010-12-01 17:48:07 -05:00
Cole Robinson
07992b0736 manager: Don't hard code font sizes, just use relative adjustments
Keeps a consistent look if users change font sizes
2010-12-01 15:22:38 -05:00
Cole Robinson
7357034f04 error: Unify some of the helper functions 2010-11-30 15:37:54 -05:00
Cole Robinson
1c3e7a1ea3 Remove some unneeded imports and old pylint workarounds 2010-11-30 15:01:02 -05:00
Cole Robinson
779dcdd824 Don't use old style __gobject_init__() 2010-11-30 14:40:49 -05:00
Cole Robinson
749b6cdc88 error: Simplify dialog init, remove a bunch of boilerplate 2010-11-30 14:33:21 -05:00
Cole Robinson
b935af18c1 console: s/notify_grabbed/pointer_grabbed/g 2010-11-30 11:51:31 -05:00
Cole Robinson
50ccdf251e details: Fix max vcpus updating
Use the same refresh handler for VM state and config changes (since max
vcpus can be tied to state change as well).
2010-11-30 11:49:47 -05:00
Wen Congyang
2e220a017f migrate: check whether the domain supports downtime early 2010-11-30 10:52:11 -05:00