Commit Graph

2488 Commits

Author SHA1 Message Date
Li Zhang
3455dccf89 virt-manager:Add spapr-vlan model for pseries guest
For pseries machine type, network device is
based on spapr-vio bus. And the network device
type is called spapr-vlan. So add spapr-vlan
model for pseries guest.

Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
2012-03-06 16:26:50 -05:00
Li Zhang
2cb90b905c virt-manager: Add spapr-vscsi disk type for pseries guest.
This patch adds spapr-vscsi disk type on disk GUI page.
It provides an options to user to select the scsi disk
which is based on spapr-vio address type for pseries guest.

Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
2012-03-03 14:00:48 -05:00
Cole Robinson
3e350aa691 details: don't switch to console page every time lxc guest is updated 2012-03-02 09:16:03 -05:00
Cole Robinson
0782a10b29 domain: Don't blacklist stat devs if guest isn't running
Prevents adding devs to the blacklist if we get an error while polling
when the vm is shutting down.
2012-03-01 19:07:56 -05:00
Cole Robinson
a74f84a6cf createinterface: Fix updating vlan tag by typing 2012-03-01 18:57:39 -05:00
Cole Robinson
92c2bf6b30 details: Add qed to format list 2012-03-01 18:08:13 -05:00
Cole Robinson
d37ec7c162 network: Don't choke parsing new 'bridge' virtual network 2012-02-28 16:35:21 -05:00
Daniel P. Berrange
9727c89cda Fix inclusion of extra_release to be unconditional on %dist existing 2012-02-23 10:15:31 +00:00
Cole Robinson
bc053a9245 Update some --help descriptions
Hide profile option from help output, since not useful for end users.
2012-02-20 13:09:00 -05:00
Cole Robinson
1e10c830b9 create: Show a warning if user doesn't specify an OS
Since it can have major performance implications.
2012-02-13 18:35:56 -05:00
Cole Robinson
f12f4ea198 create: reshow shouldn't overwrite values in visible dialog 2012-02-13 16:19:34 -05:00
Cole Robinson
fbef52dbfe prefs: Improve name/tooltip of console shortcut option 2012-02-13 16:13:11 -05:00
Cole Robinson
b2c95375a3 create: Only reboot VM if it had an install phase 2012-02-13 15:47:06 -05:00
Cole Robinson
7cb08a640a Use storage format default in addhw as well 2012-02-13 15:18:43 -05:00
Marc Deslauriers
cda1dd81f9 Fix dbus deprecation warning
(crobinso: fixed conflict, simplified import)
2012-02-13 15:10:00 -05:00
Cole Robinson
51360f8854 create: Fix infinite loop from idle callback 2012-02-13 14:55:59 -05:00
Cole Robinson
56265735b9 Add option to choose default disk image format 2012-02-13 14:49:00 -05:00
Cole Robinson
0c507ac98b Drop use of gtk threading
In general it complicates things for minor simplifications in some
cases. I think it's better just to learn that anything invoked from
a thread that _might_ touch the UI should just be dispatched in an
idle callback. Anything UI bits that we need immediately in a thread
can just use some creative trickery (like is done in connectauth) to
block in a safe manner.
2012-02-13 11:57:52 -05:00
Cole Robinson
239028e173 async: Use idle callbacks for UI updating
Rather than explicit locking. One step closer to dropping thread
locking.
2012-02-10 15:47:36 -05:00
Cole Robinson
dc78c01edc asyncjob: Provide helper to get meter wrapper 2012-02-10 12:12:15 -05:00
Cole Robinson
cb777cd7d4 connection: Move auth helpers to own file 2012-02-10 11:03:19 -05:00
Cole Robinson
3bf6d17059 create: Don't use explicit thread locks for distro detection
Just simplify things by using idle_add to set the UI
2012-02-10 06:58:45 -05:00
Cole Robinson
49bfd25780 create: Make install option tooltips and errors more accurate 2012-02-09 09:55:45 -05:00
Cole Robinson
a5ecf7203f create: Don't hide install methods if none will work
So users can get info from the tooltips
2012-02-09 09:04:09 -05:00
Cole Robinson
67ca0a9f34 addhw: Refresh video model when relaunching dialog
Since values depend on VM config which can change between runs.
2012-02-08 18:20:59 -05:00
Cole Robinson
32456e5ed7 Make VNC grab alt+tab when focused
If using a tablet device, the user needed to force pointer grab with
ctrl+alt just to get all keyboard grab, otherwise the desktop caught
alt+tab.
2012-02-08 17:56:55 -05:00
Cole Robinson
13dd371e48 Don't let media polling block app if a connection goes down
If we unplug a remote machine we are connected to, doing the media
timeout with a gobject timeout means running it in the main thread,
which if it's blocking on the remote connection will freeze the whole
app.
2012-02-08 14:15:15 -05:00
Cole Robinson
4ddc0fb486 Fix a pep8 violation 2012-02-08 14:12:47 -05:00
Cole Robinson
14e66a27e0 prefs: Clarify 'force shortcut' tooltip a bit 2012-02-08 12:41:02 -05:00
Cole Robinson
fa6870869e host: Don't show error for all interfaces if one is busted 2012-02-08 07:26:06 -05:00
Cole Robinson
7f09d0b519 host: don't overload gtk by mashing refresh button
Reentrant issues can cause us to crash. Lock access
2012-02-07 19:05:45 -05:00
Cole Robinson
265e04205e Add VDI to disk format list
People actually distribute images in that format:

