Cole Robinson
9567ab9181
console: Make sure viewer is properly cleaned up
2011-05-18 17:36:08 -04:00
Cole Robinson
eeb0879d8f
Show 'virtio' net option for qemu guests, not just KVM
2011-05-18 17:23:33 -04:00
Darryl L. Pierce
c3f602db60
Added a get_capabilities() API to libvirtworker.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
8b293649c1
Changed the domain fields to match the GUI overview page.
...
Additionally, it breaks up the field groups using headers.
(crobinso: fix a small typo s/hose/host/)
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
23ea5e306c
Changed how fields are displayed when showing domain details.
...
Now an array of label/value pairs are built. This allows us to
dynamically determine the size of the Grid to use when displaying the
final details.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
fdd07b26e4
Updated ListDomainsConfigScreen to use vmmDomain types.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
78408182bf
Modified DomainListConfigScreen to use vmmDomain types.
...
Since the libvirtwork uses an underlying vmmConnection that can return
vmmDomain types, this makes it easier for child classes to use the more
feature-rich objects returned.
2011-05-13 13:35:38 -04:00
Darryl L. Pierce
fbf138b02b
Modified libvirtworker to use vmmConnection and vmmDomain objects.
2011-05-13 13:35:38 -04:00
Cole Robinson
7a8a35e564
domain: When changing video model, reset to default ram
2011-05-04 12:45:27 -04:00
Cole Robinson
88df4c1a7c
domain: Clean up special handling for changes spice graphics
2011-05-04 12:42:00 -04:00
Cole Robinson
cc7244f91a
domain: Remove unneeded *_handle functions
...
Not needed now that we properly do cleanup
2011-05-03 16:54:27 -04:00
Cole Robinson
cffcb0bf78
domain: Merge vmmDomain and vmmDomainBase
...
Since we use virtinst for all parsing now, there really isn't much that
vmmDomainVirtinst needs to overwrite, so have it extend vmmDomain.
In the process, try to clean up code layout and sprinkle some comments about.
2011-05-03 16:50:27 -04:00
Cole Robinson
992a513774
baseclass: If not use gtk/gobject, run idle callbacks immediately
2011-05-03 14:58:40 -04:00
Cole Robinson
f0fad087d5
tui: Remove trailing \r
2011-05-03 14:57:35 -04:00
Cole Robinson
85e90b92fd
Fix some pylint
2011-05-03 14:07:16 -04:00
Cole Robinson
4397c4a248
connection: Push gtk dep down to callers
...
These offenders need to be reorganized anyways, but simplify it for now.
2011-05-03 14:07:11 -04:00
Cole Robinson
94d316aa3a
connection: Tweak a debug message
2011-05-03 13:41:53 -04:00
Cole Robinson
10f7d97b29
connection: Improve integration with virtinst test URIs
2011-05-03 13:35:39 -04:00
Cole Robinson
5c263d2fc4
connection: Use get_uri() consistently
2011-05-03 13:29:03 -04:00
Cole Robinson
0c8a51c8dc
domain: Register base class signals earlier
...
Otherwise child classes don't see them
2011-04-28 17:53:41 -04:00
Cole Robinson
d91f0afa3a
baseclass: Make gtk/gobject dep optional
...
Add a new file 'guidiff' that sets up the enviroment for TUI vs GUI.
2011-04-28 17:25:06 -04:00
Cole Robinson
273b0a924d
connection: Tidy some imports
2011-04-28 17:11:04 -04:00
Cole Robinson
f26c2160b5
Don't warn about leaking halhelper
2011-04-28 17:03:22 -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
6ef71911ce
tui: Hack in an 'import' blacklist
...
When we start sharing code between GUI and TUI, it will be easy to have
unwanted deps on gtk and gobject to sneak into the TUI code. Add fake
modules that override the offending imports and throw an easy to trackdown
exception.
2011-04-28 14:38:47 -04:00
Cole Robinson
ad32003729
tui: Show backtrace of startup errors
2011-04-28 14:38:46 -04:00
Cole Robinson
d48b071e66
tui: Save URIs in ~/.virt-manager, not /etc
...
Let's us run as nonroot.
2011-04-28 14:38:46 -04:00
Cole Robinson
cb77770692
tui: Hook up --connect option for setting the default URI
...
Kind of a hack, but works for now. Allows us to pass in libvirt test:///...
URIs which making client development way way easier.
2011-04-28 14:38:46 -04:00
Cole Robinson
ebb228b76b
virt-manager-tui: Log to ~/.virt-manager, not /var/log
...
Add a new file virtManager/cli.py to share code between virt-manager
and virt-manager-tui. Move virt-manager.py setup_logging there
Have virt-manager-tui log to ~/.virt-manager/virt-manager-tui.log, rather
than the hardcoded path in /var/log that requires root perms
2011-04-28 14:38:46 -04:00
Cole Robinson
0445be92c2
virt-manager.py: Fix setup_logging to be a bit more general
2011-04-28 14:38:46 -04:00
Cole Robinson
9fcf63b559
baseclass: Prevent a pylint warning about bind_escape_key_close
2011-04-28 14:38:46 -04:00
Cole Robinson
b26a150e45
Fix some pylint and long lines
2011-04-28 14:24:07 -04:00
Marc-André Lureau
615740e9c4
console/spice: in multi-head cases, it should display first channel
...
Currently, it may pick up second display first. This patch makes sure
to display the primary display.
2011-04-28 13:54:21 -04:00
Marc-André Lureau
a8f77da827
console: fix resize_to_guest for Spice
...
We also avoid division by zero if desktop_resolution has height of 0
This can happen with Spice, when switching resolution or when the
resolution is unknown (not ready yet).
2011-04-28 13:53:01 -04:00
Cole Robinson
6a14834c7d
create: Bump default memory from 512 to 1024MB
...
F15 needs more than 512 or the installer crashes, pretty sure recent windows
require at least a GB as well. Long term plan is to track a default mem value
per OS being installed.
2011-04-28 10:39:12 -04:00
Gerhard Stenzel
a505618f52
virt-manager: make mode for direct interfaces selectable
...
Next try ...
The following patch adds support to select the mode for direct
interfaces.
crobinso: small fixes to make check-pylint happy
Signed-off-by: Gerhard Stenzel <gerhard.stenzel@de.ibm.com>
2011-04-21 09:20:33 -04:00
Cole Robinson
f9f4210ec2
connection: Tweak lookup failure logging
2011-04-20 17:00:32 -04:00
Cole Robinson
458664423b
spec: Fix spice-gtk-python dep
2011-04-19 10:29:35 -04:00
Richard W.M. Jones
568e7184cc
Ignore emacs temporary files (*~).
...
This is an annoyance if you use emacs ...
2011-04-18 17:51:40 -04:00
Cole Robinson
90679a0a0b
Store running_config in util, not config.py
...
Will help with TUI integration
2011-04-18 13:24:23 -04:00
Cole Robinson
36040e3f00
config: Move constants into vmmConfig class
2011-04-18 13:24:22 -04:00
Cole Robinson
18a82b8ea3
config: Do spice check on demand
2011-04-18 13:24:22 -04:00
Cole Robinson
f7f6fa04ee
util: Push gtk dep down into relevant functions
...
Will help with possibly sharing code with TUI
2011-04-18 11:32:12 -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
b7de618897
Move connect helpers from util to baseclass
...
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2011-04-18 11:13:33 -04:00
Cole Robinson
ad8060d191
baseclass: Fix early error reporting before we setup running_config
2011-04-15 18:38:29 -04:00
Cole Robinson
50c8d9559c
uihelpers: Tweak 'no networking' label
2011-04-15 15:34:54 -04:00
Cole Robinson
9b26e093e9
create: Warn about PXE and 'no networking'
2011-04-15 15:34:24 -04:00