search for: maxcpu

Displaying 4 results from an estimated 4 matches for "maxcpu".

Did you mean: maxcpus
2012 Nov 01
1
build error on CentOS 5
...lowing error when building libvirt 10.2 from source in CentOS 5: CC libvirt_util_la-processinfo.lo util/processinfo.c: In function 'virProcessInfoGetAffinity': util/processinfo.c:164: error: invalid operands to binary | The line in question is: 162 for (i = 0 ; i < maxcpu ; i++) 163 if (CPU_ISSET(i, &mask)) 164 VIR_USE_CPU(map, i); Where VIR_USE_CPU is defined as the following in libvirt.h: #define VIR_USE_CPU(cpumap,cpu) (cpumap[(cpu)/8] |= (1<<((cpu)%8))) I have glibc 2.5 installed, which is why CPU_ALLOC is undefined (add...
2013 Oct 28
0
Re: [Qemu-devel] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching
...l_adr_dword/g'' > $@.tmp > + $(call move-if-changed,$@.tmp $@) > > # NB. awk invocation is a portable alternative to ''head -n -1'' > dsdt_%cpu.asl: dsdt.asl mk_dsdt > - awk ''NR > 1 {print s} {s=$$0}'' $< > $@ > - ./mk_dsdt --maxcpu $* >> $@ > + awk ''NR > 1 {print s} {s=$$0}'' $< > $@.tmp > + sed -i ''s/AmlCode/dsdt_$*cpu/g'' $@.tmp > + ./mk_dsdt --maxcpu $* >> $@.tmp > + $(call move-if-changed,$@.tmp $@) > > -$(filter dsdt_%.c,$(C_SRC)): %.c: iasl %.as...
2013 Oct 28
5
FreeBSD PVH guest support
.../sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -90,7 +90,8 @@ extern struct pcpu __pcpu[]; /* AP uses this during bootstrap. Do not staticize. */ char *bootSTK; -static int bootAP; +int bootAP; +bool lapic_disabled = false; /* Free these after use */ void *bootstacks[MAXCPU]; @@ -122,9 +123,12 @@ u_long *ipi_rendezvous_counts[MAXCPU]; static u_long *ipi_hardclock_counts[MAXCPU]; #endif +int native_start_all_aps(void); + /* Default cpu_ops implementation. */ struct cpu_ops cpu_ops = { - .ipi_vectored = lapic_ipi_vectored + .ipi_vectored = lapic_ipi_vectored, + .s...
2009 Feb 22
2
The machdep.hyperthreading_allowed & ULE weirdness in 7.1
Hi Jeff, I have a single-CPU system with P4 HTT-enabled processor (7.1-RELEASE-p3), kernel compiled with SCHED_ULE. Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-RELEASE-p3 #0: