Commit a940342
virtio-mem: mark device ready before registering callbacks in kdump mode
After the callbacks are registered we may immediately get a callback. So
mark the device ready before registering the callbacks.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20241204125444.1734652-10-david@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>1 parent 7ad4d1f commit a940342
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2648 | 2648 | | |
2649 | 2649 | | |
2650 | 2650 | | |
| 2651 | + | |
2651 | 2652 | | |
2652 | 2653 | | |
2653 | 2654 | | |
| |||
2729 | 2730 | | |
2730 | 2731 | | |
2731 | 2732 | | |
| 2733 | + | |
| 2734 | + | |
2732 | 2735 | | |
2733 | 2736 | | |
2734 | 2737 | | |
| |||
2870 | 2873 | | |
2871 | 2874 | | |
2872 | 2875 | | |
2873 | | - | |
2874 | | - | |
2875 | 2876 | | |
2876 | 2877 | | |
2877 | 2878 | | |
| |||
0 commit comments