On 07/07/2017 12:47 PM, Andrea Bolognani wrote: > On Mon, 2017-06-26 at 14:01 -0400, Cole Robinson wrote: >> Drew pointed out that we can use -chardev with machvirt platform >> serial devices like: >> >> -chardev pty,id=foo >> -serial chardev:foo >> >> And indeed it looks like qemu has supported this for as long as -chardev >> has been around. Wiring this up will enable all the modern -chardev >> features for every machvirt config (and some other arch/machine types). >> >> However just enabling that change is going to cause a lot of unneeded >> test suite churn, due to the fact that some code is still checking for >> qemu -chardev support, even though our minimum qemu version always has >> chardev nowadays. So take the opportunity to exorcise QEMU_CAPS_CHARDEV >> >> * Patch 1 reverts Christopher's recent patch, to unbreak existing configs >> * Patch 2-3 make pci-serial work for machvirt and demonstrate it with a >> test suite change. >> * Patch 4-10 slowly strip out QEMU_CAPS_DEVICE >> * Patch 11 adds -chardev support for platform serial devices >> * Patch 12 is a cleanup > > Things that I forgot to mention during review: > > * patch 11/12 fixes [1], a fact that should be mentioned > in the commit message; > > * you need to update the release notes as well. > > Thanks for taking on this! :) > Thanks for the review :) I've pushed the series with (hopefully) all your comments addressed, minus the bit I mentioned in patch #10. I'll send follow up patches for news and dropping unused qemuCaps Thanks, Cole -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list