Displaying 3 results from an estimated 3 matches for "nodefaultsect".
2017 Jul 18
0
[PATCH v2 1/2] v2v: bootloaders: Handle no Bootloader::Tools default section (RHBZ#1472208).
...InitLibrary();
- my $default = Bootloader::Tools::GetDefaultSection();
- print $default->{image};
+ my $default = Bootloader::Tools::GetDefaultSection ();
+ if (!defined $default) {
+ print 'NODEFAULTSECTION'
+ }
+ elsif (exists $default->{image}) {
+ print $default->{image}
+ }
+ else {
+ die 'no $default->{image}' # should never happen
+ }...
2017 Jul 18
4
[PATCH v2 0/2] v2v: Add slow tests of opensuse 13.1, 13.2 and 42.1
v1 was:
https://www.redhat.com/archives/libguestfs/2017-July/msg00154.html
There is no change in the first patch, but I added a second patch
adding slow tests of opensuse guests (which pass, but require the
first patch).
Rich.
2017 Jul 18
3
[PATCH] v2v: bootloaders: Handle no Bootloader::Tools default section (RHBZ#1472208).
...InitLibrary();
- my $default = Bootloader::Tools::GetDefaultSection();
- print $default->{image};
+ my $default = Bootloader::Tools::GetDefaultSection ();
+ if (!defined $default) {
+ print 'NODEFAULTSECTION'
+ }
+ elsif (exists $default->{image}) {
+ print $default->{image}
+ }
+ else {
+ die 'no $default->{image}' # should never happen
+ }...