2211 Commits

Author SHA1 Message Date
Cole Robinson
976748cad5 create: Bring back UUID generation (makes 'customize' happy) 2011-07-07 14:39:50 -04:00
Cole Robinson
e9f365f11d connect: Add LXC to 'open connection' dialog 2011-07-07 14:38:02 -04:00
Cole Robinson
9427f75416 Don't traceback in host_space_tick if home is whack 2011-07-07 13:38:04 -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
cfbc5e58f5 details: Queue up 'default' console page when VM starts 2011-06-21 14:07:07 -04:00
Cole Robinson
dee7cb91a2 serialcon: Some console cosmetic improvements
Just use the default font, and add a small border around the terminal so
text isn't right up against the window decorations.
2011-06-21 14:07:07 -04:00
Cole Robinson
c30d554888 libvirtglib: cleanups, make sure we actually remove watch/timeouts 2011-06-21 14:07:07 -04:00
Cole Robinson
455104282a create: Make sure page numbering always reflects reality 2011-06-21 14:07:07 -04:00
Cole Robinson
4c93056339 create: Option to create LXC OS container (from existing OS dir)
Provide an explicit warning to the user that the dir must already
be populated with an OS tree.
2011-06-21 14:07:07 -04:00
Cole Robinson
0e11be79a4 create: Allow creating LXC/OpenVZ app containers
Simple adds a new install method that allows selecting a local binary,
defaulting to /bin/sh. No support for full OS containers yet.
2011-06-21 14:07:07 -04:00
Cole Robinson
a493789fa7 serialcon: Show user an error message if console opening fails 2011-06-20 19:09:31 -04:00
Cole Robinson
3eae7af22c serialcon: Move popup handling out of details.py
Also simplify serial list handling
2011-06-20 18:51:57 -04:00
Cole Robinson
c705dec03f serialcon: Move 'can we connect' logic to serialcon.py 2011-06-20 16:49:11 -04:00
Cole Robinson
e053f1c94a domain: Simplify get_serial_devs
Just pass around the dev, rather than a broken out list. Will be needed
for future serialcon work
2011-06-20 16:34:28 -04:00
Cole Robinson
adc3e0466f serialcon: Break out PTY connection logic
Refactor things to allow more easily plugging in different connection
logic, like for libvirt console streaming.
2011-06-20 16:34:27 -04:00
Cole Robinson
fa75d89633 Add code to hook libvirt events into glib main loop
Basically a straightforward port of libvirt-glib to pure python. Don't
actually hook into the loop yet since we have no use for it (for now)
2011-06-20 16:33:49 -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
e726b371f2 storagebrowser: Handle a dir mode for FS browsing
Only allow selecting directory volumes
2011-06-10 17:21:56 -04:00
Cole Robinson
c94f61c824 util: Add get/set_list_selection helpers 2011-06-10 17:21:55 -04:00
Cole Robinson
a01c820681 create: Don't add default devices for container guests
graphics, video, sound don't make sense for containers
2011-06-08 17:21:12 -04:00
Cole Robinson
d92f362de8 manager: Opening VM shouldn't always show 'console'
Like when the window is just minimized, it should simply raise the
window. Rename signals to be more accurate and remove some of cruft.
2011-06-08 17:09:09 -04:00
Cole Robinson
064337ecf3 connection: Pretty print more connection HVs 2011-06-07 19:41:02 -04:00
Cole Robinson
d47ad089fd details: If guest only has text console, show that by default 2011-06-07 19:27:54 -04:00
Cole Robinson
68ed92ed5e details: Break out serial list building
So we can reuse it later for determining default console
2011-06-07 19:26:14 -04:00
Cole Robinson
da590bba95 details: Don't backtrace when cleaning up serial consoles 2011-06-07 17:57:49 -04:00
Cole Robinson
102c5468f0 Don't initialize HAL right before app closes 2011-06-01 16:09:48 -04:00
Cole Robinson
e4b50ef07d tui: Clean up rest of pylint 2011-06-01 13:35:30 -04:00
Cole Robinson
0bc059d7db details: Only enable fullscreen option when it makes sense 2011-06-01 13:35:30 -04:00
Cole Robinson
3ce01b0f18 details: Fix setting boot device 2011-06-01 13:24:28 -04:00
Cole Robinson
b2d56cb18a details: Catch errors when dispatching 'apply' changes 2011-06-01 13:24:28 -04:00
Cole Robinson
073bbdd14d console: Leave fullscreen when viewer is disconnected 2011-06-01 13:24:28 -04:00
Cole Robinson
8235499d43 console: One more backtrace fix 2011-06-01 13:24:28 -04:00
Cole Robinson
b6f3ceaa5d console: spice: Fix backtraces when closing console window 2011-06-01 10:28:59 -04:00
Cole Robinson
b54ef7216d console: spice: Handle older spice-gtk desktop resolution 2011-06-01 10:20:50 -04:00
Cole Robinson
22db8a32ec Don't mask early startup errors do to import issue 2011-05-31 16:10:34 -04:00
Cole Robinson
303c8c91df tui: Enable pylint check for TUI, fix a bunch of reports
There are still a lot of errors reported, so more patches are required to
make pylint silent.
2011-05-31 15:55:52 -04:00
Cole Robinson
7e86f73b7f tui: Remove wildcard imports 2011-05-31 15:13:55 -04:00
Cole Robinson
1935c53bdf tui.py: Remove unused CLI options 2011-05-31 15:13:35 -04:00
Cole Robinson
6b3b2f48e3 virt-manager.py: Log virtManager import location 2011-05-31 13:27:42 -04:00
Darryl L. Pierce
c6aeedea8a Updated libvirtworker to use vmmConnection.create_network(). 2011-05-31 12:53:47 -04:00
Darryl L. Pierce
9b218d91e8 Updated undefinenetwork.py to use vmmNetwork objects. 2011-05-31 12:53:47 -04:00
Darryl L. Pierce
ead4ee61e0 Updated stopnetwork.py to use vmmNetwork.stop().
Removed the libvirtworker.destroy_network() API.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
9860f807c7 Renamed destroynetwork.py to stopnetwork.py.
The old name was not consistent with the add/delete/start/stop/list
verbs used for commands.

Updated the network menu to use the new name and module.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
a36e168666 Updated startnetwork.py to use vmmNetwork.
It also verifies that the network can be started before attempting to
start it.

Deleted the old libvirtworker.create_domain() API.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
19a83eafa8 Renamed createnetwork.py to startnetwork.py.
The old name was not consistent with the add/delete/start/stop/list
verbs used for commands.

Updated the network menu to use the new name and module.
2011-05-31 12:53:47 -04:00
Darryl L. Pierce
bbb3ab3530 Updated network details to match the GUI. 2011-05-31 12:53:47 -04:00
Darryl L. Pierce
4ad93ce6e2 Updated NetworkConfigScreen.get_selected_network() to return the network.
Instead of returning the name, it returns the actual vmmNetwork object.
2011-05-31 12:53:46 -04:00
Darryl L. Pierce
6356d5b8b7 Modified libvirtwork to use vmmNetwork objects.
Modified the list_networks() API to return the UUIDs for network.

Modified get_network() to take as input a UUID rather than a name, and
return a vmmNetwork object.
2011-05-31 12:53:46 -04:00
Darryl L. Pierce
83c25e6ad4 Updated the documentation for the network APIs in libvirtworker. 2011-05-31 12:53:46 -04:00
Darryl L. Pierce
3c068b9971 Added pause domain to VMM TUI. 2011-05-31 12:37:50 -04:00