|
| From: | Christian Borntraeger |
| Subject: | Re: [Qemu-devel] [PATCH v3 2/3] pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS |
| Date: | Wed, 25 Apr 2018 14:18:59 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 04/25/2018 11:08 AM, Thomas Huth wrote:
> --- a/pc-bios/s390-ccw/netmain.c
> +++ b/pc-bios/s390-ccw/netmain.c
> @@ -283,6 +283,15 @@ void panic(const char *string)
> }
> }
>
> +void write_subsystem_identification(void)
> +{
> + uint32_t *schid = (uint32_t *) 184;
> + uint32_t *zeroes = (uint32_t *) 188;
> +
> + *schid = 0; /* We must not set this for virtio-net */
> + *zeroes = 0;
> +}
> +
I think we actually want to have the CCW devno of that network device
stored. It has some value to know which CCW device we bootet from, no?
| [Prev in Thread] | Current Thread | [Next in Thread] |