Cole Robinson
839ce682b1
Drop support for non-managed save/restore
...
All major drivers either support it, or don't support save at all,
so I think we can safely drop it. If people still need it they can
get by with virsh.
2015-04-11 13:52:48 -04:00
Cole Robinson
3d2afbaf6f
connection: Allow setting a custom 'pretty name' (bz 784701)
...
We've had multiple requests over the years for something similar. People
might have to connect to multiple IP addresses, or really large hostnames,
that become difficult to distinguish in the UI.
Add a field in the host details page that allows setting a custom name,
and store it in gsettings.
2015-04-11 13:39:25 -04:00
Cole Robinson
4781ad6cd6
connection: Simplify manager row 'pretty name' handling
...
Unify all the callers, and use some UI ellipsizing to handle
crazy long hostnames.
This drops the conn name collision prevention stuff which can be
useful when you have lots of similar connection names. But upcoming
patches will make it mostly redundant.
2015-04-11 12:57:32 -04:00
Cole Robinson
fc171fc31d
connection: Bunch of minor tweaks handling TCP URIs
2015-04-11 12:08:57 -04:00
Cole Robinson
ee9aa0ef11
host: Don't trigger selection callbacks when conn is closing
...
We already do this for storage, make sure we do it for iface + net
as well.
2015-04-11 11:40:47 -04:00
Cole Robinson
8c107f87f9
host: Remove some redudant conn details
...
And some minor UI spacing fixes
2015-04-11 11:29:03 -04:00
Cole Robinson
7c3f9dfcc2
spec: Don't install GConf conversion script
...
We have shipped several releases of RPMs that use gsettings. People
have already rebuilt their settings by hand. Installing the conversion
script could overwrite their latest bits with old gconf bits (this
happened to me).
2015-04-11 11:14:04 -04:00
Cole Robinson
20cd7f86ca
domain: Remove manual_reboot
...
qemu has provided this feature for a long time, and every other driver
we care about provides a reboot implementation as well, so drop our
handling of it.
2015-04-11 11:13:05 -04:00
Cole Robinson
413c290bfe
create: Renamed 'advanced options' to 'network selection'
...
Since that's all it contains now
2015-04-10 18:44:16 -04:00
Cole Robinson
8f563cbae8
storagelist: Simplify Ui a bit
...
Drop the bold and overly sized text. Drop the name duplication.
Drop the type field since it's shown in the pool list.
2015-04-10 18:40:54 -04:00
Cole Robinson
6d06425f3d
icons: Add button sized variants for VM status
...
Since gtk doesn't scale anymore, these were looking a bit funky in
the host details window.
2015-04-10 18:34:43 -04:00
Cole Robinson
705daf6db9
storagelist: Fix refresh button sensitivity
2015-04-10 18:20:13 -04:00
Cole Robinson
87098d1273
storagepool: Refresh volumes on state change
...
Otherwise the UI list is out of date
2015-04-10 18:17:29 -04:00
Cole Robinson
a0075beab4
libvirtobject: Minor tweaks to ensure we cache domain bits correctly
2015-04-10 18:03:56 -04:00
Cole Robinson
42648f45f0
libvirtobject: Clean up XML invalidation
...
Make sure we aren't invalidating things when we are using events. Don't
overload APIs so much.
2015-04-10 17:50:06 -04:00
Cole Robinson
a7a19b2abc
libvirtobject: Drop redefine_cached
...
There's no external callers anymore, and the prospect of keeping this
stuff cached but potentially having a thread invalidate it makes me nervous,
so simplify things by making callers explicitly request the object they
want to redefine.
2015-04-10 17:23:11 -04:00
Cole Robinson
1552cb257e
domain: Make device XML editing similar to guest XML editing
2015-04-10 17:15:07 -04:00
Cole Robinson
2c9adb18bc
storagelist: Fix backtrace on connection close
2015-04-10 16:53:19 -04:00
Cole Robinson
d0ffd954cd
connection: Unify initial object refresh handling
...
Have libvirtobjects advertise a routine specifically for initial setup,
and emit a signal when it's complete. Then dispatch the associated conn
signal on demand as the objects are initialized. This should avoid a
whole class of ordering issues, and is easier to follow IMO.
2015-04-10 15:00:42 -04:00
Cole Robinson
629627b663
connection: Drop unused open() argument
2015-04-10 15:00:34 -04:00
Cole Robinson
6071ab0ea4
uiutil: Clarify a few ambiguous function names
2015-04-10 15:00:34 -04:00
Cole Robinson
49e3ea2cdf
host: Make sure first object selected when conn connects
...
Previously it was dictated by what order we received conn
signals in.
2015-04-10 15:00:34 -04:00
Cole Robinson
838baf6946
connection: tick: Operate on combined object lists
...
Makes the flow a bit simpler, and allows us to break out polling without
having to pass around a ton of lists.
2015-04-10 15:00:34 -04:00
Cole Robinson
5357b91402
connection: Store all object lists in an external class
...
Simplifies list management and allows us to use real locking to prevent
list collisions.
2015-04-10 15:00:34 -04:00
Cole Robinson
2d25c920ea
connection: Use consistent nodedev function names
2015-04-10 15:00:34 -04:00
Cole Robinson
3df02e8ee1
host: Fix a couple recently introduced issues
2015-04-10 15:00:34 -04:00
Cole Robinson
cb5d075f50
libvirtobject: Unify a few APIs and conn tick handling
2015-04-10 15:00:34 -04:00
Cole Robinson
1e154a373d
libvirtobject: Populate status up front
...
And use this to kill paranoid object tick() that are sprinkled throughout
the code.
2015-04-10 15:00:34 -04:00
Cole Robinson
4933cf7600
libvirtobject: Clarify force_update_status
2015-04-10 15:00:34 -04:00
Cole Robinson
c9b882619e
libvirtobject: Add decorator for lifecycle events
...
That does the appropriate event loop updating, if needed.
2015-04-10 15:00:34 -04:00
Cole Robinson
a3f8d73a9c
libvirtobject: Unify internal status APIs and signals
...
Drop config-changes vs. status-changed and just use one signal, since they
are largely the same code paths for all users.
2015-04-10 15:00:34 -04:00
Cole Robinson
01bf07ba11
libvirtobject: Unify status signals
...
Dispatch them all from the actual object and not proxied through
the connection. Use the same signal name for all objects with the same
signature.
2015-04-10 15:00:33 -04:00
Cole Robinson
a45fc36d06
host: If connection disconnects, close add* wizards
2015-04-10 15:00:33 -04:00
Cole Robinson
fb7a921ec4
storagelist: Select newly created pool/volumes
...
And clean up some of the internal APIs in this area
2015-04-10 15:00:33 -04:00
Giuseppe Scrivano
616df760be
storage: copy allocation and capacity also on cross-pool clones
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1210265
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2015-04-10 16:40:49 +02:00
Giuseppe Scrivano
1f6faa33dc
doc: make clearer what usb2 and usb3 means to --controller
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1204895
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2015-04-10 13:05:09 +02:00
Giuseppe Scrivano
549c93be5f
doc: make --sparse documentation consistent with error message
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1210572
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2015-04-10 13:05:09 +02:00
Chen Hanxiao
06c05ca078
test: fix a testcase
...
commit 92c42bc5a0
breaks testsuit.
Fix it.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2015-04-09 22:44:50 -04:00
Cole Robinson
92c42bc5a0
details: Improve UI labeling of keyboard devices
2015-04-09 13:36:40 -04:00
Cole Robinson
22b9932c47
addhardware: Add USB keyboard option (bz 1176724)
2015-04-09 13:25:15 -04:00
Cole Robinson
527c49dec2
virt-install: Add --input option
...
For configuring VM <input> devices
2015-04-09 13:22:40 -04:00
Cole Robinson
2bf1a29f40
details: Add tooltips if device isn't removable
2015-04-09 13:11:20 -04:00
Cole Robinson
1c63c2b0d9
libvirtobject: Invalidate cache if redefine fails
2015-04-09 13:01:38 -04:00
Cole Robinson
771154d104
addhardware: Make network model a combo entry
...
So users can add non-advertised models
2015-04-09 12:58:21 -04:00
Cole Robinson
058c06972e
Break out shared storage UI to storagelist.py (bz 1060433)
...
We were already sharing a chunk of this in a haphazard way. Now officially
break it all out, similar to netlist.py. This mostly unifies the views
of host->storage and storagebrowser.py
2015-04-09 12:31:24 -04:00
Cole Robinson
6634053533
domcapabilities: Can and log error fetching XML (bz #1209723 )
2015-04-08 09:53:30 -04:00
Cole Robinson
68a11727a4
create: Show proper install options for ppc64le (bz 1209720)
2015-04-08 09:31:07 -04:00
Cole Robinson
cc3a522455
Use is_pseries() helper more consistently
2015-04-08 09:31:01 -04:00
Cole Robinson
9b21f27e31
cli: Maintain same --print-xml behavior for non virt-install
...
Don't want it scooping up any nargs
2015-04-07 19:58:28 -04:00
Cole Robinson
a5d03fdf6e
guest: Don't unconditionally overwrite on_poweroff/on_crash
2015-04-07 19:53:15 -04:00