search for: immut

Displaying 20 results from an estimated 664 matches for "immut".

Did you mean: imput
2018 Sep 03
2
Immutable backing files
Hi list, suppose I have an immutable (ie: due to a read-only snapshot) backing file. After creating an overlay file with "qemu-img create -f qcow2 -o backing_file=/path/to/immutable/file.img current.qcow2", libvirt refuse to start the virtual machine and exits with an error stating "Could not open backing file /...
2013 Jul 03
2
[LLVMdev] CallGraph in immutable pass
Hello, is there any way I can access CallGraph from immutable pass via getAnalysis? As I understand it, this may not be possible, because immutable pass don't have runOn method and is never actually planned. But I'm not 100% sure how this works, so I don't know if there is some other way. Thanks, Robert Barucak
2014 Oct 24
1
Specify hard disk type (immutable) in the domain.xml file
P { margin-bottom: 0.21cm; }Hi! I'm using libvirt withVirtual Box. I have installed libvirt 0.10.2 and Virtual Box 4.1. I want to use "virsh define"to define my Virtual Box virtual machine. My question is: In my domain.xml, how can Ispecify that my hard disk is of type immutable/ multi attach etc. Can I use som kind oftag or attribute, something like this: <disk type='file'device='disk'> <sourcefile='/path/to/my/file.vdi'/> <target dev='hda'bus='ide'/> <type>immutable</type> </disk> In the dom...
2018 Sep 06
2
Re: Immutable backing files
On Tue, Sep 04, 2018 at 17:32:49 +0200, Gionatan Danti wrote: > Il 03-09-2018 13:14 Gionatan Danti ha scritto: > > Hi list, > > suppose I have an immutable (ie: due to a read-only snapshot) backing > > file. > > > > After creating an overlay file with "qemu-img create -f qcow2 -o > > backing_file=/path/to/immutable/file.img current.qcow2", libvirt > > refuse to start the virtual machine and exits with an er...
2006 May 08
6
how to make field in model immutable after create
...one! I want to have login field in User model which is set only once (on create), and then it should fail validation if the value is changed. How can I do this? I dig around for validation and tried def after_validation_on_update unless User.find_by_login(:login) errors.add(:login, "is immutable. You can''t change it") end end in model, but somewhat it doesn''t work. Any hints on how can I make field immutable after create? Peace, olegf
2018 Sep 04
0
Re: Immutable backing files
Il 03-09-2018 13:14 Gionatan Danti ha scritto: > Hi list, > suppose I have an immutable (ie: due to a read-only snapshot) backing > file. > > After creating an overlay file with "qemu-img create -f qcow2 -o > backing_file=/path/to/immutable/file.img current.qcow2", libvirt > refuse to start the virtual machine and exits with an error stating > "C...
2019 Sep 23
0
warnung: base variable (battery.runtime.low) is immutable
..., I am using the NUT Software 2.7.4 (Ubuntu Repository) on Ubuntu 18.04. Configuring a UPS with the snmp-ups driver and overriding the battery.runtime.low variable leads to following warnung/error: Sep 23 11:10:08 hostname snmp-ups[27115]: dstate_setflags: base variable (battery.runtime.low) is immutable Default for battery.runtime.low is 180 seconds. My idea is to increase the value to 420 seconds. Although I get the warnung/error, in the output of upsc the variable is set to the desired value: # upsc USV at hostname battery.charge: 100.00 battery.current: 0.00 battery.runtime: 18120.00 ba...
2013 Jul 03
0
[LLVMdev] CallGraph in immutable pass
Your understanding is correct -- this is impossible. What are you really trying to do? On Jul 3, 2013 9:15 AM, "Robert Baručák" <xbaruc00 at stud.fit.vutbr.cz> wrote: > Hello, > is there any way I can access CallGraph from immutable pass via > getAnalysis? > As I understand it, this may not be possible, because immutable pass don't > have runOn method and is never actually planned. But I'm not 100% sure how > this works, so I don't know if there is some other way. > Thanks, > Robert Barucak &g...
2013 Jul 04
1
[LLVMdev] CallGraph in immutable pass
...> really trying to do? > I'm working on implementation of some fancier alias analysis algorithm. I have experienced strange behavior when I registered my AA (as module pass) into AA group. Somehow I was unable to get correct DataLayout from AA interface. So I wanted to try to make it immutable, just like other AA implementations. Anyway, thanks for clarification.
2002 Feb 08
1
If the .journal file is marked 'immutable' how is data written to it
...e created to this file and no data can be written to the file. Only the superuser can set or clear this attribute The .journal file has the following properties ---i-d------- ../.journal As such, I am confused as to how data to the journal can be written, does ext3 internal clear/reset the immutable flag before all writes to the journal -- Yusuf Goolamabbas yusufg@outblaze.com
2006 Jan 19
3
ownership of authorized_keys
...sshd_config setting: AuthorizedKeysFile /etc/ssh/authorized_keys/%u But even in that case that file has to be owned by the user, unless I set ``StrictModes no'' which would allow other nastyness. I would like to request that that file could also be owned by root, so I can make that file immutable for the user, even on filesystems which don't support the immutable flag, for example jfs on GNU/Linux. # Han -- \ / The two things that can get you into trouble quicker than )\__/( anything else are fast women and slow horses. |(oO)| \||/ Ts (OO) +vVv--...
2016 Mar 11
1
virt-sysprep and immutable files
Greetings, I attempted to use virt-sysprep however it failed because the .ssh/authorized_keys file of a user had been (purposely) set immutable. Would this be considered a bug? An obvious work around would be not to clone vms with such files of course. Many thanks, Nick
2017 Oct 01
2
Is ArrayRef supposed to be immutable?
It wraps a constant T* and a size_t, so I'm surprised std::sort works. It shouldn't. On Sep 30, 2017 5:22 PM, "Daniel Berlin via llvm-dev" < llvm-dev at lists.llvm.org> wrote: It seems like ArrayRefs are supposed to be immutable ( However, as far as i can tell, the iterators are defined wrong to make this true. While ArrayRef<int> Foo(Something); Foo[0] = 5; will give a compile time error. something like: ArrayRef<int> Foo(Something); std::sort(Foo.begin(), Foo.end()); Will work fine. Is this expected...
2003 Sep 08
6
No nonodump...
I'm not sure where else to ask about this, so please excuse me if this is the wrong forum. In trying to remove a 'nodump' flag on a directory with the 'chflags' command I have noticed that the 'nonodump' flag does not function. I see an open PR for the problem: o [2003/01/09] i386/46912 johan chflags nonodump fails I was wondering when this might be dealt with? Else is
2006 Mar 22
1
[LLVMdev] problem loading analysis results from Inliner pass
...: /home/mmccrack/lens/obj-llvm-darcslocal/../llvm-darcslocal/llvm/lib/VMCore/PassManagerT.h:426: > void llvm::PassManagerT<UnitType>::markPassUsed(const llvm::PassInfo*, > llvm::Pass*) [with UnitType = llvm::Module]: Assertion > `getAnalysisOrNullUp(P) && > dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass > available but not found! " "Perhaps this is a module pass requiring a > function pass?"' failed. > > Which is also unexpected. I think for now I will attempt to make my > pass work as Immutable, but I'...
2017 Oct 30
2
Status of llvm.invariant.{start|end}
Hi, >From LangRef, these intrinsics seems really useful for letting LLVM know about certain higher level immutability guarantee, e.g. for objects that are not allowed to be mutated after construction. However, it doesn't seem to work[1] and a quick code search suggests that there's not a single optimization pass that's currently using it for store to load forwarding, only very few that use it to...
2015 Jun 27
2
Driver macosx-ups failing on Yosemite
...UPS Tools - Mac OS X UPS meta-driver 1.0 (2.6.5-Unversioned directory) Warning: This is an experimental driver. Some features may not function correctly. 0.000000 debug level is '4' 0.000233 upsdrv_initups(): Power Sources blob: <CFArray 0x7ffd18605480 [0x7fff7443bed0]>{type = immutable, count = 1, values = ( 0 : <CFBasicHash 0x7ffd18605360 [0x7fff7443bed0]>{type = immutable dict, count = 10, entries => 0 : <CFString 0x7ffd18605800 [0x7fff7443bed0]>{contents = "Voltage"} = <CFNumber 0x4c9037 [0x7fff7443bed0]>{value = +19600, type = kCFNumberSIn...
2012 Dec 05
1
[LLVMdev] Non-immutable alias analysis
Hi, I wrote a module pass that uses Alias Analysis. For this reason I added AU.addRequired<AliasAnalysis>() to function getAnalysisUsage and used getAnalysis<AliasAnalysis>() in my pass. I tried a few types of alias analyses and I discovered that only alias analyses which are ImmutablePasses are returned using getAnalysis<AliasAnalysis>(). Moreover, when I added both ImmutablePass and FunctionPass, getAnalysis<AliasAnalysis>() returned the ImmutablePass while the FunctionPass did not even appear in the AA chain ( I assume it is because building the chain uses getA...
2018 Sep 06
0
Re: Immutable backing files
Il 06-09-2018 12:54 Peter Krempa ha scritto: > You forgot to specify the format of the backing file into the overlay > file (qemu-img option -F). Libvirt treats any unspecified format as raw > since it's not secure to do probing of the format. Hi, the immutable base file *was* a raw image. Then a qcow2 overlay was added, but the vm (which accesses the overlay file) only boot if the base file is writable. It would surprise me if a read-only raw image + qcow2 overlay is an unsupported configuration, so I feel I am missing something... Thanks. --...
2018 Sep 07
1
Re: Immutable backing files
...te: > Il 06-09-2018 12:54 Peter Krempa ha scritto: > > You forgot to specify the format of the backing file into the overlay > > file (qemu-img option -F). Libvirt treats any unspecified format as raw > > since it's not secure to do probing of the format. > > Hi, the immutable base file *was* a raw image. Then a qcow2 overlay was > added, but the vm (which accesses the overlay file) only boot if the base > file is writable. I suspect this is a permission problem. The backing file still needs to be accessed by the VM so libvirt should correctly relabel it (if p...