----- Original Message -----
No, the parser code is not supposed to do semantic validation like
this. This kind of check should be done exclusively in the driver
code which forms the command line args for the hypervisors which
don't support it.
Oh, I just understand why there is no hypervisor type check in domain_conf.c.
I will move this check to qemuBuildCommandLine().
Thanks for your review.
Best wishes,
Jincheng Miao