Commit Graph

238 Commits

Author SHA1 Message Date
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
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
c98c471f24 create: Don't show storage page when using back button for import installs. 2010-06-02 10:07:34 -04:00
Cole Robinson
c96b2a3fbb create: Don't erroneously desensitize guest/dom options 2010-05-28 11:57:15 -04:00
Cole Robinson
f0520044a3 create: Drop needed caps check 2010-05-28 11:52:00 -04:00
Cole Robinson
159e4af12d create: Skip post-install restart if user destroys VM 2010-05-13 11:21:01 -04:00
Cole Robinson
85acd6ecab create: Ask to start default pool if it is inactive 2010-05-13 10:37:46 -04:00
Cole Robinson
a5f898f6bd Specify connection when building all virtinst devices 2010-05-05 16:06:46 -04:00
Marc Deslauriers
88ed04b9e8 Add conn info to virtinst.VirtualGraphics 2010-05-05 15:57:00 -04:00
Cole Robinson
34ff5bdf9d create: Add 'Import' option for an existing disk image 2010-03-22 18:15:18 -04:00
Cole Robinson
290c99110a Allow user to manually specify a shared device name
This allows using remote bridge devices where netcf isn't supported.
2010-03-20 18:35:47 -04:00
Cole Robinson
4d4f34e596 create: Break out storage helpers for use in addhw 2010-03-04 15:31:33 -05:00
Cole Robinson
5f6a59f118 create: Offer to reuse an existing disk image
If the disk image has the expected name /var/lib/libvirt/images/VMNAME.img,
and is unused by any guests, ask the user if they want to use it.
2010-03-03 18:16:08 -05:00
Cole Robinson
5db35b24d5 create: Don't cap storage size, just defer to warnings. 2010-02-28 20:56:41 -05:00
Cole Robinson
c6e9c4befe create: Make sure we restart new VMs the correct number of times
This means booting live cd's after initial creation, doing a post install
boot for most other installs, and booting windows twice for the 2 stage
install.
2010-02-28 19:40:06 -05:00
Cole Robinson
b602f8aaa1 create: Make sure audio and video devices use OS recommended defaults 2010-02-17 16:40:33 -05:00
Cole Robinson
f243ce4f7e domain: Have get_graphical_console provide more info 2010-02-12 16:33:43 -05:00
Cole Robinson
716acf1b9b create: Allow using a manually created 'default' pool 2010-02-12 14:17:16 -05:00
Cole Robinson
5d52bcadc8 create: Expand 'advanced' options on networking issue
This way the user is informed that there is no default network device,
or the default device is inactive.
2010-02-12 13:37:04 -05:00
Cole Robinson
dfb8f8666a Make sure all idle and timeout routines are thread safe.
Unbeknownst to me, these functions are not run thread safe:

http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html

However since they are run from the main loop, the chance of them conflicting
with another running thread is slim, since we have very few threads that
actually update the UI.
2010-02-11 12:32:00 -05:00
Cole Robinson
6debe5347b create: Give more warning if conn capabilities are sub optimal
Warn if HVM is available but disabled, no guest options are available,
and if KVM isn't around.
2010-02-10 20:26:40 -05:00
Cole Robinson
34c1b5b6d9 create: Use virtinst unified device API as requested via comment 2010-02-10 16:42:20 -05:00
Cole Robinson
651c0b7a1a create: Add an option to 'customize before install'
This drops the user into a 'details' dialog where they can add, remove, or
tweaks settings before starting the install.
2010-02-07 12:18:28 -05:00
Cole Robinson
d6e44672d6 create: Move default guest device set up out of finish phase. 2010-02-05 17:58:26 -05:00
Cole Robinson
4075899085 create: Fix creation when no network sources are found 2010-01-25 10:04:31 -05:00
Cole Robinson
352affbe3a Make 'Escape' key close dialogs
We should get this for free by using gtk Dialogs for our various UI pieces,
however the stock dialog is pretty restrictive WRT widget spacing, and
prevents us from make our nice blue header, so we are stuck with gtk.Windows
2009-12-14 16:45:55 -05:00
Cole Robinson
287ad90a90 Additional focus improvements 2009-12-14 16:48:35 -05:00
Cole Robinson
985dd91f26 Improve default widget focus for various wizards 2009-12-14 16:26:46 -05:00
Cole Robinson
ed911036f1 s/optical/mediadev/g for many internal routines
Make the move towards generalizing these for not just CDROM media, but also
floppy devices (and others in the future).
2009-12-10 20:04:26 -05:00
Cole Robinson
6c24bda23d create: Put kickstart and kernel opts under a minimized expander
Since these will likely be rarely used, and they currently appear mandatory,
hide them from view by default.
2009-12-02 09:17:33 -05:00
Cole Robinson
99ad626728 create: Also check installer scratchdir perms if required. 2009-12-01 12:41:45 -05:00
Cole Robinson
c4db9569e8 Use check_path_search_for_qemu
Used in create wizard, addhw, and choosecd.
2009-12-01 12:35:04 -05:00
Cole Robinson
085f2de8f0 Show netdev and optical errors in UI.
Take the error from the vmmConnection object, and show where appropriate in
various UI locations.
2009-11-30 12:51:25 -05:00
Cole Robinson
12e6d6c8bd Expose optical signals through connection object.
Connection object will get this info from either halhelper or libvirt (not
implemented yet).
2009-11-30 11:56:41 -05:00
Cole Robinson
8c320509ed opticalhelper: Move UI update routines to uihelpers 2009-11-30 16:21:04 -05:00
Cole Robinson
f9b7e9cdf4 Add new class vmmMediaDev, similar to vmmNetDev
Represents a physical media drive on the host (only cdrom for now, but could
be floppy later). Use this in opticalhelper
2009-11-30 16:20:06 -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
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
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
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
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
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
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
79a20bb5df storagebrowser: Allow setting browser title.
Also, various refactoring in how we pass options off to the local browser (try
to centralize a lot of duplication).
2009-11-10 14:30:51 -05:00
Cole Robinson
6091f9d1a3 create: Fix removing of host storage poll timer 2009-10-05 18:22:50 -04:00