Commit Graph

181 Commits

Author SHA1 Message Date
Cole Robinson
bbc65216db Refactor OpticalHelper functionality.
Add helper functions to properly set up the cdrom combo widgets. Separate
the dbus polling from UI editting: eventually we will get some of this info
from libvirt hostdev APIs, and this will help.
2009-07-02 12:43:08 -04:00
Michal Novotny
fd480885bc Make virt-manager remember last used paths
This patch makes virt-manager remember last used paths for disk images, saved
snapshots, restored snapshots, media paths and also screenshot paths not to
bother users with changing paths from the default location per HV technology.
Useful when installing multiple domains and having all the media/image files
in non-default locations.
2009-06-23 19:30:12 -04:00
Cole Robinson
550db73928 Use storage broswer for CDROM insert and install media. 2009-06-18 10:40:37 -04:00
Cole Robinson
050677047e Correctly handle non sparse request in VM wizard. (Mark McLoughlin)
We currently have it backwards, so a sparse request actually asks for
nonsparse. We didn't see this much, since until recently virtinst wasn't
allowing nonsparse volume allocation.
2009-06-16 15:31:18 -04:00
Cole Robinson
6c8302a436 Don't set paravirt disk defaults in create wizard: virtinst now handles it. 2009-06-04 14:42:33 -04:00
Cole Robinson
54c7719c92 List HV, Arch, Emulator in VM->Details->Overview 2009-05-12 13:09:08 -04:00
Cole Robinson
d954dcc918 Fix changing 'arch' in VM create wizard.
Previously it never did anything :(
2009-05-11 13:18:14 -04:00
Cole Robinson
3ad177128c Keep a list of used install ISO paths.
Store these in gconf on a per hostname basis, since a local path likely
isn't relevant for a connection on another host.
2009-05-11 11:00:03 -04:00
Cole Robinson
02c62a572f Fix UI screwiness with named text entries in ComboBoxEntrys
Worked at some point, but now everytime the vmm-create file is saved in
a new glade version (as on rawhide), the naming gets wiped out and the
wizard won't even launch.
2009-05-11 10:17:52 -04:00
Cole Robinson
dd50d5e141 Check 'defined outside init' w/ pylint script, fix errors. 2009-04-03 14:15:23 -04:00
Cole Robinson
f9680aa8e0 Store errors in asyncjob instances.
This allows us to remove all the hackish global error reporting variables
whenever we run an async job.
2009-04-03 14:15:15 -04:00
Cole Robinson
170c6cd4a7 Fix default 'New VM' install options on older xen connections. 2009-03-13 14:37:15 -04:00
Cole Robinson
e0833c00ee Fix some create wizard cpu logic. 2009-03-09 22:42:17 -04:00
Cole Robinson
4c38fb2f31 Add new application icon (Mike Langlie, Jeremy Perry) 2009-03-09 16:58:55 -04:00
Cole Robinson
b1f69cffd8 Add libvirt storage aware file browser.
Hook it up to the New VM and Add Hardware wizards, all storage browsing.
2009-03-09 16:19:39 -04:00
Cole Robinson
f9dfe4acab New 'Create VM' wizard. 2009-03-09 16:16:45 -04:00
Cole Robinson
70bd947c74 Don't use yes/no dialog for sparse size warning (Guido Gunther) 2009-02-15 21:20:14 -05:00
Cole Robinson
9fcf867e94 Throw clean error is user doesn't specify a physical cdrom device for installation. 2009-01-24 13:46:33 -05:00
Cole Robinson
295f776630 More UI tweaks (Richard Laager) 2009-01-23 16:34:33 -05:00
Cole Robinson
d0e4dbd791 Remove 'iso' filter for install media browser. 2009-01-23 15:11:03 -05:00
Cole Robinson
bf93dfa2b3 Give a clear error if no iso path is entered. 2009-01-23 12:09:54 -05:00
Cole Robinson
eb8e4b9af7 Don't needlessly prevent using remote block devices for storage. 2008-12-11 15:41:01 -05:00
Cole Robinson
1f23c56779 Don't sort virtinst os lists, they now come presorted. 2008-12-06 23:06:20 -05:00
Cole Robinson
0187458ba9 Fix up various remaining pylint. 2008-11-18 17:01:22 -05:00
Cole Robinson
a14b844b20 Rename variables that shadow built-in functions. 2008-11-18 15:42:51 -05:00
Cole Robinson
11a38c01f3 Remove unused variables. 2008-11-18 14:48:10 -05:00
Cole Robinson
b6e35dfd2f Fix up some indentation issues. 2008-11-05 15:46:47 -05:00
Cole Robinson
6491a63f6f Remove unused imports. 2008-11-05 15:40:59 -05:00
Cole Robinson
45f591fcaf Don't add sound devices multiple times. 2008-10-23 15:15:19 -04:00
Guido Gunther
370d0b9aba allow to activate inactive networks 2008-10-02 15:15:53 +02:00
Guido Gunther
b1d959074f more qemu:///session cleanup 2008-09-25 11:24:40 +02:00
Cole Robinson
f6b1590817 Remove unnecessary validation check. 2008-09-17 07:53:00 -04:00
Cole Robinson
0236498832 Make sure to switch disk connection over to new connection when creating guest 2008-09-08 21:56:18 -04:00
Cole Robinson
76cd8f3dda Create the default pool if user requests '/var/lib/libvirt/images' as a storage dir. 2008-09-07 18:56:30 -04:00
Cole Robinson
333aa00df8 Multiple fixes to enable remote vm creation. 2008-09-05 09:42:25 -04:00
Cole Robinson
fb271b4874 Sound summary typo. 2008-09-04 10:38:38 -04:00
Cole Robinson
70c7748011 Add support for adding audio devices when creating guests.
Preferences are global, not per install. Can be seen via edit->preferences
2008-09-02 12:09:39 -04:00
Cole Robinson
a5305e6280 Only default to PV guest if it is xen pv, not xenner 2008-08-25 15:50:00 -04:00
Cole Robinson
ab0d601c40 Fix small variable name bug. 2008-08-25 15:03:51 -04:00
Cole Robinson
dcc533c053 Use VirtualDisk is_size_conflict rather than duplicating code. 2008-08-25 15:00:11 -04:00
Cole Robinson
e96d89ca26 Use seperate connection for create wizard validation, only fork conn at end (so we don't prompt for password at the beginning of a remote install) 2008-08-18 12:02:49 -04:00
Cole Robinson
1fbdc32500 Show correct size for block device storage (Adam Stokes) 2008-08-04 11:06:46 -04:00
Cole Robinson
1502ee23e4 Re-use disk size field in add hardware wizard. 2008-06-23 16:13:07 -04:00
Cole Robinson
fd22bc355e Fix stupid syntax error. 2008-06-23 16:02:30 -04:00
Cole Robinson
dc4b36dac1 Revert 778: since create process is threaded off, we need to open a seperate connection otherwise we cause a race condition. 2008-06-23 14:27:23 -04:00
Cole Robinson
df79106dc6 Move keytable from virt-manager to virtinst 2008-06-16 12:00:13 -04:00
Cole Robinson
484bc23638 Init guests with actual libvirt connections, not virt-manager connection objects. 2008-06-12 17:18:50 -04:00
Cole Robinson
1f83054001 Error if invalid bridge device is selected. Have default bridge selection be a valid bridge if one exists. 2008-06-12 17:16:29 -04:00
Cole Robinson
614cae418c Explictly pass conn object to guests, so virtinst doesn't open a seperate connection. 2008-06-04 13:50:48 -04:00
Cole Robinson
efa234a227 Pressing 'Enter' should select a manually entered path in a FileChooser (bz 426196) 2008-05-07 10:39:15 -04:00