On 19 January 2018 at 15:24, Peter Maydell <[email protected]> wrote:
> On 19 January 2018 at 14:35, Marc-Andre Lureau <[email protected]> wrote:
>> I have not found how to translate a python 'buffer' to a bytes string
>> in 2.6.
>
> A local python expert suggests that "bytes(buffer)" should work.

...and that it ought to work if handed a memoryview too, so do we
just want

   self.elf.add_vmcoreinfo_note(bytes(vmcoreinfo))

?

thanks
-- PMM

Reply via email to