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
Cole Robinson
f4aa83e10f
Fix pylint detection, and clean up the fallout
2012-01-31 19:07:32 -05:00
Cole Robinson
f42f3afe42
Add some debugging on dialog open/close
2012-01-31 18:16:54 -05:00
Cole Robinson
c3380ca700
Remove deprecated 'Encoding' field from desktop file
2012-01-31 17:52:26 -05:00
Cole Robinson
22307913a6
host: If a storage volume error, just hide it
...
Instead of breaking the whole pool view
2012-01-29 22:23:45 -05:00
Cole Robinson
ce694fc76e
pool: When refreshing, update volume XML
...
Fixes changing storage format in UI on pool refresh.
2012-01-29 22:15:01 -05:00
Cole Robinson
3a28df0912
details: Disable send key toolbar menu when paused
2012-01-29 21:56:18 -05:00
Cole Robinson
edbd5191c0
console: Watch gconf for grab keys update
2012-01-29 21:51:20 -05:00
Cole Robinson
b7a533a451
create: s/Gb/GB/ for storage units
2012-01-29 21:51:07 -05:00
Cole Robinson
9679c841b8
Remove testing hack that broke serialcon
2012-01-29 21:19:12 -05:00
Cole Robinson
1de788d8c4
Fix some accelerator key issues
2012-01-29 21:14:30 -05:00
Brian J. Murrell
481e24006c
createnet: Allow networks smaller than 16 addresses
2012-01-29 19:50:23 -05:00
Cole Robinson
173908d5b0
serialcon: Handle lack of vte module (with an error)
2012-01-29 19:00:45 -05:00
Cole Robinson
e830f91d27
serialcon: Some fixes for fast data transfer
...
Our glib integration had a defect that could cause stalls when streaming
a lot of data (like doing a cat /var/log/messages)
Also, add some tweaks to make the previously stated situation perform
better anyways.
2012-01-29 18:48:20 -05:00
Cole Robinson
a5cb785c62
Don't show useless PO output in network source mode list
...
Apparently _("") when running in a non-en locale returns the PO header.
A buglet was sticking the whole header in a combo box!
2012-01-29 16:21:39 -05:00
Cole Robinson
9c23dfa992
cli: Skip gettext setup if setting locale fails
...
Can happen if user provides a busted locale
2012-01-29 16:09:37 -05:00
Cole Robinson
680f44ec93
domain: Remove <address> when changing device models
...
Since it is basically like adding and removing a whole piece of
HW, some address elements may no longer be valid.
2012-01-29 15:40:53 -05:00
Cole Robinson
a0dee00678
domain: Only regenerate target if we really need to
...
Certain different devices like scsi, usb, and sata use the same
target prefix. In those cases, just reuse it.
2012-01-29 15:38:33 -05:00
Cole Robinson
18f68bb581
details: When changing disk bus, generate new target name
...
Since we are basically changing
2012-01-29 15:32:25 -05:00
Cole Robinson
f2d5ec4977
details: Allow using test driver for exotic disk buses
2012-01-29 15:32:13 -05:00
Cole Robinson
aae4005a0a
details: Don't log exception if VM has no arch
...
Like xen Domain-0. Exception was harmless but not really useful
2012-01-29 13:07:16 -05:00
Cole Robinson
ce94126b70
serialcon: Don't open a console with name=None
...
Can crash libvirt on f16, which is what happens when a user tries to open
dom-0 console
2012-01-29 13:02:13 -05:00
Cole Robinson
006ba306f7
connection: tick() isn't reentrant, lock it
...
We can get weird keyerrors sometimes, if the global tick thread is
scheduled off while a synchronous tick call is run (like after we create
a vm).
Eventually we will do away with manual tick() invocations but this will
do for now.
2012-01-29 12:07:39 -05:00
Cole Robinson
f1207cef7b
inspection: Avoid debug spew in a few cases
2012-01-29 12:05:28 -05:00
Cole Robinson
5bf341052d
conn: Don't drop connection for every VM SYSTEM_ERROR
...
VM getinfo returns a system error if we are polling while the guest
is being shutdown (since qemu monitor connection hangs up). Make sure
the conn really dropped before we raise this error, but doing a connection
getinfo call.
2012-01-29 11:26:24 -05:00
Cole Robinson
64f201eff8
console: Fix spice scaling
...
Actually scale, not try and resize guest resolution. We will want to add
new UI or smarts to enable that.
2012-01-28 16:38:01 -05:00
Cole Robinson
e863c0554d
asyncjob: Some cleanups and simplifications
2012-01-27 21:46:12 -05:00
Cole Robinson
a1689d8873
asyncjob: Try and organize code layout a bit
2012-01-27 21:03:42 -05:00
Cole Robinson
235de4e398
asyncjob: Only register UI timer if we are showing dialog
...
Also fix some indentation
2012-01-27 20:51:46 -05:00
Cole Robinson
1de4c49f7a
asyncjob: Rename run_main parameter to async
...
More clear what it's generally doing
2012-01-27 20:48:08 -05:00
Cole Robinson
2f10fc668c
Give better errors if PolicyKit auth fails
...
Coupled with a recent libvirt patch, try and give more info about
a couple common policykit failure scenarios, like launching virt-manager
over SSH or VNC.
Do this by checking to see if we have a 'session' with ConsoleKit: the
above culprits don't give the user a local session, which causes
PolicyKit to deny.
2012-01-27 18:31:21 -05:00