- Jun 18, 2012
-
-
Anthony Liguori authored
This makes it easier to remove it from BusInfo. Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> [AF: Drop now unnecessary NULL initialization in scsibus_get_dev_path()] Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
Instead, qdev_property_add_static can set the default. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Anthony Liguori <aliguori@us.ibm.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
Now that global properties do not depend on buses anymore, set them directly in the device instance_init function. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
In qdev, each bus in practice identified an abstract superclass, but this was mostly hidden. In QOM, instead, these abstract classes are explicit so we can move bus properties there. All bus property walks are removed, and all device property walks are changed to look along the class hierarchy instead. We would have duplicates if class A defines some properties and its subclass B does not define any, because class_b->props will be left equal to class_a->props. The solution here is to reintroduce the class_base_init TypeInfo callback, that was present in one of the early QOM versions but removed (on my request...) before committing. This breaks global bus properties, an obscure feature when used with the command-line which is actually useful and used when used by backwards-compatible machine types. So this patch also adjusts the global bus properties in hw/pc_piix.c to refer to the abstract class. Globals and other properties must be modified in the same patch to avoid complications related to initialization ordering. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
Simple code movement in order to simplify future refactoring. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
Now that Object is a type, add an instance_init function and push the "type" property from qdev to there. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Andreas Färber authored
Resolves a name conflict with the qdev "type" property that is about to be moved to Object. Signed-off-by:
Andreas Färber <afaerber@suse.de> Acked-by:
Mark Langsdorf <mark.langsdorf@calxeda.com>
-
Paolo Bonzini authored
This resolves a name conflict with the qdev "type" property that is about to move into Object. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> [AF: Add braces missing in original code.] Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
This protects against unwanted effects of changing TYPE_OBJECT from NULL to a string. Suggested-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
It's unused. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
Right now the base Object class has a special NULL type. Change this so that we will be able to add class_init and class_base_init callbacks. To do this, remove some special casing of ObjectClass that is not really necessary. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
The class_base_init TypeInfo callback was present in one of the early QOM versions but removed (on my request...) before committing. We will need it soon, add it. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Anthony Liguori <aliguori@us.ibm.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Paolo Bonzini authored
A utility function that will be used to implement hierarchical realization. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Anthony Liguori <aliguori@us.ibm.com> [AF: Drop unrelated whitespace change, add Returns: in documentation] [AF: Use new object_property_is_child() helper.] Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
Andreas Färber authored
Avoids hardcoding partial string comparisons. Signed-off-by:
Alexander Barabash <alexander_barabash@mentor.com> Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Paolo Bonzini authored
This simple bit of functionality was missing and we'll need it soon, so add it. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Anthony Liguori <aliguori@us.ibm.com> [AF: Document possible NULL return value] Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
- Jun 15, 2012
-
-
malc authored
Signed-off-by:
malc <av1474@comtv.ru>
-
git://git.qemu.org/qemumalc authored
-
Kevin Wolf authored
Some gcc versions seem not to be able to figure out that the switch statement covers all possible values and that c is therefore always initialised. Add a default branch for them. Reported-by:
malc <av1474@comtv.ru> Signed-off-by:
Kevin Wolf <kwolf@redhat.com> Signed-off-by:
malc <av1474@comtv.ru>
-
Lars Persson authored
- The M-flag is encoded in different bits on cris v10 and cris v32. Signed-off-by:
Lars Persson <larper@axis.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed device name to xlnx,axi-dma. This is the exact name of the device in the Xilinx EDK development tools. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed device name to xlnx,axi-ethernet. This is the exact name of the device in the xilinx EDK development tools. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Even though the xilinx tools do have C_ on all params by default, drop this for consistency with all the other xilinx IP (I.E. param names are the xilinx names without the C_ prefix) Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed device name to xlnx,xps-ethernetlite. This is the exact name of the device in the xilinx EDK development tools. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed "txpingpong" prop to "tx-ping-pong". Same for rx. This is done to make the property name exactly match what is output by the xilinx tools for this IP. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed device name to xlnx,xps-intc. This is the exact name of the device in the xilinx EDK development tools. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed device name to xlnx,xps-timer. This is the exact name of the device in the xilinx EDK development tools. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
The configurable property for this IP in the Xilinx tools is a boolean switch "one-timer-only" that flicks this timer from being dual channel to single. Updated QEMU to work the same way for better match with the IP core and its TRM. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Added a reasonable default frequency for the xilinx timer (the 62MHz from s3adsp machine model). Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Changed device name to xlnx,xps-uartlite. This is the exact name of the device in the xilinx EDK development tools. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
The axidma irq orders are reversed in both the device model and the instantion. Undid both reversal (for no net change). Also needs to be reversed for consistency with Xilinx tools IRQ listing. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Andreas Färber authored
Speeds up the build. Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Andreas Färber authored
Add #ifdef to avoid complaint about use of poisoned "env". Signed-off-by:
Blue Swirl <blauwirbel@gmail.com> Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Andreas Färber authored
Speeds up the build. xilinx_ethlite uses tswap32() and is thus target-dependent. Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
- Jun 14, 2012
-
-
Edgar E. Iglesias authored
Still no retb Signed-off-by:
Edgar E. Iglesias <edgar@axis.com>
-
- Jun 11, 2012
-
-
Anthony Liguori authored
* qemu-kvm/uq/master: kvm: i8254: Fix conversion of in-kernel to userspace state kvm/apic: correct short memset
-
Anthony Liguori authored
* sstabellini/for_1.1.1: qemu/xendisk: set maximum number of grants to be used
-
Anthony Liguori authored
* afaerber-or/qom-cpu-3a: (27 commits) target-s390x: Pass S390CPU to s390_cpu_restart() s390-virtio: Let s390_cpu_addr2state() return S390CPU s390-virtio: Use cpu_s390x_init() to obtain S390CPU target-s390x: Let cpu_s390x_init() return S390CPU xen_machine_pv: Use cpu_x86_init() to obtain X86CPU arm_pic: Pass ARMCPU to arm_pic_init_cpu() arm_boot: Pass ARMCPU to arm_load_kernel() xilinx_zynq: Use cpu_arm_init() to obtain ARMCPU pxa2xx_gpio: Store ARMCPU in PXA2xxGPIOInfo pxa2xx_pic: Store ARMCPU in PXA2xxPICState pxa2xx: Pass ARMCPU to pxa2xx_pic_init() exynos4210: Use cpu_arm_init() to store ARMCPU vexpress: Use cpu_arm_init() to obtain ARMCPU realview: Use cpu_arm_init() to obtain ARMCPU arm_boot: Pass ARMCPU to arm_boot_info::secondary_cpu_reset_hook() arm_boot: Pass ARMCPU to arm_boot_info::write_secondary_boot() versatilepb: Use cpu_arm_init() to obtain ARMCPU musicpal: Use cpu_arm_init() to obtain ARMCPU integratorcp: Use cpu_arm_init() to obtain ARMCPU strongarm: Use cpu_arm_init() to store ARMCPU in StrongARMState ...
-
Anthony Liguori authored
* afaerber-or/qom-next-1: target-i386: Use uint32 visitor for [x]level properties qdev: Remove PropertyInfo range checking qdev: Switch property accessors to fixed-width visitor interfaces qdev: Use int32_t container for devfn property qapi: Add String visitor coverage to serialization unit tests qapi: String visitor, use %f representation for floats qapi: Unit tests for visitor-based serialization qapi: Add Visitor interfaces for uint*_t and int*_t
-
Anthony Liguori authored
* stefanha/trivial-patches: configure: report missing libraries for virtfs trace/simple.c: fix deprecated glib2 interface Clarify comments of tb_invalidate_phys_[page_]range
-
Anthony Liguori authored
* kraxel/usb.52: (37 commits) ehci: rework frame skipping ehci: adaptive wakeup rate. ehci: create ehci_update_frindex ehci: remove unused attach_poll_counter ehci: fix halt status handling ehci: update status bits in ehci_set_state ehci: add ehci_*_enabled() helpers ehci: fix reset ehci: kick async schedule on wakeup ehci: schedule async bh on async packet completion ehci: move async schedule to bottom half ehci: add async field to EHCIQueue ehci: tweak queue initialization ehci: add queuing support ehci: move ehci_flush_qh ehci: cache USBDevice in EHCIQueue ehci: make ehci_execute work on EHCIPacket instead of EHCIQueue ehci: add EHCIPacket xhci: trace: slots xhci: trace: transfers ...
-