Deepak C Shetty
18e12e7ad9
virt-manager: Add support for fs readonly attribute
...
Enables exporting filesytem as a readonly mount for guest, by
default read-write access is given (currently only works for
QEMU/KVM driver)
The support for the same in libvirt was added recently at ...
https://www.redhat.com/archives/libvir-list/2011-December/msg00937.html
Signed-off-by: Deepak C Shetty <deepakcs@linux.vnet.ibm.com >
2012-01-12 20:21:35 -05:00
Deepak C Shetty
ea4f6f4ed3
virt-manager: Throw appropriate error when fs target string already exists.
...
In case of qemu for default fs type (mount) target is not
actually a directory, it is merely a arbitrary string tag
that is exported to the guest as a hint for where to mount.
This tag is unique and is exported as a virito-9p-pci
device and hence this patch adds check to ensure the target
string/tag is never entered duplicate by the user when
adding 2 or more filesystem devices.
Signed-off-by: Deepak C Shetty <deepakcs@linux.vnet.ibm.com >
2012-01-12 19:36:38 -05:00
Jim Fehlig
42a871984f
addhw: Add SATA disk bus option
2011-12-22 13:18:40 -05:00
Cole Robinson
03435db779
Fix some pylint
2011-10-06 14:06:40 -04:00
Cole Robinson
ee434cb66a
addhw: Hide unsupported RHEL6 serial device types
2011-09-26 11:34:21 -04:00
Marc-André Lureau
faf93c0f8f
virt-manager: Learn to add USB redirection devices
2011-09-14 16:41:52 -04:00
Marc-André Lureau
df4dfd7362
virt-manager: fix char device source mode
2011-09-01 13:23:54 -04:00
Cole Robinson
ce8111e190
Import logged info from validation errors
2011-08-30 14:50:50 -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
d692ea652d
create: Make sure 'customize' respects already allocated disk paths
...
Going create->customize->addhw->storage->default storage would reuse the
storage path allocated in the create wizard. Coordinate with virtinst's
dup functions to avoid this problem.
2011-07-22 19:50:30 -04:00
Cole Robinson
099753d146
s/connection/conn/g in all internal APIs
...
For consistency and line reduction
2011-07-22 16:43:26 -04:00
Cole Robinson
d4740fbd3b
s/enable_unsupported_rhel_opts/rhel6_defaults/g
2011-07-22 13:13:26 -04:00
Cole Robinson
1f46603edf
Disable VMDK option if on RHEL6
...
RHEL6 qemu doesn't accept VMDK files
2011-07-22 12:22:09 -04:00
Cole Robinson
6a861acd3b
details: Persistent changes require a guest shutdown, not reboot
...
Since reboot may be interpreted as a reboot from inside the guest, which
won't help us.
2011-07-14 17:16:57 -04:00
Cole Robinson
a84d10cee8
Add a smaller helper for self.window.get_widget
...
Saves us from having crazy long lines in a few places, and less characters
to type!
2011-07-14 13:13:13 -04:00
Marc-André Lureau
9c600597c8
Add basic SmartCardDevice support
...
This patch allows to add and list smartcard devices in host or
passthrough & spicevmc mode.
It doesn't provide all the various smartcard combination
options, but it's good enough for Spice usage.
(crobinso: various small tweaks)
2011-07-07 13:36:38 -04:00
Cole Robinson
a66ceae551
addhw: Add browsing for FS source
...
Use recently added directory volume handling
2011-06-10 17:26:30 -04:00
Cole Robinson
c94f61c824
util: Add get/set_list_selection helpers
2011-06-10 17:21:55 -04:00
Cole Robinson
a99dee7dbd
addhardware: Initial 'add filesystem' wizard
2011-05-26 10:23:53 -04:00
Cole Robinson
1ca94861ae
Remove a few more unneeded gobject imports
2011-04-28 16:17:44 -04:00
Cole Robinson
efde9cb863
Register all gobject signals through vmmGObject baseclass
...
Allows us to remove gobject imports in various places which will help when
merging code with TUI.
2011-04-28 16:06:57 -04:00
Cole Robinson
2fa12ffa15
Move bind_escape_key_close helper to baseclass
2011-04-18 11:25:28 -04:00
Cole Robinson
de8c901d7b
Move idle wrappers to baseclass
...
Signed-off-by: Cole Robinson <crobinso@redhat.com >
2011-04-18 11:13:33 -04:00
Cole Robinson
3d8e6a9398
Set parent for all dialogs
2011-04-14 08:47:42 -04:00
Cole Robinson
a52ad2eb37
details: Properly cleanup when VM/conn disappears
...
Make sure we are properly freeing all our state, so python can reap domains
and conn instances
2011-04-11 18:35:21 -04:00
Cole Robinson
86f4bdaf1d
connection: get_devices -> get_nodedevs for consistency
2011-04-07 18:16:28 -04:00
Cole Robinson
e0bc2563c7
error: Simplify basic show_err call
...
If no error details are specified, use the traceback from the most recent
exception. We were doing this in numerous callers anyways.
2011-04-06 11:22:03 -04:00
Cole Robinson
185876fd9a
addhw: chardev: Hide unsupported params for the selected type
2011-04-05 17:12:33 -04:00
Cole Robinson
4922222c2c
addhw: Fix nonhotplug to running guest
2011-04-05 16:15:05 -04:00
Marc-André Lureau
ce9a125728
addhardware: fix adding and removing a channel device
2011-04-05 16:03:42 -04:00
Marc-André Lureau
6fa885e583
addhardware: allow setting the char device target name
2011-04-05 10:49:45 -04:00
Cole Robinson
3b2cba5b1a
s/SPICE/Spice/g
2011-03-24 10:09:42 -04:00
Cole Robinson
d90a28d997
Improve wording if offering to reuse an existing storage path
2011-03-08 11:22:01 -05:00
Marc-André Lureau
108f6e4b6d
addhardware: add SPICE support
2010-12-21 20:16:01 +01:00
Cole Robinson
0973e6c31a
create: Don't traceback errors in host space tick
2010-12-13 16:12:55 -05:00
Cole Robinson
187190c362
configure: Add option to disable unsupported RHEL config
2010-12-13 14:31:27 -05:00
Cole Robinson
f98c9ce90c
addhardware: Make default chardev selection PTY, since it's the simplest
2010-12-11 16:09:30 -05:00
Cole Robinson
556246f2a5
addhardware: Have explicit options for PCI and USB devices
...
'Host device' doesn't have meaning to a lot of people, so have explicit
list entries for USB vs. PCI devices.
2010-12-11 15:55:31 -05:00
Cole Robinson
76fa12ea39
addhardware: Show host devices in a list, not a combo
...
Some of the listings can be pretty large, so a list is better suited for
browsing and resizing.
2010-12-11 15:12:22 -05:00
Cole Robinson
965570670b
addhardware: Don't resize dialog until we switch pages
...
This way, large UI pieces like char page or host device combo won't
balloon out the UI.
2010-12-11 14:51:08 -05:00
Cole Robinson
3efa72db6a
addhardware: Don't duplicate title UI in every tab
2010-12-11 13:05:07 -05:00
Cole Robinson
ad7cdd9568
addhardware: Select hw with a list view
2010-12-11 12:32:04 -05:00
Cole Robinson
55d92adf94
Allow specifying disk storage format in details and addhardware
2010-12-10 19:20:14 -05:00
Cole Robinson
677f73fca7
Run pep8 with check-pylint, fix the fallout
2010-12-10 11:47:07 -05:00
Cole Robinson
d0d20148f7
asyncjob: Simplify error reporting
2010-12-10 09:57:42 -05:00
Cole Robinson
5c45358adc
Remove 'config' passing from remaining classes/functions
2010-12-09 14:06:00 -05:00
Cole Robinson
e78e2da3f5
Use the a base class for all libvirt object classes
2010-12-09 12:37:48 -05:00
Cole Robinson
0fd57daca1
pylint: Check for unused variables, fix fallout
2010-12-09 11:22:35 -05:00
Cole Robinson
2dd81900fa
Have UI classes share a baseclass
2010-12-08 17:26:19 -05:00
Cole Robinson
c6088d650f
Show error details if a hotplug operation fails
2010-12-01 17:48:07 -05:00