qemu-s390x
[Top][All Lists]
Advanced

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

Re: [qemu-s390x] [PATCH v1 for-2.13 2/4] pc-bios/s390-ccw/net: Stop virt


From: Christian Borntraeger
Subject: Re: [qemu-s390x] [PATCH v1 for-2.13 2/4] pc-bios/s390-ccw/net: Stop virtio-net device before jumping into the OS
Date: Fri, 20 Apr 2018 09:25:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0


On 04/20/2018 08:31 AM, Thomas Huth wrote:
> On 19.04.2018 17:49, Christian Borntraeger wrote:
>> On 04/18/2018 02:31 PM, Thomas Huth wrote:
>>> The virtio-net receive buffers are filled asynchronously, so we should
>>> make sure to properly shut down the virtio-net device before we jump into
>>> the loaded kernel. Otherwise an incoming packet could destroy memory of
>>> the OS kernel if it did not re-initialize the virtio-net device fast
>>> enough yet.
>>
>> The normal bios does a full subsystem reset before we enter the OS.
>> (see jump_to_IPL_code the diag 308). That should reset all virtio 
>> devices on the qemu level. Shouldnt we rather do the same for
>> the net bios?
> 
> That should fix this issue, too, right. I'll give it a try and include
> it in v2 if I can make it work...

The advantage is that it also put the sclp console into a default state.
> 
>  Thomas
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]