hw/9pfs: Move opt validation to FsDriver callback
This remove all conditional code from common code path andmake opt validation a FSDriver callback.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Merge remote-tracking branch 'qemu-kvm/memory/page_desc' into staging
vhost: avoid cpu_get_physical_page_desc()
This reaches into the innards of the memory core, which are beingchanged. Switch to a memory API version.
Signed-off-by: Avi Kivity <avi@redhat.com>
virtio-balloon: avoid cpu_get_physical_page_desc()
Merge remote-tracking branch 'aneesh/for-upstream' into staging
Set numa topology for max_cpus
qemu-kvm passes numa/SRAT topology information for smp_cpus to SeaBIOS. HoweverSeaBIOS always expects to setup max_cpus number of SRAT cpu entries(MaxCountCPUs variable in build_srat function of Seabios). When qemu-kvm runs...
virtio-console: Check if chardev backends available before calling into them
For the callback functions invoked by the virtio-serial-bus code, checkif we have chardev backends registered before we call into the chardevfunctions.
Signed-off-by: Amit Shah <amit.shah@redhat.com>...
virtio-console: Properly initialise class methods
The earlier code really was a hack: initialising class methods in anobject init function as noted by Anthony.
The motivation for that was to not have the virtio-serial-bus call intothe callback functions if there was no chardev backend registered....
virtio-serial-bus: Ports are expected to implement 'have_data' callback
There's no need to check if ports can accept any incoming data from theguest each time the guest sends data. Check if the port implements suchfunctionality during port initialisation....
hw/9pfs: iattr_valid flags are kernel internal flags map them to 9p values.
Kernel internal values can change, add protocol values for these constant anduse them.
View revisions
Also available in: Atom