Re: [libvirt] [PATCH v4 0/2] qemu: -dtb option support

2013-03-13 Thread Yin Olivia-R63875
Hi Daniel,

Thank you very much for the guide.

Best Regards,
Olivia

> -Original Message-
> From: Daniel P. Berrange [mailto:berra...@redhat.com]
> Sent: Thursday, March 14, 2013 12:56 AM
> To: Yin Olivia-R63875
> Cc: libvir-list@redhat.com
> Subject: Re: [libvirt] [PATCH v4 0/2] qemu: -dtb option support
> 
> On Wed, Mar 13, 2013 at 12:35:53PM +0800, Olivia Yin wrote:
> > Sometime QEMU need load specific device tree binary images.
> > These patches provide -dtb option support and update docs/tests.
> >
> > Olivia Yin (2):
> >   qemu: add support for dtb option
> >   conf: Add support for dtb option in QEMU
> 
> I'm guessing you're running without apparmour/selinux enabled. You need to
> update the files in src/security to deal with the new dtb files, since
> they'll need labelling for the security policy. Just grep for 'os.initrd'
> in src/security and add the equivalent code for os.dtb. This can be done as
> a 3rd patch - no need to change the current 2 patches you have here
> 
> 
> Daniel
> --
> |: http://berrange.com  -o-
> http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org  -o- http://virt-
> manager.org :|
> |: http://autobuild.org   -o-
> http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-
> vnc :|


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH v4 0/2] qemu: -dtb option support

2013-03-13 Thread Daniel P. Berrange
On Wed, Mar 13, 2013 at 12:35:53PM +0800, Olivia Yin wrote:
> Sometime QEMU need load specific device tree binary images.
> These patches provide -dtb option support and update docs/tests.
> 
> Olivia Yin (2):
>   qemu: add support for dtb option
>   conf: Add support for dtb option in QEMU

I'm guessing you're running without apparmour/selinux enabled. You
need to update the files in src/security to deal with the new dtb
files, since they'll need labelling for the security policy. Just
grep for 'os.initrd' in src/security and add the equivalent code
for os.dtb. This can be done as a 3rd patch - no need to change
the current 2 patches you have here


Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [PATCH v4 0/2] qemu: -dtb option support

2013-03-12 Thread Olivia Yin
Sometime QEMU need load specific device tree binary images.
These patches provide -dtb option support and update docs/tests.

Olivia Yin (2):
  qemu: add support for dtb option
  conf: Add support for dtb option in QEMU

 src/qemu/qemu_capabilities.c |6 
 src/qemu/qemu_capabilities.h |1 +
 src/qemu/qemu_command.c  |6 
 tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args |1 +
 tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml  |   28 ++
 tests/qemuxml2argvtest.c |2 +
 docs/formatdomain.html.in|5 +
 docs/schemas/domaincommon.rng|5 +
 src/conf/domain_conf.c   |4 
 src/conf/domain_conf.h   |1 +

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list