Commit Graph

503 Commits

Author SHA1 Message Date
Hugh O. Brock
04501bbe77 Fix BZ 239763 -- we shouldn't add a disk twice when we add it to a live domain on Xen 3.1. 2007-06-13 15:20:43 -04:00
Hugh O. Brock
8ff8679b10 Backed out changeset ebd54b0c882ae581fc020b87df8583417b8b9e97
Applied this patch in error -- the correct fix is already in.
2007-06-13 15:15:42 -04:00
Masayuki Sunou
621de87062 [et-mgmt-tools] [PATCH] In virt-manager GUI, when the disk is added, VM cannot be started.
Hi

When the disk is added to active VM by virt-manager, VM cannot be
restarted after VM is stopped.
--> Bugzilla Bug 239763
    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239763

This patch fixes it.

When the device is attached to active VM, virt-manager adds the device
twice in add_device() of "domain.py".
1. Call attachDevice()
2. Call define_domain() after the XML is updated
Therefore, the same device is doubly attached.
(So, when the device is disk, VM cannot be started)

This patch fixes "domain.py" as follows so that the same device is not
doubly attached.
  VM is active   : Call attachDevice() only
  VM is inactive : Call define_domain() after the XML is updated


Signed-off-by: Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com>

Thanks,
Masayuki Sunou.

