Exemplo n.º 1
0
    def render_text(self, outfd, data):

        header = data.get_header()

        outfd.write("Magic: {0:#x}\n".format(header.u32Magic))
        outfd.write("Format: {0:#x}\n".format(header.u32FmtVersion))
        outfd.write("VirtualBox {0}.{1}.{2} (revision {3})\n".format(
            header.Major, header.Minor, header.Build, header.u32VBoxRevision))
        outfd.write("CPUs: {0}\n\n".format(header.cCpus))

        Command.render_text(outfd, data)
Exemplo n.º 2
0
    def render_text(self, outfd, data):

        header = data.get_header()

        outfd.write("Magic: {0:#x}\n".format(header.u32Magic))
        outfd.write("Format: {0:#x}\n".format(header.u32FmtVersion))
        outfd.write("VirtualBox {0}.{1}.{2} (revision {3})\n".format(
                header.Major,
                header.Minor, header.Build,
                header.u32VBoxRevision))
        outfd.write("CPUs: {0}\n\n".format(header.cCpus))

        Command.render_text(self, outfd, data)
Exemplo n.º 3
0
 def render_text(self, outfd, data):
     Command.render_text(self, outfd, data)
Exemplo n.º 4
0
 def render_text(self, outfd, data):
     Command.render_text(self, outfd, data)