[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 22/24] xsplice/xen_replace_world: Test-case for XSPLICE_ACTION_REPLACE



On 07/04/16 04:49, Konrad Rzeszutek Wilk wrote:
> With this third payload one can do:
>
> -bash-4.1# xen-xsplice load xen_hello_world.xsplice
> Uploading xen_hello_world.xsplice (10148 bytes)
> Performing check: completed
> Performing apply:. completed
>
> [xen_hello_world depends on hypervisor build-id]
> -bash-4.1# xen-xsplice load xen_bye_world.xsplice
> Uploading xen_bye_world.xsplice (7076 bytes)
> Performing check: completed
> Performing apply:. completed
> [xen_bye_world depends on xen_hello_world build-id]
> -bash-4.1# xen-xsplice upload xen_replace_world xen_replace_world.xsplice
> Uploading xen_replace_world.xsplice (7148 bytes)
> -bash-4.1# xen-xsplice list
>  ID                                     | status
> ----------------------------------------+------------
> xen_hello_world                         | APPLIED
> xen_bye_world                           | APPLIED
> xen_replace_world                       | CHECKED
> -bash-4.1# xen-xsplice replace xen_replace_world
> Performing replace:. completed
> -bash-4.1# xl info | grep extra
> xen_extra              : Hello Again World!
> -bash-4.1# xen-xsplice list
>  ID                                     | status
> ----------------------------------------+------------
> xen_hello_world                         | CHECKED
> xen_bye_world                           | CHECKED
> xen_replace_world                       | APPLIED
>
> and revert both of the previous payloads and apply
> the xen_replace_world.
>
> All the magic of this is in the Makefile - we extract
> the build-id from the hypervisor (xen-syms) and jam it
> in the xen_replace_world as .xsplice.depends.
>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>

Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.