Commit Graph

2658 Commits

Author SHA1 Message Date
Cole Robinson
bbc6f41baf TUI: Remove some pylint 2011-08-29 12:53:05 -04:00
Cole Robinson
41e6d7b0f4 details: Fix confusion when removing device with unapplied changes 2011-08-29 12:53:02 -04:00
Cole Robinson
8a51336152 manager: Properly show domain names with reserved XML characters 2011-08-29 12:11:43 -04:00
Cole Robinson
a1057be68f spec: Fix disabling RHEL6 unsupported options 2011-08-29 11:13:34 -04:00
Cole Robinson
0c2eee328d details: Don't show SCSI/USB bus for RHEL6 2011-08-29 11:06:19 -04:00
Cole Robinson
1458604034 storagepool: Fix RHEL6 gtk compat issue 2011-08-24 12:52:46 -04:00
Cole Robinson
5104669795 Specify /usr/bin/python explicitly 2011-08-24 12:41:30 -04:00
Cole Robinson
3438e7ecf5 Remove unneeded python header 2011-08-24 12:41:29 -04:00
Cole Robinson
5476a7dbb7 Add Miklos to AUTHORS 2011-08-24 12:41:28 -04:00
Cole Robinson
9dc799af9c domain: Don't fetch XML on tick to get vcpu count
It's available in the domain info structure. Saves us from hammering
xenstored and just plain doing to much work on every tick.
2011-08-23 15:48:30 -04:00
Marc Deslauriers
a815fa17a7 virt-manager: Fix "Resize to VM" menu option
Hello,

This patch fixes the "Resize to VM" menu option by correcting inverted return
values in autodrawer.py.

Thanks,

Marc.

commit 8e666f4b87926c866ed35e58eb82213d2c514e89
Author: Marc Deslauriers <marc.deslauriers@ubuntu.com>
Date:   Fri Aug 19 11:46:48 2011 -0400

    Fix inverted width and height
2011-08-23 15:48:30 -04:00
Darryl L. Pierce
a885407aa1 Fixes the TUI error when no CD is present for a CD installation.
Before displaying the install media selection list it first ensures that
there is data to display.

If no install media was detected, a message is shown and the user cannot
proceed. They instead must move back and select another installation
path.
2011-08-09 11:53:36 -04:00
Richard Laager
d078def94f grep -q Portability
I don't think I've sent this one to the list yet.

The nc -q autodetection code fails if the target system's grep does not
have a -q argument (quite the ironic coincidence). I believe -q is
specified by POSIX, but Solaris 11's /bin/grep does not support -q.
Redirecting to /dev/null works portably. (In fact, this is even
recommended in favor of -q for portability by GNU grep's man page.)

This needs to be changed in virt-manager's src/virtManager/console.py.

Richard
2011-08-09 11:33:31 -04:00
Cole Robinson
79d6063075 rpm: Update icon cache after install 2011-08-02 13:19:58 -04:00
Cole Robinson
347b02b29f autodrawer: Make it work on RHEL6 2011-08-02 12:55:02 -04:00
Miklos Vajna
927daf1e13 virt-manager: Show if the shut off vm has a saved image
Hi,

So far in virt-manager one had to click on a shut off vm in the
"Shutoff" state to see if it has a saved image: once the item is
selected then the "play" icon will be "Run" or "Restore". This means
that in case one has a lot of VMs, it's hard to get an overview of what
VM has a saved image and what not.

The attached patch changes the "Shutoff" status message to "Saved" in
case the vm has a saved image.

Thanks.

>From 14445dc510fcc55c267649295246984972691885 Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmiklos@frugalware.org>
Date: Sat, 30 Jul 2011 22:02:48 +0200
Subject: [PATCH] domain: Show if the shut off vm has a saved image
2011-08-01 16:16:40 -04:00
Cole Robinson
decea98791 create: Set a reasonable line wrap policy for error message 2011-08-01 16:15:20 -04:00
Cole Robinson
ad2b33626f rpm: TUI requires a newer version of python-newt_syrup 2011-08-01 12:10:44 -04:00
Cole Robinson
d3cf1065b3 rpm: Don't error building if with_spice isn't defined 2011-08-01 12:09:08 -04:00
Cole Robinson
93764a9731 rpm: Handle lack of gconf helper macros 2011-08-01 12:08:59 -04:00
Darryl L. Pierce
4ad89abd50 Fixed the Finish button on the stop pool command.
The Finish button is now displayed on the last page where the stopping
is confirmed to the user.
2011-07-30 07:53:47 -04:00
Darryl L. Pierce
aa6df0a8ac Added a confirmation page to the Remove Pool flow.
The new page displays the name of the pool that was removed.

It also catches exceptions when the pool is deleted from underneath the
command.
2011-07-30 07:53:47 -04:00
Darryl L. Pierce
36611a34d1 Fixed the Finish button on the remove pool command.
The command now confirms when a pool has been removed.
2011-07-30 07:53:47 -04:00
Darryl L. Pierce
2b5b8a8b35 Fixed the Finish button on the start pool command.
The Finish button is now shown on the final page, and the final page
displays confirmation that a pool was stopped.
2011-07-30 07:53:47 -04:00
Darryl L. Pierce
5acc47f172 Updated the snack import for stoppool.py to be consistent. 2011-07-30 07:53:47 -04:00
Darryl L. Pierce
5f71f14578 Updated the snack import for startpool.py to be consistent. 2011-07-30 07:53:46 -04:00
Darryl L. Pierce
127f2e9479 Updated removepool.py to use the grid screen helper function. 2011-07-30 07:53:46 -04:00
Darryl L. Pierce
354027fb91 Updated listpools.py to use the grid screen helper function. 2011-07-30 07:53:46 -04:00
Darryl L. Pierce
5b7eb8dc1d Updated addpool.py to use the new grid screen helper function. 2011-07-30 07:53:46 -04:00
Cole Robinson
0e8b3bdc65 spec: Add buildreq: GConf2 for gconf macros
Also have with_spice imply default=spice
2011-07-28 10:42:13 -04:00
Cole Robinson
62a762e77f domain: Fix typo that broke net stats gathering 2011-07-27 12:02:29 -04:00
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