search for: _configure_default_devices

Displaying 6 results from an estimated 6 matches for "_configure_default_devices".

2010 Feb 08
1
[PATCH] Converter: Prefer detected arch of OS if it's available
...my $arch_attr = $type->getAttributes()->getNamedItem('arch'); - $type->setAttribute('arch', $arch) unless(defined($arch_attr)); + # Set type/@arch based on the detected OS architecture + $type->setAttribute('arch', $arch) if (defined($arch)); } sub _configure_default_devices -- 1.6.6
2010 Apr 12
1
[PATCH] Converter: Update xvc0 console to ttyS0
...quot;; @@ -98,6 +99,7 @@ use constant KVM_XML_NOVIRTIO => " <video> <model type='cirrus' vram='9216' heads='1'/> </video> + <console type='pty'/> </devices> </domain> "; @@ -240,7 +242,8 @@ sub _configure_default_devices my ($input_devices) = $default_dom->findnodes('/domain/devices'); # Add new default devices from default XML - foreach my $input ($input_devices->findnodes('input | video | graphics')) { + foreach my $input ($input_devices->findnodes('input | video | &...
2010 Feb 19
2
[PATCH 1/2] Fix remapping of block devices
...e network and block drivers - _configure_drivers($dom, $virtio); + # Update storage devices and drivers + _configure_storage($dom, $devices, $virtio); + + # Configure network drivers + _configure_network($dom, $virtio); # Ensure guest has a standard set of default devices _configure_default_devices($dom, $default_dom); @@ -383,24 +394,65 @@ sub _unconfigure_bootloaders } } -sub _configure_drivers +sub _configure_storage { - my ($dom, $virtio) = @_; + my ($dom, $devices, $virtio) = @_; - # Convert disks - # N.B. <disk> is required to have a <target> element +...
2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
If a volume is not an exact multiple of 512 bytes, qemu-img will report its size rounded down to a 512 byte boundary. However, when copying, the file is still read until EOF, which will return more data than was expected. This change prevents that causing a failure in itself. The situation is still not resolved, however, as there are still situations where this will cause a failure. For example,
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from ESX with the following command line: virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64 Login details are stored in ~/.netrc Note that this is the only guest I've tested against. I haven't for example, checked that I haven't broken Xen imports. Matt [1] With the exception of
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
..._unconfigure_hvs($dom, $default_dom); - # Configure guest according to local hypervisor's capabilities - _configure_capabilities($dom, $vmm, $guestcaps); - # Remove any configuration related to a PV kernel bootloader _unconfigure_bootloaders($dom); @@ -264,115 +247,6 @@ sub _configure_default_devices } } -sub _configure_capabilities -{ - my ($dom, $vmm, $guestcaps) = @_; - - # Parse the capabilities of the connected libvirt - my $caps = new XML::DOM::Parser->parse($vmm->get_capabilities()); - - my $arch = $guestcaps->{arch}; - - (my $guestcap) = $caps->findnod...