Chen Hanxiao
f0fb4ca204
details: show port number for console device in hwlist
...
We could see more than one console devices
in hwlist because of multi console support.
This patch will show port number of console device
in hwlist.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-04 10:30:12 +08:00
Cole Robinson
1ab206a3eb
virt-manager: create: Disable s3/s4 by default (bz 1044145)
...
I don't think most virt-manager users want this enabled, since it can
make the shutdown button cause a VM suspend. If people complain we can
provide a Preference or UI in the boot screen to undo it.
2014-02-03 14:22:15 -05:00
Cole Robinson
5bff23758c
connect: Add an option for qemu:///session (bz 557103)
...
But warn that it may not function like users expect.
2014-02-01 19:44:27 -05:00
Cole Robinson
032dd0cf21
clone: Show destination host if on a remote connection (bz 881099)
2014-02-01 18:59:10 -05:00
Cole Robinson
d3bd70daca
migrate: Remove misleading 'offline' option (bz 881092)
...
We acted like it would migrate a shutoff VM, but it just toggled
the LIVE flag. We should support true 'offline' migration, but
the UI will be different.
2014-02-01 18:17:17 -05:00
Cole Robinson
99d80ccdb2
details: Fix cpu model sorting
2014-02-01 16:36:40 -05:00
Cole Robinson
7057afba56
manager: Add File->New Virtual Machine (bz 871682)
2014-02-01 13:36:02 -05:00
Cole Robinson
ba0c84ec76
storagebrowse: Add pool refresh and vol delete options (bz 841715)
2014-02-01 13:31:29 -05:00
Cole Robinson
09390b8151
snapshots: Show indication of the 'current' snapshot (bz 1017385)
2014-02-01 11:25:35 -05:00
Cole Robinson
fa6fedd959
engine: Serialize connection autostart (bz 749750)
...
So polkit/openssh-askpass doesn't spam us
2014-02-01 10:44:45 -05:00
Cole Robinson
85aa1e744b
connect: Only connect to avahi once (bz 789907)
2014-02-01 09:39:52 -05:00
Cole Robinson
f4bc4a35a2
details: enforce relationship between cpu topology and maxvcpus (bz 708892)
2014-02-01 09:14:55 -05:00
Cole Robinson
17c0ae3a3c
domain: Reset net/disk skip lists when VM is inactive (bz 796092)
...
Racey shutdown can mean we try to poll disk stats at a time when
it won't work. Resetting the lists give things a chance to work
correctly when the VM is rebooted.
2014-02-01 08:15:24 -05:00
Cole Robinson
90c9b3ca2e
details: Reword the CPU model UI a bit more
...
- Add options in the model drop down for clear, hvdefault, and app default
- Make 'copy host' a check box, when enabled it hides the model dropdown
- Detect if the VM CPU is a copy of the host CPU
- Undocumented bit that allows passing in host-model/host-passthrough
to the model field for people that really want those settings.
2014-01-31 13:40:09 -05:00
Cole Robinson
021ffd17e2
domain: Stop using UPDATE_CPU xml flag
...
Now that feature UI is gone, it doesn't do us any good. And actually
can cause issues if changing from host-model to a static model.
2014-01-31 10:48:45 -05:00
Cole Robinson
c85e8d84d0
details: Remove explicit CPU feature UI
...
Not too useful, and makes things difficult for us.
2014-01-31 10:43:56 -05:00
Cole Robinson
bff94f2365
console: Support spice 'resize-guest' (bz 754559)
...
This will auto change the guest resolution to match the window size.
Off by default, can be enabled like scaling preferences.
2014-01-31 10:08:18 -05:00
Cole Robinson
382543e15f
console: Clean up scaling function names
2014-01-30 19:15:02 -05:00
Cole Robinson
b9bbf4686d
console: Bunch of scaling fixes (bz 969416)
...
Make scaling=always work correctly with spice
Make 'resize to vm' work with scaling enabled
Simplify it all
2014-01-30 12:49:50 -05:00
Cole Robinson
ea1b6ae819
virt-manager: Allow domain name or ID for cli options
2014-01-30 11:37:01 -05:00
Cole Robinson
8a544fa316
gfxdetails: Really fix pylint
2014-01-30 11:11:57 -05:00
Cole Robinson
3cd47c9e9f
console: Make sure viewer exists before setting grab_keys
2014-01-29 13:07:43 -05:00
Cole Robinson
88cef6d25d
Fix some pylint
2014-01-29 11:03:20 -05:00
Cole Robinson
0a77093cbc
console: Handle ipv6 addresses (bz 974126)
2014-01-29 11:02:54 -05:00
Cole Robinson
64b2d0c6b7
Move shared graphics editing UI to gfxdetails.py
...
Fixes a couple UI bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=696217
https://bugzilla.redhat.com/show_bug.cgi?id=875403
2014-01-29 09:22:28 -05:00
Cole Robinson
c5581c01d2
Move sharedui.py to vmmenu.py
...
Since that's all it contains now
2014-01-29 09:22:28 -05:00
Cole Robinson
00d5312bd6
Break out shared storage creation UI to addstorage.py
2014-01-29 09:22:28 -05:00
Chen Hanxiao
45ec7baf92
details: show port number of console device in typelabel
...
We could set multi console for VM and containers.
But our UI did not show the number of it.
It would bring troubles when we want to delete one.
This patch will show port number of console device
in typelabel.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-01-29 10:44:55 +08:00
Cole Robinson
1597677e61
netlist: Listen for net-added events and update the list
2014-01-28 14:40:17 -05:00
Cole Robinson
8bb9853ec8
Move shared cdrom media UI to mediacombo.py
2014-01-28 14:20:57 -05:00
Cole Robinson
745ec7cb96
create: Reinit netlist on each run
...
Will be easier to handle if we make the netlist react to connection
signals.
2014-01-28 13:59:31 -05:00
Cole Robinson
169ae1203d
Break out shared network list UI to netlist.py
...
Use this to show vport stuff in addhw, give a warning about macvtap
networking, and allow macvtap from the create wizard.
2014-01-28 10:00:06 -05:00
Martin Kletzander
53a57fcdd8
Don't use SCSI or USB disks with stable_defaults
...
One more fix I forgot to ammend into commit dc0b9bb.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-01-28 11:27:39 +01:00
Cole Robinson
37e1242bf4
details: Fix virtualport UI when IDs are empty
2014-01-27 15:06:27 -05:00
Cole Robinson
dc4e1da434
addhw: macvtap: select bridge mode by default
2014-01-27 15:05:50 -05:00
Cole Robinson
9d922f56df
fsdetails: Fix error reporting
...
The UI file layout meant we were trying to use a gtk.Grid object
as the error dialog parent. Rework things to behave like snapshots.py
2014-01-27 11:03:59 -05:00
Cole Robinson
889ec18031
uiutil: Use list selection helpers everywhere
2014-01-27 10:46:14 -05:00
Cole Robinson
2771511946
uiutil: Make more use of set_combo_text_column
2014-01-26 21:35:42 -05:00
Cole Robinson
708a2737cf
Split uihelpers into sharedui and uiutil
...
Reserve uiutil for the little gtk helper functions, rest goes into shared
UI (which all should probably be factored into their own files but thats
a task for another day)
2014-01-26 18:15:50 -05:00
Cole Robinson
2a34b353da
uihelpers: Move browse_local to error.py
...
It doesn't fit any better, but now it's accessible to all UI classes
more easily.
2014-01-26 18:01:10 -05:00
Cole Robinson
58d5e0b799
uihelpers: Move a few more functions closer to their callers
2014-01-26 17:51:15 -05:00
Cole Robinson
20088ab8fb
Move many shared UI functions to addhw static functions
...
Much of uihelpers is just simple stuff that's shared between addhw
and details UI, so just make it staticmethods in addhw, which details
already has a reference to.
2014-01-26 17:09:07 -05:00
Cole Robinson
ad363f9774
details: Remove runtime vcpu pinning list
...
I don't think anyone depended on this, and it's overkill for virt-manager.
2014-01-26 14:21:24 -05:00
Cole Robinson
e771af0112
details: If refresing page errors, still disable apply
...
and switch to the busted page, rather than strangely stay on the
previous page.
2014-01-26 14:15:46 -05:00
Cole Robinson
11ebe5d84e
details: Move inspection info to its own page
2014-01-26 14:15:46 -05:00
Cole Robinson
46ad7e8bdb
details: Remove UI for security, apic, acpi, clock
...
99% of users never need to tweak them, and now that we have virt-xml,
most of what they could want to do is a simple CLI oneliner.
2014-01-26 14:15:46 -05:00
Cole Robinson
ffa9bb77b3
Fix some pylint
2014-01-25 15:52:34 -05:00
Cédric Bosdonnat
2a4c3df113
vmmFSDetails: fixed driver combo values
...
For connections other than LXC or QEMU, there was no value, leading to
errors.
2014-01-25 11:59:32 -05:00
Cédric Bosdonnat
7d5d9df91a
vmmFSDetails: don't use a combo for RAM units, force to MB
2014-01-25 11:59:32 -05:00
Cédric Bosdonnat
0216aaadf6
Don't capitalize disk formats in the combo box
2014-01-25 11:59:32 -05:00