• Since most IO devices are integrated into the 440EP chip, "Bamboo support"
    mostly entails implementing the -kernel, -initrd, and -append options.
    
    These options are implemented by loading the guest as if u-boot had done it,
    i.e. loading a flat device tree, updating it to hold initrd addresses, ram
    size, and command line, and passing the FDT address in r3.
    
    Since we use it with KVM, we enable the virtio block driver and include hooks
    necessary for KVM support.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6067 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • Wire up the system-on-chip devices present on 440EP chips.
    
    This patch is a little unusual in that qemu doesn't actually emulate the 440
    core, but we use this board code with KVM (which does). If/when 440 core
    emulation is supported, the kvm_enabled() hack can be removed.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6066 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • Implement hooks called by generic KVM code.
    
    Also add code that will copy the host's CPU and timebase frequencies to the
    guest, which is necessary on KVM because the guest can directly access the
    timebase.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Acked-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6065 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »
  • To implement the -kernel, -initrd, and -append options, 4xx board emulation
    must load the guest kernel as if firmware had loaded it. Where u-boot would be
    the firmware, we must load the flat device tree into memory and set key fields
    such as /chosen/bootargs.
    
    This patch introduces a dependency on libfdt for flat device tree support.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6064 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »