hw/hyperv/vmbus: Is it maintained?
v4 cover hw/hyperv/vmbus: Is it maintained?
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
$ ./scripts/get_maintainer.pl -f hw/hyperv/vmbus.c -f include/hw/hyperv/vmbus.h get_maintainer.pl: No maintainers found
Philippe Mathieu-Daudé (1):
hw/hyperv/vmbus: Remove unused vmbus_load/save_req()
include/hw/hyperv/vmbus.h | 3 -- hw/hyperv/vmbus.c | 59 --------------------------------------- 2 files changed, 62 deletions(-)
Signature · 1 line
2.31.1
PATCH v4 1/1 hw/hyperv/vmbus: Remove unused vmbus_load/save_req()
vmbus_save_req() and vmbus_load_req() are not used. Remove them to avoid maintaining dead code.
This partially reverts commit 4dd8a7064b8a6527f99a62be11 ("vmbus: add infrastructure to save/load vmbus requests").
--- include/hw/hyperv/vmbus.h | 3 -- hw/hyperv/vmbus.c | 59 --------------------------------------- 2 files changed, 62 deletions(-)
include/hw/hyperv/vmbus.h +0 -3
@@ -223,7 +223,4 @@ int vmbus_map_sgl(VMBusChanReq *req, DMADirection dir, struct iovec *iov,void vmbus_unmap_sgl (VMBusChanReq *req,DMADirection dir,struct iovec *iov,unsigned iov_cnt,size_t accessed); -void vmbus_save_req (QEMUFile *f,VMBusChanReq *req); -void *vmbus_load_req (QEMUFile *f,VMBusDevice *dev,uint32_t size); -#endif
hw/hyperv/vmbus.c +0 -59
65 lines not on this page · raw message
Signature · 1 line
2.31.1
Quoted 5 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
$ ./scripts/get_maintainer.pl -f hw/hyperv/vmbus.c -f include/hw/hyperv/vmbus.h get_maintainer.pl: No maintainers found
There's an email thread at [1] explaining the reasons for having VMBus infrastructure last time such question was asked.
In short: mere presence of a working VMBus is needed for some high-speed Windows debugging, also people are working on VMBus host device drivers.
Your patch makes sense to me, so for it:
Thanks,
Maciej
[1]: https://lore.kernel.org/qemu-devel/[email protected]/T/#u
Quoted 8 lines · Maciej S. Szmigiero
Quoted 6 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
$ ./scripts/get_maintainer.pl -f hw/hyperv/vmbus.c -f include/hw/hyperv/vmbus.h get_maintainer.pl: No maintainers found
Quoted 5 lines
There's an email thread at [1] explaining the reasons for having VMBus infrastructure last time such question was asked.
In short: mere presence of a working VMBus is needed for some high-speed Windows debugging, also people are working on VMBus host device drivers.
Great. Do you mind adding an entry in MAINTAINERS to cover these files, so we stop wondering about them?
Quoted 2 lines
Your patch makes sense to me, so for it:
Reviewed-by Maciej S. Szmigiero <[email protected]>
Thank you.
Quoted 3 lines
[1]:
https://lore.kernel.org/qemu-devel/[email protected]/T/#u
Quoted 9 lines · Philippe Mathieu-Daudé
Quoted 8 lines · Maciej S. Szmigiero
Quoted 6 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
$ ./scripts/get_maintainer.pl -f hw/hyperv/vmbus.c -f include/hw/hyperv/vmbus.h get_maintainer.pl: No maintainers found
Quoted 9 lines
Quoted 5 lines
There's an email thread at [1] explaining the reasons for having VMBus infrastructure last time such question was asked.
In short: mere presence of a working VMBus is needed for some high-speed Windows debugging, also people are working on VMBus host device drivers.
Great. Do you mind adding an entry in
MAINTAINERSto cover these files, so we stop wondering about them?
I will submit a patch next week adding myself as a reviewer of VMBus code so there is at least some contact point for incoming patches.
We'll see whether the code still gets just a random patch a few times a year or whether it requires a permanent maintainer to take care of it.
Thanks,
Maciej
Add Den and Roman (his new address)
Quoted 13 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
$ ./scripts/get_maintainer.pl -f hw/hyperv/vmbus.c -f include/hw/hyperv/vmbus.h get_maintainer.pl: No maintainers foundPhilippe Mathieu-Daudé (1):
hw/hyperv/vmbus: Remove unused vmbus_load/save_req()include/hw/hyperv/vmbus.h | 3 -- hw/hyperv/vmbus.c | 59 --------------------------------------- 2 files changed, 62 deletions(-)
Signature · 2 lines
Best regards, Vladimir
Quoted 1 line · Vladimir Sementsov-Ogievskiy
Add Den and Roman (his new address)
Thanks, I missed it on the list indeed.
Quoted 3 lines
Quoted 2 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
I think it's fair to say it's not maintained. The whole hw/hyperv/vmbus.c was submitted as a part of the work by Jon to enable some obscure windows debugging feature which only worked in presence of VMBus. It was mostly taken from the respective branch of the (now effectively abandoned) downstream tree with an implementation of the core VMBus infrastructure and the devices using it; however, none of the actual VMBus devices ever made it into the mainline tree.
Quoted 10 lines
Quoted 10 lines
$ ./scripts/get_maintainer.pl -f hw/hyperv/vmbus.c -f include/hw/hyperv/vmbus.h get_maintainer.pl: No maintainers foundPhilippe Mathieu-Daudé (1):
hw/hyperv/vmbus: Remove unused vmbus_load/save_req()include/hw/hyperv/vmbus.h | 3 -- hw/hyperv/vmbus.c | 59 --------------------------------------- 2 files changed, 62 deletions(-)
This seems to basically be the revert of 4dd8a7064b "vmbus: add infrastructure to save/load vmbus requests"; it was originally meant to be submitted with the code that would use it, vmbus scsi controller, but that never happened. It believe it's safe to remove without affecting Jon's work, but I'd rather check with him.
Thanks,
Roman.
Quoted 9 lines · Roman Kagan
Quoted 1 line · Vladimir Sementsov-Ogievskiy
Add Den and Roman (his new address)
Thanks, I missed it on the list indeed.
Quoted 3 lines
Quoted 2 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
Quoted 8 lines
I think it's fair to say it's not maintained. The whole
hw/hyperv/vmbus.cwas submitted as a part of the work by Jon to enable some obscure windows debugging feature which only worked in presence of VMBus. It was mostly taken from the respective branch of the (now effectively abandoned) downstream tree with an implementation of the core VMBus infrastructure and the devices using it; however, none of the actual VMBus devices ever made it into the mainline tree.
The VMBus code works fine, is mostly self-contained and by being a part of the upstream QEMU it does benefit from any improvements done there and so it is much less likely to bit-rot with time.
I am still committed to upstreaming a Hyper-V Dynamic Memory Protocol driver (which uses VMBus), however had been preempted by higher-priority work for now.
Thanks,
Maciej
Quoted 23 lines · Maciej S. Szmigiero
Quoted 9 lines · Roman Kagan
Quoted 1 line · Vladimir Sementsov-Ogievskiy
Add Den and Roman (his new address)
Thanks, I missed it on the list indeed.
Quoted 3 lines
Quoted 2 lines · Philippe Mathieu-Daudé
This is the 4th time I send this patch. Is the VMBus infrastructure used / maintained? Should we deprecate & remove?
Quoted 8 lines
I think it's fair to say it's not maintained. The whole
hw/hyperv/vmbus.cwas submitted as a part of the work by Jon to enable some obscure windows debugging feature which only worked in presence of VMBus. It was mostly taken from the respective branch of the (now effectively abandoned) downstream tree with an implementation of the core VMBus infrastructure and the devices using it; however, none of the actual VMBus devices ever made it into the mainline tree.The VMBus code works fine, is mostly self-contained and by being a part of the upstream QEMU it does benefit from any improvements done there and so it is much less likely to bit-rot with time.
Quoted 6 lines
I am still committed to upstreaming a Hyper-V Dynamic Memory Protocol driver (which uses VMBus), however had been preempted by higher-priority work for now.
Thanks,
Maciej
Hi guys,
Sorry for the late reply, like Roman I also never got to submit the RFC for the Synth debugger device which requires the VMBus, I do hope to get to it at some point and VMBus is a required part for it.
In the last year or so I have not had much time to spend on this but I do hope to get back to finishing what I have started.
I'm not really sure I have the time or knowledge to maintain VMBus :( but I'll do my best to answer any questions as well.
-- Jon.