https://bugzilla.redhat.com/show_bug.cgi?id=761300
2012-02-07 17:13:59 -05:00
Cole Robinson
101d328ed6 addhw: Allow specifying empty cdrom/floppy devices 2012-02-07 16:51:16 -05:00
Cole Robinson
97d3b46b77 prefs: Fix setting key grab if we see a fake meta key
Like when pressing Shift_L + Alt_L. Match internally on actual hardware
keypress value.
2012-02-07 13:52:26 -05:00
Cole Robinson
e030c6bba0 Remove some debug, only to add a ton more ... 2012-02-07 13:50:48 -05:00
Cole Robinson
bbfed63153 Remove debugging cruft 2012-02-06 17:58:08 -05:00
Cole Robinson
c47fc54540 vnc: Fix accidental recursion we reporting grab keys 2012-02-06 17:57:14 -05:00
Cole Robinson
3ed2e14520 Log virtinst and virt-manager versions at startup 2012-02-04 08:41:33 -05:00
Cole Robinson
ca4714bf42 Update translations (and make em work with gtkbuilder) 2012-02-02 17:40:33 -05:00
Cole Robinson
f2eba998a1 Build system changes for UI move 2012-02-02 17:09:20 -05:00
Cole Robinson
738ec19ad4 host: Fix 'iface add' button sensitivity after inactive conn
Button can stay permanently disabled if we view host details
while a conn is inactive.
2012-02-02 16:58:21 -05:00
Cole Robinson
54d007b287 manager: Fix error reporting when can't connect remotely
Also rejigger the error building again to be more useful and
less scary in cases where we are pretty confident we know what the
problem is.
2012-02-02 16:45:18 -05:00
Cole Robinson
98d53d14fe create: Allow import installs on PV only xen host 2012-02-02 15:43:45 -05:00
Cole Robinson
ee7afb7679 Give a nice warning if GTK is too old for us 2012-02-02 14:37:37 -05:00
Cole Robinson
269b0096a5 F16 glade3 stomps our scroll policy, fix it
Problem is any time someone uses f16 glade3 to edit files, it's going to
strip out the policy again. Will just have to be dilligent.
2012-02-02 14:25:11 -05:00
Cole Robinson
8717e63687 Sanitize gtkbuilder XML for RHEL6
There's a pretty useless element added to ui files by f16 glade that
trips up RHEL6 gtk. If gtk is old enough, sanitize things.
2012-02-02 14:25:11 -05:00
Cole Robinson
9adab83715 Reinstate all combo box entries, f16 glade throws them away
Hardcode them in the python files, since for some reason glade
just can't be convinced to hang onto them. I know they are deprecated,
but only as of gtk 2.24 which is much newer than our current minimal
target of RHEL6 2.18
2012-02-02 14:19:59 -05:00
Cole Robinson
103c2e0da1 Convert UI files from glade to gtkbuilder
Glade is long since deprecated, and the 'glade' tool in F15 and up doesn't
even handle glade format files!

This effectively drops support for running virt-manager on a RHEL5 host,
which has a GTK that is too old to support gtkbuilder.

The process here was:
- On RHEL6, open all glade files with glade3, use Edit->Preferences to
  change format to gtk builder. (the gtk-builder-convert tool
  produced all sorts of brokenness, and f16 glade3 can't even open
  old glade files).
- Open these new files in glade on f16 and resave (since glade is
  notorious for reformatting files over new versions, saves churn
  the first time someone goes to patch the UI using a modern glade)
2012-02-02 14:17:50 -05:00
Cole Robinson
bc7f27a468 Prep for release 2012-01-31 20:23:23 -05:00
Cole Robinson
3090b48026 RHEL6 back compat 2012-01-31 20:13:47 -05:00