diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/ipxe/src/util/catrom.pl | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/ipxe/src/util/catrom.pl')
-rwxr-xr-x | qemu/roms/ipxe/src/util/catrom.pl | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/qemu/roms/ipxe/src/util/catrom.pl b/qemu/roms/ipxe/src/util/catrom.pl deleted file mode 100755 index da99d7b97..000000000 --- a/qemu/roms/ipxe/src/util/catrom.pl +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/perl -w - -use warnings; -use strict; - -use FindBin; -use lib "$FindBin::Bin"; -use Option::ROM qw ( :all ); - -my @romfiles = @ARGV - or die "Usage: $0 rom-file-1 rom-file-2 ... > multi-rom-file\n"; - -while ( my $romfile = shift @romfiles ) { - - # Read ROM file - my $rom = new Option::ROM; - $rom->load ( $romfile ); - - # Tag final image as non-final in all except the final ROM - if ( @romfiles ) { - my $image = $rom; - $image = $image->next_image() while $image->next_image(); - $image->pci_header->{last_image} &= ~PCI_LAST_IMAGE; - $image->fix_checksum(); - } - - # Write ROM file to STDOUT - $rom->save ( "-" ); -} |