Cole Robinson
a6e0531dfc
Prep for release
2011-07-26 19:56:33 -04:00
Cole Robinson
1029e8eb32
rpm: Add option for depending on libguestfs
2011-07-26 19:55:18 -04:00
Cole Robinson
ec84fc7d86
create: Don't reprompt about ideal path before 'customize'
2011-07-26 14:25:48 -04:00
Cole Robinson
eec72ee5b1
TUI: Drop direct HAL usage, use virt-manager code
...
virt-manager already has code for listing CDROMs and host network devices
via libvirt's nodedev APIs (and optionally falling back to HAL if those
aren't available).
Use this in the TUI so we can drop the hard requirement on HAL, which is
deprecated.
side note: on f14, the TUI segfaults if no cdrom media devs are found when
trying to install a new guest. this issue predates this patch and is likely
a problem in newt or the python_newt bindings. I didn't really dig into
it though.
2011-07-26 14:11:33 -04:00
Cole Robinson
fe73a32a0a
create: Limit OS options if on RHEL6
...
Only show supported guest OS options
2011-07-25 19:13:38 -04:00
Cole Robinson
4338cb12fb
create: By default, only list non-EOL OS options
...
Using the new info from virtinst. Each drop down now has an option to
'show all OS values' which will repopulate the combo boxes with a complete
listing.
2011-07-25 18:53:09 -04:00
Cole Robinson
29fc8cc340
manager: Make disk/net graphs all on the same scale
...
Not very useful to try and compare multiple graphs using unreported and
different scales. Make every network/disk graph scale to the highest
value the manager has seen yet.
2011-07-25 15:09:42 -04:00
Cole Robinson
156bd2f17b
create: Enable remote URL installs if supported
2011-07-25 14:04:23 -04:00
Cole Robinson
16971b76e1
domain: Check jobinfo support on demand
2011-07-25 13:52:00 -04:00
Cole Robinson
6024065be3
engine: Always stop close conn if polling error encountered
...
We handle a lot of errors in the conn tick function, anything unhandled
should be fatal. For errors that aren't libvirtd restarting/crashing,
report them to the user.
2011-07-25 13:36:36 -04:00
Cole Robinson
5f22897f94
baseclass: Centralize exception reporting
...
Also add some checks to make sure subclasses always specify a proper
cleanup method
2011-07-23 21:16:54 -04:00
Cole Robinson
d5a59426ba
details: Allow changing disk IO mode
2011-07-23 20:41:35 -04:00
Cole Robinson
97cf9f8b5d
connect: Ellipsize URI field, so dialog doesn't distort
2011-07-23 19:56:39 -04:00
Cole Robinson
da23ebf4ce
createpool: Allow setting iscsi IQN
2011-07-23 19:56:38 -04:00
Cole Robinson
cfd08a895a
createpool: Add source enumeration for 'disk' pools
2011-07-23 19:56:38 -04:00
Cole Robinson
4b75b7dc0e
createpool: Hide options that aren't applicable for pool type
...
Rather than just desensitize them.
2011-07-23 19:56:37 -04:00
Cole Robinson
92ef22666a
create: Make sure domain status is up2date before install
...
Seems we can miss sometimes that guest is already running
2011-07-23 15:51:19 -04:00
Cole Robinson
650e2d3205
halhelper: Properly cleanup dbus signals
...
Figured out how to do it!
2011-07-23 15:40:11 -04:00
Cole Robinson
3042550674
connect: Don't leak dbus signals
2011-07-23 15:40:11 -04:00
Cole Robinson
e9980eb41f
connection: Fix leak if connect fails
...
Something to do with using sys.exc_info ?
2011-07-23 15:40:10 -04:00
Cole Robinson
aec781a675
connect: Don't always set autoconnect=True
...
Bug due to a messed up gobject signal definition
2011-07-23 14:29:27 -04:00
Cole Robinson
a0cc34e089
create: properly cleanup customize dialog if it is cancelled
2011-07-22 20:02:49 -04:00
Cole Robinson
d692ea652d
create: Make sure 'customize' respects already allocated disk paths
...
Going create->customize->addhw->storage->default storage would reuse the
storage path allocated in the create wizard. Coordinate with virtinst's
dup functions to avoid this problem.
2011-07-22 19:50:30 -04:00
Cole Robinson
12528d5028
inspection: Skip guests if we can't read their disk images
...
Not an exhaustive check, but saves us some traceback spew in the logs
2011-07-22 19:19:42 -04:00
Cole Robinson
f752d948cd
choosecd: Give proper titles if browsing for floppy media
2011-07-22 19:12:48 -04:00
Cole Robinson
28839cab4d
baseclass: Fix traceback if skipping leak check
2011-07-22 19:12:31 -04:00
Cole Robinson
77063968c9
baseclass: Fix timeout_add
2011-07-22 19:11:04 -04:00
Cole Robinson
f0019113b6
rpm: TUI: Requires libuser and IPy
2011-07-22 18:52:43 -04:00
Cole Robinson
ec38df2ee4
baseclass: Emulate gobject signals for TUI
...
Pretty easy to do with a high level language. Go python!
2011-07-22 18:45:24 -04:00
Cole Robinson
099753d146
s/connection/conn/g in all internal APIs
...
For consistency and line reduction
2011-07-22 16:43:26 -04:00
Cole Robinson
e4f774058a
inspection: Don't warn at app shutdown about leaks
...
Can't find a way to get a Thread to release the reference to the callback
2011-07-22 16:43:22 -04:00
Cole Robinson
be0118e2fe
inspection: Have it subclass vmmGObject, cleanup its resources
2011-07-22 14:19:35 -04:00
Cole Robinson
44869d2e6c
connection: Don't pass redundant 'uri' to callbacks
2011-07-22 13:54:40 -04:00
Cole Robinson
15e6cc18f6
manager: Don't require explicit access to the controller/engine
...
We should just be using signals for all of this
2011-07-22 13:42:20 -04:00
Cole Robinson
d4740fbd3b
s/enable_unsupported_rhel_opts/rhel6_defaults/g
2011-07-22 13:13:26 -04:00
Cole Robinson
0ab1f99230
utils: Make chkbox_helper always return button response
...
Don't have it predict what the caller expects
2011-07-22 13:11:04 -04:00
Cole Robinson
1a6e803a09
RHEL6: Don't allow selecting QXL if VNC graphics are configured
...
It ain't supported!
2011-07-22 13:00:36 -04:00
Cole Robinson
1f46603edf
Disable VMDK option if on RHEL6
...
RHEL6 qemu doesn't accept VMDK files
2011-07-22 12:22:09 -04:00
Cole Robinson
64ccb02e08
choosecd: Simplify init params
2011-07-22 12:18:26 -04:00
Cole Robinson
22cdd8b2ce
If no shutdown icon in the them, fall back to 'media-stop'
2011-07-20 20:02:49 -04:00
Cole Robinson
f2bc2f441c
po: Fix a spanish translation issue
2011-07-20 19:42:54 -04:00
Cole Robinson
b8c1d66801
libvirtglib: Handle/Timer IDs start at 1
...
Libvirt doesn't treat 0 as a valid handle/timer value.
2011-07-20 14:08:29 -04:00
Cole Robinson
7042c43bbe
details: Confirm with user before throwing away changes on page change
...
We've had many users be confused by changes in the details pages not
taking immediate effect, or just forgetting to hit apply.
Now by default we prompt users if switching pages if there are unapplied
changes. This can be disabled like other prompts in Edit->Prefs or with
a 'Don't warn me again' chkbox in the dialog.
2011-07-19 20:29:07 -04:00
Cole Robinson
b14a44bf62
details: Add a cancel button for undo-ing hw edits
...
Next we introduce a dialog warning the user they have unapplied HW edits.
This gives them a way to undo edits without having to force encounter the
dialog.
2011-07-19 14:51:16 -04:00
Cole Robinson
297afef5f5
create: Read storage size from text field in spinner
...
Not just the spun value. Reuse the helper from details.py
2011-07-19 14:02:39 -04:00
Cole Robinson
4c61287e01
migrate: Fix some expander spacing issues
2011-07-19 13:56:27 -04:00
Cole Robinson
0db10e366b
migrate: Send proper URI to peer2peer migration
...
Expects libvirt URI and not tcp: style uri. Also wire up interface+port
for p2p migration.
2011-07-19 13:51:42 -04:00
Cole Robinson
fa0070b1dd
domain: Don't be so strict about matching USB devs
...
Since an active USB dev has both product+vendor and bus+addr, but an inactive
dev won't have bus+addr in many situations, hotunplug wasn't removing the
persistent dev. Relax the lookup check a bit.
2011-07-19 12:39:03 -04:00
Cole Robinson
26c49f7d6e
Don't register events unless libvirt is new enough
...
Python callbacks for custom event loops changed signature, so only use
newer impls.
2011-07-19 12:39:03 -04:00
Cole Robinson
5f7d061e6f
details: Fix inspection UI expanding
2011-07-18 21:36:13 -04:00