Hi all,
I found that the HVM guest was often failed to create when I
repeated to create and destroy a HVM guest. The following message was
displayed.
Using config file "hvm.conf".
Error: (1, 'Internal error', 'Error constructing guest OS')
I also found the message of Xen as follows.
(XEN) xencomm_paddr_to_maddr: called with bad memory address: 0x1e5b0000 -
iip=a00000010006fe50
This is a bug in xencomm_copy_from_guest(). In this function,
because the condition of calling xencomm_copy_chunk_from() was wrong,
it was called in an invalid destination address.
The attached patch fixes it and also fixes xencomm_copy_to_guest().
Thanks,
KAZ