----------------------------------------------------------------------
2007-06-13 15:09:10 -04:00
Hugh O. Brock
3b8ee9b9e2 Fixes 242900, thanks to David Robinson 2007-06-13 13:38:19 -04:00
Hugh O. Brock
aec4d3853b Handle the case where the source device and source type are null -- for example, if a cdrom device exists in the guest config but is not mapped to a backend device. 2007-05-24 16:49:13 -04:00
Hugh O. Brock
c3b4a9da71 Allow user to set mac addresses for new guests and new guest nics. Also fixes some validation bugs. Thanks to Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com> 2007-05-24 15:51:32 -04:00
Daniel P. Berrange
b20c71f829 Hook up delete VM menu item (Charles Coffing) 2007-05-24 14:58:50 -04:00
Daniel P. Berrange
3dde0ff58c Major rework of i18n build integration to deal with bz 229324 2007-05-18 12:14:33 -04:00
Daniel P. Berrange
6a48f34bdc Use a rolling file appender for logs (from Nobuhiro Itou) 2007-05-18 09:13:06 -04:00
Daniel P. Berrange
911f781687 Merge heads 2007-05-11 10:40:24 -04:00
Daniel P. Berrange
40ead4dc50 Fix typo / remove redundant check for vnc disconnect (Charles Coffing) 2007-05-11 10:27:15 -04:00
Daniel P. Berrange
d4b39a5fff Remove bogus backup file 2007-05-11 10:26:16 -04:00
Hugh O. Brock
8be833ae6a Fixes bz 235914, which is a minor grammar nit but probably valid 2007-05-10 15:03:26 -04:00
Daniel P. Berrange
bccf2ff557 Refresh po files from Fedora i18n community 2007-05-09 14:15:33 -04:00
Hugh O. Brock
5bfcdefe8c Make NIC numbering in the details pane show something useful (in this case, the tail end of the MAC address) 2007-05-01 17:55:44 -04:00
Hugh O. Brock
c01eb732c4 Allow removal of devices from inactive domains. Requires rewriting the XML and redefining the domain. To work on xen 3.0.3 userland, also requires libvirt patch to xm_internal.c. 2007-05-01 16:22:22 -04:00
Hugh O. Brock
21d090d6fa Fix NIC naming, make MAC address copy-and-pastable again 2007-04-25 17:51:42 -04:00
Hugh O. Brock
b6f4d007cd Fix toolbar check/uncheck in details window as well 2007-04-25 17:09:37 -04:00
Hugh O. Brock
ec1d6541de initial fix for 236777: make the toolbar show/hide button reflect reality. Next up, persist the value. 2007-04-25 17:03:55 -04:00
Hugh O. Brock
2257049c06 Pull createmeter out into its own class 2007-04-23 15:26:46 -04:00
Hugh O. Brock
3be8db49d3 Fix up empty combo boxes, non-working file dialogs, and a few other bugs. 2007-04-23 15:08:56 -04:00
Daniel P. Berrange
08ec2d9250 Fixed typo in network wizard 2007-04-16 11:31:48 -04:00
Daniel P. Berrange
4145c69dc7 Added tag RELEASE-0.4.0-1 for changeset bee4afe144ec 2007-04-16 09:31:34 -04:00
Daniel P. Berrange
1f2153117f Re-generate changelog 2007-04-16 09:27:07 -04:00
Daniel P. Berrange
6063fdaf40 Update info for new release 2007-04-16 09:26:48 -04:00
Daniel P. Berrange
0b8f973545 Merge heads 2007-04-15 13:52:35 -04:00
Daniel P. Berrange
0b9631419b Update OS type/variant code to deal with API changes in virtinst 2007-04-15 13:41:12 -04:00
Daniel P. Berrange
54f2a88ad5 Fixed use of net device names 2007-04-13 16:39:20 -04:00
Daniel P. Berrange
25902bfe27 Fixed thread locking in async job callback 2007-04-13 16:01:03 -04:00
Daniel P. Berrange
81007088f7 Automatically try to open a sensible default hypervisor connection 2007-04-12 19:43:31 -04:00
Daniel P. Berrange
1ca0ace807 Refresh POT files 2007-04-12 19:23:16 -04:00
Daniel P. Berrange
29df628d0b Clear up terminology around NAT + virtual networks 2007-04-12 19:21:21 -04:00
Daniel P. Berrange
ec4ced92d5 Added support for device hot-remove 2007-04-12 18:54:33 -04:00
Daniel P. Berrange
f1e8204440 Persist changes to device config when adding devices. Disable hotplug for dom0 2007-04-12 17:50:22 -04:00
Daniel P. Berrange
d263695fa4 Pull add hardware functionality out into separate popup window to simplify state management in details window. Implemenet adding of disks 2007-04-12 15:36:04 -04:00
Daniel P. Berrange
b75b7eb57f Added missing gobject registration call 2007-04-12 15:35:09 -04:00
Daniel P. Berrange
c10f9f3880 Make shared NIC detection work with Xen netloop crack 2007-04-12 15:34:28 -04:00
Daniel P. Berrange
beb61debeb Merge heads 2007-04-12 12:12:47 -04:00
Daniel P. Berrange
574eb462d3 Set sensible default directories for save/restore/create 2007-04-12 11:46:51 -04:00
Hugh O. Brock
a4f2c19a1d First cut at vbd/vnic add/remove. You can now add a vnic, and the screens update every tick(). Adding a vbd almost works, still have to work out the device node naming. Finally, nothing works for inactive guests yet. 2007-04-11 14:48:36 -04:00
Daniel P. Berrange
b420fba295 Added error reporting around VM start operation 2007-04-10 19:07:53 -04:00
Daniel P. Berrange
2e76a96c75 Make sure scrolled window requests at least 400 pixels width to avoid line wrapping error message 2007-04-10 19:07:40 -04:00
Daniel P. Berrange
58d5b41236 Friendlier error messages when creating guests 2007-04-10 18:50:04 -04:00
Daniel P. Berrange
578cda6169 Disable creation of networks for non-root 2007-04-10 18:47:05 -04:00
Daniel P. Berrange
eb68f9321f Added code to detect 'shared' physical NICs 2007-04-10 18:27:37 -04:00
Daniel P. Berrange
a389933464 Added signals for network devices& fix creation of virtual networks from UI 2007-04-04 10:56:10 -04:00
Daniel P. Berrange
17a1dac0ce Hooked up stop/start/delete buttons for networking. Detect & signal start/stop events for network 2007-04-03 14:01:45 -04:00
Daniel P. Berrange
5896f50067 Removed print debugging 2007-03-30 17:03:27 -04:00
Daniel P. Berrange
43e47714d9 Formatting changes to network page 2007-03-30 17:02:50 -04:00
Daniel P. Berrange
ec835019dd Added some icons for state/autostart/forwarding info 2007-03-30 15:03:26 -04:00