[PATCH 5.4] xen-netback: move removal of "hotplug-status" to the right place

2022-12-19 Thread Pratyush Yadav
#x27; when the vif is actually destroyed"). Remove "hotplug-status" in the same place as it is done on the upstream version to ensure unilateral re-connection of frontend continues to work. Fixes: 60e4e3198ce8 ("Revert "xen-netback: remove 'hotplug-status' once

Re: Xen Security Advisory 424 v1 (CVE-2022-42328,CVE-2022-42329) - Guests can trigger deadlock in Linux netback driver

2022-12-08 Thread Pratyush Yadav
ght thing to do, as was done before XSA-392 but it would be nice if someone else takes a look at this as well. > + ret = false; > } else { > if (skb_queue_empty(&queue->rx_queue)) > xenvif_update_needed_slots(queue, skb); >

Re: [PATCH v2 1/3] xen-blkback: Advertise feature-persistent as user requested

2022-09-02 Thread Pratyush Yadav
On 02/09/22 01:08PM, Juergen Gross wrote: > On 02.09.22 11:53, Pratyush Yadav wrote: > > On 31/08/22 04:58PM, SeongJae Park wrote: > > > The advertisement of the persistent grants feature (writing > > > 'feature-persistent' to xenbus) should mean not the dec

Re: [PATCH v2 1/3] xen-blkback: Advertise feature-persistent as user requested

2022-09-02 Thread Pratyush Yadav
On 31/08/22 04:58PM, SeongJae Park wrote: > The advertisement of the persistent grants feature (writing > 'feature-persistent' to xenbus) should mean not the decision for using > the feature but only the availability of the feature. However, commit > aac8a70db24b ("xen-blkback: add a parameter for

Re: [PATCH 1/2] xen-blkback: Advertise feature-persistent as user requested

2022-08-31 Thread Pratyush Yadav
Hi, On 25/08/22 04:15PM, SeongJae Park wrote: > Commit e94c6101e151 ("xen-blkback: Apply 'feature_persistent' parameter > when connect") made blkback to advertise its support of the persistent > grants feature only if the user sets the 'feature_persistent' parameter > of the driver and the fronten

Re: [PATCH 2/2] xen-blkfront: Advertise feature-persistent as user requested

2022-08-31 Thread Pratyush Yadav
On 25/08/22 04:15PM, SeongJae Park wrote: > Commit e94c6101e151 ("xen-blkback: Apply 'feature_persistent' parameter > when connect") made blkback to advertise its support of the persistent > grants feature only if the user sets the 'feature_persistent' parameter > of the driver and the frontend adv