[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen
From: |
Stefano Stabellini |
Subject: |
Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable. |
Date: |
Thu, 27 Jan 2011 12:03:49 +0000 |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Wed, 26 Jan 2011, Anthony Liguori wrote:
> > + xen_ctrl_version=410
> > + xen=yes
> > +
> > + # Xen 4.0.0
> > + elif (
> > + cat> $TMPC<<EOF
> > +#include<xenctrl.h>
> > +#include<xs.h>
> > +#include<stdint.h>
> > +#include<xen/hvm/hvm_info_table.h>
> > +#if !defined(HVM_MAX_VCPUS)
> > +# error HVM_MAX_VCPUS not defined
> > +#endif
> > +int main(void) {
> > + xs_daemon_open();
> > + xc_interface_open();
> > + xc_gnttab_open();
> > + xc_hvm_set_mem_type(0, 0, HVMMEM_ram_ro, 0, 0);
> > + return 0;
> > +}
> >
>
> Really? There's no VERSION #define? Can please fix this upstream so we
> don't have to do this forever.
Yeah, it is a bit of a shame but there isn't an #define VERSION in
xenctrl.h.
If we introduce it now, the first Xen release to have it is going to be
4.1.
- Re: [Qemu-devel] [PATCH V9 05/16] xen: Add xen_machine_fv, (continued)
- [Qemu-devel] [PATCH V9 13/16] vl.c: Introduce getter for shutdown_requested and reset_requested., anthony . perard, 2011/01/25
- [Qemu-devel] [PATCH V9 15/16] xen: Set running state in xenstore., anthony . perard, 2011/01/25
- [Qemu-devel] [PATCH V9 08/16] piix_pci: Introduces Xen specific call for irq., anthony . perard, 2011/01/25
- [Qemu-devel] [PATCH V9 14/16] xen: Initialize event channels and io rings, anthony . perard, 2011/01/25
- [Qemu-devel] [PATCH V9 12/16] Introduce qemu_ram_ptr_unlock., anthony . perard, 2011/01/25
- [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable., anthony . perard, 2011/01/25
- Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable., Anthony PERARD, 2011/01/27
[Qemu-devel] [PATCH V9 16/16] acpi-piix4: Add Xen hypercall for sleep state., anthony . perard, 2011/01/25
Re: [Qemu-devel] [PATCH V9 16/16] acpi-piix4: Add Xen hypercall for sleep state., Anthony Liguori, 2011/01/26
[Qemu-devel] [PATCH V9 10/16] xen: Introduce the Xen mapcache, anthony . perard, 2011/01/25